Thread (2 messages) 2 messages, 2 authors, 2012-10-03

Re: [patch] bnx2x: use strlcpy() to copy a string

flat view

From: David Miller <davem@davemloft.net>
Date: 2012-10-03 02:41:43
Also in: kernel-janitors

From: Dan Carpenter <redacted>
Date: Tue, 2 Oct 2012 14:47:46 +0300
DRV_MODULE_VERSION is smaller than the ->version buffer so the memcpy()
copies 1 byte past the end of the string.  It's not super harmful, but
it makes the static checkers complain.

Signed-off-by: Dan Carpenter <redacted>
Applied, thanks Dan.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help