Re: [PATCH] nl80211: Fix RTM NEW/DELLINK IFNAME copy

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

 



On Wed, Mar 18, 2020 at 05:58:37PM +0800, Ouden Lin wrote:
> If the kernel rtm_newlink or rtm_dellink send the max length of IFNAME,
> then the ifname will not copy from RTA_DATA (IFLA_IFNAME)
> in function wpa_driver_nl80211_event_rtm_addlink () and
> wpa_driver_nl80211_event_rtm_dellink (). Because the
> RTA_PAYLOAD (IFLA_IFNAME) length already include the NULL terminaled,
> that equal the IFNAMSIZ.
> 
> This patch will fixed the condition when IFNAME reach max size.

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