diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2023-10-21 17:10:17 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2023-10-21 17:10:17 +0000 |
commit | 7e11f5e8dfe286f6fd2d23cfa92e265c9843be00 (patch) | |
tree | 70fb2bf273e51571f2f494733d5d1f3f1c8e8275 /compat_strlcpy.c | |
parent | e77baa02dded1d4e16cb73ce3aa50968acaa6021 (diff) | |
download | mandoc-7e11f5e8dfe286f6fd2d23cfa92e265c9843be00.tar.gz |
When parsing a macro argument results in delayed escape sequence
expansion, re-check for all contained escape sequences whether they
need delayed expansion, not just for the particular escape sequences
that triggered delayed expansion in the first place. This is needed
because delayed expansion can result in strings containing nested
escape sequences recursively needing delayed expansion, too.
This fixes an assertion failure in krb5_openlog(3), see:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=266882
Thanks to Wolfram Schneider <wosch at FreeBSD> for reporting the bug
and to Baptiste Daroussin <bapt at FreeBSD> for forwarding the report.
Diffstat (limited to 'compat_strlcpy.c')
0 files changed, 0 insertions, 0 deletions