lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Wed, 08 Oct 2014 15:00:19 -0400 (EDT) From: David Miller <davem@...emloft.net> To: Larry.Finger@...inger.net Cc: linville@...driver.com, linux-wireless@...r.kernel.org, troy_tan@...lsil.com.cn, netdev@...r.kernel.org Subject: Re: [PATCH V3.18] rtlwifi: Fix possible unaligned array in ether_addr_copy() From: Larry Finger <Larry.Finger@...inger.net> Date: Wed, 8 Oct 2014 12:44:55 -0500 > Two macros used to copy BSSID information use ether_addr_copy(), thus > the arrays must be 2-byte aligned. In one case, the array could become > unaligned if the struct containing it were changed. Use the __unaligned(2) > attribute to retain the necessary alignment. In addition, the magic number > used to specify the size of the array is replaced by ETH_ALEN. > > Signed-off-by: Larry Finger <Larry.Finger@...inger.net> Acked-by: David S. Miller <davem@...emloft.net> -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists