mac80211: fix some snprintf misuses
authorEliad Peller <eliad@wizery.com>
Tue, 27 Aug 2013 09:40:15 +0000 (12:40 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 1 Oct 2013 10:16:51 +0000 (12:16 +0200)
In some debugfs related functions snprintf was used
while scnprintf should have been used instead.

(blindly adding the return value of snprintf and supplying
it to the next snprintf might result in buffer overflow when
the input is too big)

Signed-off-by: Eliad Peller <eliad@wizery.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/debugfs.c
net/mac80211/rc80211_pid_debugfs.c
net/wireless/debugfs.c

Simple merge
Simple merge
Simple merge