summaryrefslogtreecommitdiffstats
path: root/lib/libssl/src
diff options
context:
space:
mode:
authorschwarze <schwarze@openbsd.org>2014-04-23 21:06:33 +0000
committerschwarze <schwarze@openbsd.org>2014-04-23 21:06:33 +0000
commit8286bf36f2392472edfeb9324ecb47a787501e38 (patch)
tree6f6a7d3a994e74079e6fae86d8a1b664952c82c2 /lib/libssl/src
parentnull pointers after free to prevent double frees and worse. also fix a (diff)
downloadwireguard-openbsd-8286bf36f2392472edfeb9324ecb47a787501e38.tar.xz
wireguard-openbsd-8286bf36f2392472edfeb9324ecb47a787501e38.zip
Audit malloc(3)/calloc(3)/realloc(3) usage.
* Change eight reallocs to reallocarray to be safe from overflows. * Change one malloc to reallocarray to be safe from overflows. * Change one calloc to reallocarray, no zeroing needed. * Change the order of arguments of three callocs (aesthetical).
Diffstat (limited to 'lib/libssl/src')
0 files changed, 0 insertions, 0 deletions