diff options
author | Johannes Berg <johannes.berg@intel.com> | 2017-04-19 09:58:50 +0200 |
---|---|---|
committer | Luca Coelho <luciano.coelho@intel.com> | 2017-06-23 00:13:00 +0300 |
commit | 40e86a3619a1e84ad73c716c943f65fc38eb1e28 (patch) | |
tree | 9aac2e91f4cd3c325bddf31db5fb01ec011fb384 /drivers/net/wireless/intel/iwlwifi/iwl-fh.h | |
parent | a9c50726ce3279646e2e22314b0917455a3c5e86 (diff) | |
download | linux-stable-40e86a3619a1e84ad73c716c943f65fc38eb1e28.tar.gz linux-stable-40e86a3619a1e84ad73c716c943f65fc38eb1e28.tar.bz2 linux-stable-40e86a3619a1e84ad73c716c943f65fc38eb1e28.zip |
iwlwifi: mvm: use scnprintf() instead of snprintf()
It's safer to use scnprintf() here because the buffer might
be too short for the full format strings. In most cases
this isn't true because of external limits on the values.
In one case, this fixes a stack data leak.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Diffstat (limited to 'drivers/net/wireless/intel/iwlwifi/iwl-fh.h')
0 files changed, 0 insertions, 0 deletions