Hi,

On Sun, May 31, 2015 at 10:41:58PM +0200, Gert Doering wrote:
> A signal (except SIGUSR1) received while waiting for getaddrinfo() is
> considered fatal, so openvpn_getaddrinfo() is destroying the returned
> information with freeaddrinfo(), but still signalled "success" (0)
> to the caller - so if the caller accessed *res before checking
> *signal_received, it would access just-free()ed memory, which on some
> platforms still worked and on others caused a crash.
> 
> Also, ensure that *ai is also NULLed in the caller now.

This is actually "Trac #276" :-) - need to add this to the commit note.

gert

-- 
USENET is *not* the non-clickable part of WWW!
                                                           //www.muc.de/~gert/
Gert Doering - Munich, Germany                             g...@greenie.muc.de
fax: +49-89-35655025                        g...@net.informatik.tu-muenchen.de

Attachment: pgpflZT277PeZ.pgp
Description: PGP signature

Reply via email to