summaryrefslogtreecommitdiffstats
path: root/lib/libwrap/socket.c
diff options
context:
space:
mode:
authorray <ray@openbsd.org>2006-04-14 16:16:02 +0000
committerray <ray@openbsd.org>2006-04-14 16:16:02 +0000
commitcd05622f72cdfeed3d586b9a4b8f0205a1c78f2b (patch)
treed2898a8ab33b6666f4b48ed77f64fe6b961885fd /lib/libwrap/socket.c
parentfix +12v conversion, because of stupid C; wilfried (diff)
downloadwireguard-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