linux_dsm_epyc7002/drivers/net/ethernet/qlogic
Kees Cook df5303a8aa qlge: Avoid reading past end of buffer
Using memcpy() from a string that is shorter than the length copied means
the destination buffer is being filled with arbitrary data from the kernel
rodata segment. Instead, use strncpy() which will fill the trailing bytes
with zeros.

This was found with the future CONFIG_FORTIFY_SOURCE feature.

Cc: Daniel Micay <danielmicay@gmail.com>
Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-05-08 14:41:42 -04:00
..
netxen netxen_nic: remove redundant check if retries is zero 2017-03-15 15:04:08 -07:00
qed qed: Fix overriding of supported autoneg value. 2017-05-04 12:31:02 -04:00
qede qede: Fix possible misconfiguration of advertised autoneg value. 2017-05-04 12:31:03 -04:00
qlcnic qlcnic: fix unchecked return value 2017-04-24 16:10:53 -04:00
qlge qlge: Avoid reading past end of buffer 2017-05-08 14:41:42 -04:00
Kconfig qed: Add support for hardware offloaded FCoE. 2017-02-19 18:10:42 -05:00
Makefile qede: Add basic Network driver 2015-10-27 19:34:47 -07:00
qla3xxx.c net: qlogic: qla3xxx: use new api ethtool_{get|set}_link_ksettings 2017-02-20 10:27:17 -05:00
qla3xxx.h