diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2014-08-17 22:10:29 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2014-08-17 22:10:29 +0000 |
commit | 433225aa5c972c772c1c63614b12c9be6a42c910 (patch) | |
tree | 4426adcd28c1a4d849141cd54166f89266510921 /test-strlcat.c | |
parent | 6f4c114ca6eed4eaa93fa12ae617b50f14d2ce58 (diff) | |
download | mandoc-433225aa5c972c772c1c63614b12c9be6a42c910.tar.gz mandoc-433225aa5c972c772c1c63614b12c9be6a42c910.tar.zst mandoc-433225aa5c972c772c1c63614b12c9be6a42c910.zip |
While all current callers pass valid data to ascii_hspan() only,
it's safer to assume incoming enum data might be invalid
and catch it instead of happily returning an unitialized int.
No functional change right now.
Diffstat (limited to 'test-strlcat.c')
0 files changed, 0 insertions, 0 deletions