Files
twx-linux/lib
Ilya Matveychikov 7b88f76192 lib/cmdline.c: fix get_options() overflow while parsing ranges
commit a91e0f680b 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>
2017-06-29 12:48:51 +02:00
..
…
…
2015-07-27 14:06:24 +02:00
…
…
…
…
…
2015-11-23 09:44:58 +01:00
2015-05-28 11:31:52 +09:30
…
…
…
…
…
…
…
…
2015-10-05 04:49:54 +01:00
2015-11-09 15:11:24 -08:00
…
…
…
…
…
…
…
…
…
…
…
…
2016-09-24 10:07:43 +02:00
2016-03-03 15:07:24 -08:00
…
…
…
…
…
…
…
…
…
2015-06-25 17:00:40 -07:00
2016-10-28 03:01:30 -04:00
…
…
…
…
…