diff options
| author | Ilya Matveychikov <[email protected]> | 2017-06-23 22:08:49 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2017-06-23 23:15:55 +0000 |
| commit | a91e0f680bcd9e10c253ae8b62462a38bd48f09f (patch) | |
| tree | 38c36b40b5f3c74182d14c346e04c5ae1c853ba2 /drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c | |
| parent | fs/dax.c: fix inefficiency in dax_writeback_mapping_range() (diff) | |
| download | kernel-a91e0f680bcd9e10c253ae8b62462a38bd48f09f.tar.gz kernel-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/[email protected]
Signed-off-by: Ilya V. Matveychikov <[email protected]>
Cc: Jonathan Corbet <[email protected]>
Cc: <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c')
0 files changed, 0 insertions, 0 deletions
