]> git.baikalelectronics.ru Git - kernel.git/commit
e1000e: properly bounds-check string functions
authorBruce Allan <bruce.w.allan@intel.com>
Thu, 6 Jan 2011 14:29:50 +0000 (14:29 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 10 Jan 2011 07:44:08 +0000 (23:44 -0800)
commit5aacd5ff8f7475b1bccc663328e749343ff079cc
tree6458f1eaf49dabf7e08e65ec0493077cd84e260c
parentaafbcaabe3f610551e1686cbd59b4993994640dd
e1000e: properly bounds-check string functions

Use string functions with bounds checking rather than their non-bounds
checking counterparts, and do not hard code these boundaries.

Signed-off-by: Bruce Allan <bruce.w.allan@intel.com>
Tested-by: Emil Tantilov <emil.s.tantilov@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/e1000e/ethtool.c
drivers/net/e1000e/netdev.c