Thread (2 messages) flat view 2 messages, 2 authors, 2012-02-01

Re: [PATCH net] ethtool: Null-terminate filename passed to ethtool_ops::flash_device

From: David Miller <davem@davemloft.net>
Date: 2012-02-01 19:47:58

From: Ben Hutchings <redacted>
Date: Wed, 1 Feb 2012 19:32:25 +0000
The parameters for ETHTOOL_FLASHDEV include a filename, which ought to
be null-terminated.  Currently the only driver that implements
ethtool_ops::flash_device attempts to add a null terminator if
necessary, but does it wrongly.  Do it in the ethtool core instead.

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