search for: inet_top

Displaying 1 result from an estimated 1 matches for "inet_top".

Did you mean: inet_ntop
2011 Jul 12
1
use-after-free in open_socket_out
...rsyserr(FERROR, errnos[j], "failed to connect to %s (%s)", h, buf); } s = -1; } res0 is freed but keeps its value so there's access to freed memory in res->ai* in the call of inet_ntop if s < 0. This might explain why we've got a few cases of inet_top failed in the logs. I suggest the attached obvious patch. -------------- next part -------------- A non-text attachment was scrubbed... Name: patch Type: application/octet-stream Size: 303 bytes Desc: not available URL: <http://lists.samba.org/pipermail/rsync/attachments/20110711/fd642208/attac...