aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/compat_strcasestr.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2017-02-03 17:56:59 +0000
committerIngo Schwarze <schwarze@openbsd.org>2017-02-03 17:56:59 +0000
commit402f80d3490ec5c23b61eb24899c3b54901f4532 (patch)
tree6a7aea3654f6aa66bd80763adb9b83f86d6bf532 /compat_strcasestr.c
parentbe74a9adcd217d08fca9c671962714d62da909d7 (diff)
downloadmandoc-402f80d3490ec5c23b61eb24899c3b54901f4532.tar.gz
mandoc-402f80d3490ec5c23b61eb24899c3b54901f4532.tar.zst
mandoc-402f80d3490ec5c23b61eb24899c3b54901f4532.zip
If an application parses multiple files with mparse_readfd(3) but
without using mparse_open(3) to open the files, and if one of the files includes a gzip'ed file with .so, then the gzip flag remains set and the next main file will be expected to be gzip'ed. Fix this by clearing the gzip flag in mparse_reset(3). Bug found and patch provided by Michael <Stapelberg at debian dot org>.
Diffstat (limited to 'compat_strcasestr.c')
0 files changed, 0 insertions, 0 deletions