Re: [PATCH] driver_macsec_linux.c: fix NULL pointer dereference

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Mar 24, 2017 at 10:25:24AM +0100, Davide Caratti wrote:
> in case wpa_supplicant is using driver_macsec_linux, but macsec module
> is not (yet) loaded in the kernel, nl_socket_alloc() fails and drv->sk
> is NULL. In this case, don't call libnl functions rntl_link_add() or
> rtnl_link_change() using such NULL pointer, to prevent program from
> getting segmentation faults like:

Thanks, applied.
 
-- 
Jouni Malinen                                            PGP id EFC895FA

_______________________________________________
Hostap mailing list
Hostap@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/hostap



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux