linux/drivers/net/ethernet/qlogic
Denis Bolotin c7d852e301 qed: Fix copying 2 strings
The strscpy() was a recent fix (net: qed: use correct strncpy() size) to
prevent passing the length of the source buffer to strncpy() and guarantee
null termination.
It misses the goal of overwriting only the first 3 characters in
"???_BIG_RAM" and "???_RAM" while keeping the rest of the string.
Use strncpy() with the length of 3, without null termination.

Signed-off-by: Denis Bolotin <denis.bolotin@cavium.com>
Signed-off-by: Ariel Elior <ariel.elior@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-04-24 13:59:42 -04:00
..
netxen Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2018-04-05 11:56:35 -07:00
qed qed: Fix copying 2 strings 2018-04-24 13:59:42 -04:00
qede qed* : Add new TLV to request PF to update MAC in bulletin board 2018-04-20 11:26:37 -04:00
qlcnic qlcnic: Eliminate duplicate barriers on weakly-ordered archs 2018-03-26 12:47:55 -04:00
qlge net: qlge: Eliminate duplicate barriers on weakly-ordered archs 2018-03-26 12:47:56 -04:00
Kconfig qed*: Utilize FW 8.33.1.0 2018-01-02 13:59:16 -05:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
qla3xxx.c net: qla3xxx: Eliminate duplicate barriers on weakly-ordered archs 2018-03-26 12:47:55 -04:00
qla3xxx.h