ixgbe: cleanup ixgbe_get_drvinfo to be extra careful with buffer boundaries
authorDon Skidmore <donald.c.skidmore@intel.com>
Thu, 19 Aug 2010 13:33:16 +0000 (13:33 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 19 Aug 2010 23:36:44 +0000 (16:36 -0700)
Make the code in ixgbe_get_drvinfo more protected against buffer overflow
boundaries by using snprintf and sizeof with snprintf.

Signed-off-by: Don Skidmore <donald.c.skidmore@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found