summaryrefslogtreecommitdiffstats
path: root/usr.bin/mandoc/mdoc.c
diff options
context:
space:
mode:
authorschwarze <schwarze@openbsd.org>2014-07-06 18:36:49 +0000
committerschwarze <schwarze@openbsd.org>2014-07-06 18:36:49 +0000
commitea2385f76dcd07f16ccbc8d717da4168f71be5e8 (patch)
tree32ccf3a1b14f3da43eece62605777e463e9f969e /usr.bin/mandoc/mdoc.c
parentint all fields, so calloc can become malloc; ok miod@ (diff)
downloadwireguard-openbsd-ea2385f76dcd07f16ccbc8d717da4168f71be5e8.tar.xz
wireguard-openbsd-ea2385f76dcd07f16ccbc8d717da4168f71be5e8.zip
Fix handling of escape sequences taking numeric arguments.
* Repair detection of invalid delimiters. * Discard the invalid delimiter together with the invalid sequence. Note to self: In general, strchr("\0...", c) is a thoroughly bad idea.
Diffstat (limited to 'usr.bin/mandoc/mdoc.c')
0 files changed, 0 insertions, 0 deletions