aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci
diff options
context:
space:
mode:
authorMark Rustad <mark.d.rustad@intel.com>2014-06-06 01:57:06 +0000
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2014-07-24 02:16:32 -0700
commit339de30f5b40b08574a8ca53670d795f7dd1f8bb (patch)
treebb683194e031f5ee208b7a8f47d5cd5eb9f2bd78 /drivers/pci
parentixgbe: Fix possible null-dereference in error path (diff)
downloadlinux-dev-339de30f5b40b08574a8ca53670d795f7dd1f8bb.tar.xz
linux-dev-339de30f5b40b08574a8ca53670d795f7dd1f8bb.zip
ixgbe: Change some uses of strncpy to strlcpy
Change some uses of strncpy to use the more appropriate strlcpy when clearing is not needed to prevent information leakage. Also change some length arguments to use the preferred sizeof form. Signed-off-by: Mark Rustad <mark.d.rustad@intel.com> Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/pci')
0 files changed, 0 insertions, 0 deletions