Skip to content
Snippets Groups Projects
Commit 083fc582 authored by Don Skidmore's avatar Don Skidmore Committed by David S. Miller
Browse files

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: default avatarDon Skidmore <donald.c.skidmore@intel.com>
Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 357e8b5f
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment