CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2011/01/18 12:10:25
Modified files:
sys/net : if.c
Log message:
When changing the ifa_broadaddr broadcast address, ifa_update_broadaddr()
copied the pointer to the sockaddr instead of the content of
sockaddr_in. As the source of the data resides on the stack, the
pointer got invalid later and the kernel crashed. As only addresses
with fixed size are used, sa_len bytes of the sockaddr can be
coppied.
ok krw@ markus@ mpf@ claudio@ henning@