aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mandocdb.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2018-02-07 20:04:57 +0000
committerIngo Schwarze <schwarze@openbsd.org>2018-02-07 20:04:57 +0000
commita01d965c76db9cf227d69d8316586f39cd940ab1 (patch)
treef5c9d03b7ad3883a2215a20b922a54edab62a699 /mandocdb.c
parent6cf85d647d2389577407d50b04f4a760c1eed882 (diff)
downloadmandoc-a01d965c76db9cf227d69d8316586f39cd940ab1.tar.gz
mandoc-a01d965c76db9cf227d69d8316586f39cd940ab1.tar.zst
mandoc-a01d965c76db9cf227d69d8316586f39cd940ab1.zip
Fix the mandoc_strndup() utility function. All existing callers seem
safe so far, but implementing it with an unchecked memcpy(3) is just wrong and quite dangerous.
Diffstat (limited to 'mandocdb.c')
0 files changed, 0 insertions, 0 deletions