diff options
author | 2019-04-29 17:11:51 +0000 | |
---|---|---|
committer | 2019-04-29 17:11:51 +0000 | |
commit | 756da5e0a6f57235bf162711a0bf4e55e0fca407 (patch) | |
tree | ccc4d8fe4f97c6e25b88316cbb2542f6a3379dd9 /usr.bin/mandoc/html.h | |
parent | Remove unnecessary end-of-contents octets. (diff) | |
download | wireguard-openbsd-756da5e0a6f57235bf162711a0bf4e55e0fca407.tar.xz wireguard-openbsd-756da5e0a6f57235bf162711a0bf4e55e0fca407.zip |
Switched min_heap to size_t to prevent integer overflows.
Also, as deraadt suggested, switched realloc to recallocarray to at least
prevent uninitialized memory to be used as pointers in case of other
programming errors. A proper solution (not using an array) needs more work.
This change occured in sync with upstream libevent 2.2.
with input by and ok bluhm, jca, tedu
Diffstat (limited to 'usr.bin/mandoc/html.h')
0 files changed, 0 insertions, 0 deletions