Skip to content
Commit 81156928 authored by Pavel Roskin's avatar Pavel Roskin Committed by Linus Torvalds
Browse files

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: default avatarPavel Roskin <proski@gnu.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 0d54ee1c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment