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
patchback[bot] e6323433ff
openbsd_pkg: Fix regexp matching crash (#3161) (#3186)
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:10:03 +02:00
..
action fixed the utf-8 marker (#3162) (#3165) 2021-08-07 15:59:29 +02:00
become Update BOTMETA, fix some plugin authors, improve BOTMETA extra sanity test (#3069) (#3087) 2021-07-26 14:13:28 +02:00
cache fixed the utf-8 marker (#3162) (#3165) 2021-08-07 15:59:29 +02:00
callback fixed the utf-8 marker (#3162) (#3165) 2021-08-07 15:59:29 +02:00
connection fixed the utf-8 marker (#3162) (#3165) 2021-08-07 15:59:29 +02:00
doc_fragments fixed the utf-8 marker (#3162) (#3165) 2021-08-07 15:59:29 +02:00
filter fixed the utf-8 marker (#3162) (#3165) 2021-08-07 15:59:29 +02:00
inventory fixed the utf-8 marker (#3162) (#3165) 2021-08-07 15:59:29 +02:00
lookup mass-added the utf-8 marker (#3163) (#3170) 2021-08-08 11:48:54 +02:00
module_utils mass-added the utf-8 marker (#3163) (#3170) 2021-08-08 11:48:54 +02:00
modules openbsd_pkg: Fix regexp matching crash (#3161) (#3186) 2021-08-09 23:10:03 +02:00