aboutsummaryrefslogtreecommitdiffstats
path: root/dirmngr/workqueue.c
diff options
context:
space:
mode:
authorNIIBE Yutaka <[email protected]>2017-11-09 05:03:22 +0000
committerNIIBE Yutaka <[email protected]>2017-12-04 10:26:49 +0000
commit0d0b9eb0d4f99e8d293a4ce4b90921a879905115 (patch)
tree907e526292246b47e436979a1366e6acc543fcd5 /dirmngr/workqueue.c
parentdoc: clarify that --encrypt refers to public key encryption (diff)
downloadgnupg-0d0b9eb0d4f99e8d293a4ce4b90921a879905115.tar.gz
gnupg-0d0b9eb0d4f99e8d293a4ce4b90921a879905115.zip
g10: Fix regexp sanitization.
* g10/trustdb.c (sanitize_regexp): Only escape operators. -- Backport from master commit: ccf3ba92087e79abdeaa0208795829b431c6f201 To sanitize a regular expression, quoting by backslash should be only done for defined characters. POSIX defines 12 characters including dot and backslash. Quoting other characters is wrong, in two ways; It may build an operator like: \b, \s, \w when using GNU library. Case ignored match doesn't work, because quoting lower letter means literally and no much to upper letter. GnuPG-bug-id: 2923 Co-authored-by: Damien Goutte-Gattat <[email protected]> Signed-off-by: NIIBE Yutaka <[email protected]>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions