https://github.com/torvalds/linux
Revision 369653e4fb511928511b0ce81f41c812ff1f28b6 authored by Eric Seppanen on 20 November 2013, 22:19:51 UTC, committed by Nicholas Bellinger on 21 November 2013, 06:03:28 UTC
extract_param() is called with max_length set to the total size of the
output buffer.  It's not safe to allow a parameter length equal to the
buffer size as the terminating null would be written one byte past the
end of the output buffer.

Signed-off-by: Eric Seppanen <eric@purestorage.com>
Cc: <stable@vger.kernel.org> #3.1+
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
1 parent d1fa7a1
History
Tip revision: 369653e4fb511928511b0ce81f41c812ff1f28b6 authored by Eric Seppanen on 20 November 2013, 22:19:51 UTC
iscsi-target: fix extract_param to handle buffer length corner case
Tip revision: 369653e
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 1.1 KB
.mailmap -rw-r--r-- 4.4 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 93.0 KB
Kbuild -rw-r--r-- 2.5 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 257.1 KB
Makefile -rw-r--r-- 47.4 KB
README -rw-r--r-- 18.3 KB
REPORTING-BUGS -rw-r--r-- 7.3 KB

README

back to top