diff options
author | 2014-07-06 18:36:49 +0000 | |
---|---|---|
committer | 2014-07-06 18:36:49 +0000 | |
commit | ea2385f76dcd07f16ccbc8d717da4168f71be5e8 (patch) | |
tree | 32ccf3a1b14f3da43eece62605777e463e9f969e /usr.bin/mandoc/mdoc.c | |
parent | int all fields, so calloc can become malloc; ok miod@ (diff) | |
download | wireguard-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