| commit | 083fc582b8752c64b0ae73935ddb45a1dd794b4c | [log] [tgz] |
|---|---|---|
| author | Don Skidmore <donald.c.skidmore@intel.com> | Thu Aug 19 13:33:16 2010 +0000 |
| committer | David S. Miller <davem@davemloft.net> | Thu Aug 19 16:36:44 2010 -0700 |
| tree | b77af1a514e8f2e585c0f442175929cbcae3150d | |
| parent | 357e8b5f723ba9e1d0a0f8ffb1361d607e43e19a [diff] |
ixgbe: cleanup ixgbe_get_drvinfo to be extra careful with buffer boundaries 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>