summaryrefslogtreecommitdiff
path: root/usr.bin/x99token
diff options
context:
space:
mode:
authorTobias Stoeckmann <tobias@cvs.openbsd.org>2019-04-29 17:11:53 +0000
committerTobias Stoeckmann <tobias@cvs.openbsd.org>2019-04-29 17:11:53 +0000
commita46e2d4060ef0f1a29f0d2222ef7ca8e98f3d898 (patch)
treeddfe7c5564d286738e173ecc390262b35fe9ac34 /usr.bin/x99token
parentb473ae5c463a0714f6a10198ab62f9970ce9e785 (diff)
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/x99token')
0 files changed, 0 insertions, 0 deletions