summaryrefslogtreecommitdiff
path: root/arch/x86
diff options
context:
space:
mode:
authorIlya Matveychikov <matvejchikov@gmail.com>2017-06-23 22:08:49 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-06-29 11:00:28 (GMT)
commit7c679fe729c258f09f169d9e3f8551b6e91d97e2 (patch)
treeb09c6a69e5836d5f81f66909b1504826d436558f /arch/x86
parentbc6eecff3d9594b2d5b9f41d4b480dba720e00ca (diff)
downloadlinux-7c679fe729c258f09f169d9e3f8551b6e91d97e2.tar.xz
lib/cmdline.c: fix get_options() overflow while parsing ranges
commit a91e0f680bcd9e10c253ae8b62462a38bd48f09f upstream. When using get_options() it's possible to specify a range of numbers, like 1-100500. The problem is that it doesn't track array size while calling internally to get_range() which iterates over the range and fills the memory with numbers. Link: http://lkml.kernel.org/r/2613C75C-B04D-4BFF-82A6-12F97BA0F620@gmail.com Signed-off-by: Ilya V. Matveychikov <matvejchikov@gmail.com> Cc: Jonathan Corbet <corbet@lwn.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/x86')
0 files changed, 0 insertions, 0 deletions