1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/plugins/modules/packaging/os
patchback[bot] 1d07d6e3b5
openbsd_pkg: Fix regexp matching crash (#3161) (#3185)
When a package name contains special characters (e.g. "g++"), they are
interpreted as part of the regexp.

This can lead to a crash with an error in the python re module, for
instance with "g++":

    sre_constants.error: multiple repeat

Fix this by escaping the package name.

Co-authored-by: Baptiste Jonglez <git@bitsofnetworks.org>
(cherry picked from commit 56b5be0630)

Co-authored-by: zorun <github@bitsofnetworks.org>
2021-08-09 23:02:49 +02:00
..
apk.py
apt_repo.py
apt_rpm.py
copr.py
flatpak.py
flatpak_remote.py
homebrew.py
homebrew_cask.py
homebrew_tap.py
installp.py
layman.py
macports.py
mas.py
openbsd_pkg.py openbsd_pkg: Fix regexp matching crash (#3161) (#3185) 2021-08-09 23:02:49 +02:00
opkg.py
pacman.py pacman: fix changed status when ignorepkg has been defined (#2936) (#2944) 2021-07-07 06:53:34 +02:00
pkg5.py
pkg5_publisher.py
pkgin.py
pkgng.py
pkgutil.py
portage.py
portinstall.py
pulp_repo.py
redhat_subscription.py
rhn_channel.py
rhn_register.py
rhsm_release.py rhsm_release: Fix the issue that rhsm_release module considers 8, 7Client and 7Workstation as invalid releases (#2571) (#2605) 2021-05-24 20:28:22 +00:00
rhsm_repository.py
rpm_ostree_pkg.py
slackpkg.py
snap.py
sorcery.py
svr4pkg.py
swdepot.py
swupd.py
urpmi.py
xbps.py
yum_versionlock.py
zypper.py
zypper_repository.py zypper_repository: fix idempotency on adding repo with releasever and basearch variables (#2722) (#2752) 2021-06-08 08:47:11 +02:00