summaryrefslogtreecommitdiffstats
path: root/mm/slub.c
diff options
context:
space:
mode:
authorIlya Matveychikov2017-06-24 00:08:49 +0200
committerLinus Torvalds2017-06-24 01:15:55 +0200
commita91e0f680bcd9e10c253ae8b62462a38bd48f09f (patch)
tree38c36b40b5f3c74182d14c346e04c5ae1c853ba2 /mm/slub.c
parentfs/dax.c: fix inefficiency in dax_writeback_mapping_range() (diff)
downloadkernel-qcow2-linux-a91e0f680bcd9e10c253ae8b62462a38bd48f09f.tar.gz
kernel-qcow2-linux-a91e0f680bcd9e10c253ae8b62462a38bd48f09f.tar.xz
kernel-qcow2-linux-a91e0f680bcd9e10c253ae8b62462a38bd48f09f.zip
lib/cmdline.c: fix get_options() overflow while parsing ranges
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> Cc: <stable@vger.kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/slub.c')
0 files changed, 0 insertions, 0 deletions