diff options
| author | Larry Woodman <[email protected]> | 2010-09-24 16:04:48 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2010-09-25 16:34:58 +0000 |
| commit | 5ec1055aa5632dd7a8283cdb5fa9be3c535eaa06 (patch) | |
| tree | 231fa9a989433ee7fab796342f7ebc2c3e167342 /tools/perf/scripts/python/check-perf-trace.py | |
| parent | Merge branch 'hwmon-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/g... (diff) | |
| download | kernel-5ec1055aa5632dd7a8283cdb5fa9be3c535eaa06.tar.gz kernel-5ec1055aa5632dd7a8283cdb5fa9be3c535eaa06.zip | |
Avoid pgoff overflow in remap_file_pages
Thomas Pollet noticed that the remap_file_pages() system call in
fremap.c has a potential overflow in the first part of the if statement
below, which could cause it to process bogus input parameters.
Specifically the pgoff + size parameters could be wrap thereby
preventing the system call from failing when it should.
Reported-by: Thomas Pollet <[email protected]>
Signed-off-by: Larry Woodman <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions
