Closed GoogleCodeExporter closed 9 years ago
prefix_pton() may segfault (in rare cases) or return garbage (most of the time)
because of reading from an out-of-scope string.
Original comment by tud...@gmail.com
on 15 Nov 2013 at 1:42
Another (simpler) fix would be to no longer prefix the error string by
"getaddrinfo: " and just do *errmsg = gai_strerror(r).
Original comment by tud...@gmail.com
on 15 Nov 2013 at 1:53
I took the latter of your suggestions (removing the prefix). Fix committed -
thanks!
Original comment by d...@djm.net.au
on 17 Nov 2013 at 11:19
Original issue reported on code.google.com by
tud...@gmail.com
on 15 Nov 2013 at 1:40