diff options
author | 2006-04-14 16:16:02 +0000 | |
---|---|---|
committer | 2006-04-14 16:16:02 +0000 | |
commit | cd05622f72cdfeed3d586b9a4b8f0205a1c78f2b (patch) | |
tree | d2898a8ab33b6666f4b48ed77f64fe6b961885fd /lib/libwrap/socket.c | |
parent | fix +12v conversion, because of stupid C; wilfried (diff) | |
download | wireguard-openbsd-cd05622f72cdfeed3d586b9a4b8f0205a1c78f2b.tar.xz wireguard-openbsd-cd05622f72cdfeed3d586b9a4b8f0205a1c78f2b.zip |
Plug obvious memory leaks.
The comparison function was previously changed by me to use strcmp,
which is probably wrong since a buffer can theoretically have NULs
in it. This fixes it. (In my defense, the original code converted
the buffer text to char * values and compared until there was either
a difference or until a NUL was reached, so my previous change was
no worse.)
OK joris@
Diffstat (limited to 'lib/libwrap/socket.c')
0 files changed, 0 insertions, 0 deletions