diff options
author | Oleg Nesterov <oleg@redhat.com> | 2012-07-29 22:22:33 +0400 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2012-07-30 13:27:21 +0400 |
commit | aefd8933d445abf7ff0d4027c624737898827bcd (patch) | |
tree | f32864bfa64158141326ac35bc57204e49b2774f /firmware | |
parent | 2fd611a991391a6050cbd139201a2e12fc306540 (diff) | |
download | linux-aefd8933d445abf7ff0d4027c624737898827bcd.tar.xz |
uprobes: Fix overflow in vma_address()/find_active_uprobe()
vma->vm_pgoff is "unsigned long", it should be promoted to
loff_t before the multiplication to avoid the overflow.
Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Acked-by: Srikar Dronamraju <srikar.vnet.ibm.com>
Cc: Anton Arapov <anton@redhat.com>
Cc: Srikar Dronamraju <srikar@linux.vnet.ibm.com>
Link: http://lkml.kernel.org/r/20120729182233.GA20339@redhat.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'firmware')
0 files changed, 0 insertions, 0 deletions