commit | 40e86a3619a1e84ad73c716c943f65fc38eb1e28 | [log] [tgz] |
---|---|---|
author | Johannes Berg <johannes.berg@intel.com> | Wed Apr 19 09:58:50 2017 +0200 |
committer | Luca Coelho <luciano.coelho@intel.com> | Fri Jun 23 00:13:00 2017 +0300 |
tree | 9aac2e91f4cd3c325bddf31db5fb01ec011fb384 | |
parent | a9c50726ce3279646e2e22314b0917455a3c5e86 [diff] |
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>