commit | 339de30f5b40b08574a8ca53670d795f7dd1f8bb | [log] [tgz] |
---|---|---|
author | Mark Rustad <mark.d.rustad@intel.com> | Fri Jun 06 01:57:06 2014 +0000 |
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | Thu Jul 24 02:16:32 2014 -0700 |
tree | bb683194e031f5ee208b7a8f47d5cd5eb9f2bd78 | |
parent | 508a8c9e264e1057f663e578c47c5ffa00adb160 [diff] |
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>