diff options
| author | 2014-05-22 19:50:34 +0000 | |
|---|---|---|
| committer | 2014-05-22 19:50:34 +0000 | |
| commit | 49116013a05abb38df03e6b61f379fd1cf24d4d2 (patch) | |
| tree | d22eb372a5cf209f1ed708366ca2bdd6c1bd9406 /lib/libcrypto/stack/stack.c | |
| parent | Regen (diff) | |
| download | wireguard-openbsd-49116013a05abb38df03e6b61f379fd1cf24d4d2.tar.xz wireguard-openbsd-49116013a05abb38df03e6b61f379fd1cf24d4d2.zip | |
If we have to realloc() "list" we need to zero out the new entries
to match the behavior of the initial calloc(). The "cols" array
does not actually need to be zeroed so use reallocarray() instead
of calloc(). Also fix a memory leak of tbl and initialize the value
of maxcols/maxentry in the assignment instead of in the ecalloc()
call. OK espie@
Diffstat (limited to 'lib/libcrypto/stack/stack.c')
0 files changed, 0 insertions, 0 deletions
