[PATCH] cpukit/libnetworking/libc/getifaddrs.c: Fix undefined behavior on freeing auto variable if NET_RT_IFLIST isn't defined.

Sebastian Huber sebastian.huber at embedded-brains.de
Wed Oct 14 07:59:39 UTC 2015


Since NET_RT_IFLIST is defined in socket.h, the else block is 
essentially dead code. How did you find this problem? Does it make sense 
to use the latest FreeBSD version?

-- 
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.huber at embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.




More information about the devel mailing list