diff options
author | Louis Langholtz <lou_langholtz@me.com> | 2015-01-15 22:04:46 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-01-17 10:02:23 +1300 |
commit | fc7f0dd381720ea5ee5818645f7d0e9dece41cb0 (patch) | |
tree | 704eb796bfcdf42f5d04a48fabc2ffd24c824be0 /mm/vmalloc.c | |
parent | 7ad4b4ae5757b89637f5767ae5d9e1436a6413e0 (diff) |
kernel: avoid overflow in cmp_range
Avoid overflow possibility.
[ The overflow is purely theoretical, since this is used for memory
ranges that aren't even close to using the full 64 bits, but this is
the right thing to do regardless. - Linus ]
Signed-off-by: Louis Langholtz <lou_langholtz@me.com>
Cc: Yinghai Lu <yinghai@kernel.org>
Cc: Peter Anvin <hpa@linux.intel.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/vmalloc.c')
0 files changed, 0 insertions, 0 deletions