]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
dell_rbu: use scnprintf() instead of less secure sprintf()
authorPavel Roskin <proski@gnu.org>
Sat, 17 Jan 2009 18:33:03 +0000 (13:33 -0500)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 17 Jan 2009 22:27:18 +0000 (14:27 -0800)
commit81156928f8fe31621e467490b9d441c0285998c3
tree9ee408f5947d318b21164fb085518f2d93747af6
parent0d54ee1c7850a954026deec4cd4885f331da35cc
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>
drivers/firmware/dell_rbu.c