diff options
author | 2014-04-23 21:06:33 +0000 | |
---|---|---|
committer | 2014-04-23 21:06:33 +0000 | |
commit | 8286bf36f2392472edfeb9324ecb47a787501e38 (patch) | |
tree | 6f6a7d3a994e74079e6fae86d8a1b664952c82c2 /lib/libssl/src | |
parent | null pointers after free to prevent double frees and worse. also fix a (diff) | |
download | wireguard-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