commit | 81156928f8fe31621e467490b9d441c0285998c3 | [log] [tgz] |
---|---|---|
author | Pavel Roskin <proski@gnu.org> | Sat Jan 17 13:33:03 2009 -0500 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Sat Jan 17 14:27:18 2009 -0800 |
tree | 9ee408f5947d318b21164fb085518f2d93747af6 | |
parent | 0d54ee1c7850a954026deec4cd4885f331da35cc [diff] |
dell_rbu: use scnprintf() instead of less secure sprintf() Reading 0 bytes from /sys/devices/platform/dell_rbu/image_type or /sys/devices/platform/dell_rbu/packet_size by an ordinary user causes an oops. Signed-off-by: Pavel Roskin <proski@gnu.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>