[PATCH] fix cid 1350009
obnox at samba.org
Wed Feb 3 13:18:29 UTC 2016
On 2016-02-03 at 14:57 +0200, Uri Simchoni wrote:
> I think we do unnecessarily cut the device name, see for example:
Hmm, ok, but as I wrote in the other mail,
ethtool exits with an error if the specified
interface name is of strlen IF_NAMESIZE (or longer).
> But even if we stay with the decision to cut device name (so that we
> don't have to look it up in kernel source..), the cutting is
> incorrect - it's one past array boundary!
Oh, indeed. *brownpaperbag*...
Cheers - Michael
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 198 bytes
Desc: not available
More information about the samba-technical