aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/intel-pt-events.py
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2018-09-06 09:48:22 +0000
committerSteve French <[email protected]>2018-09-12 14:32:07 +0000
commit56446f218af1133c802dad8e9e116f07f381846c (patch)
tree1f35fa87689fcfdb7eead9d9e0b12164ce384e33 /tools/perf/scripts/python/intel-pt-events.py
parentcifs: prevent integer overflow in nxt_dir_entry() (diff)
downloadkernel-56446f218af1133c802dad8e9e116f07f381846c.tar.gz
kernel-56446f218af1133c802dad8e9e116f07f381846c.zip
CIFS: fix wrapping bugs in num_entries()
The problem is that "entryptr + next_offset" and "entryptr + len + size" can wrap. I ended up changing the type of "entryptr" because it makes the math easier when we don't have to do so much casting. Signed-off-by: Dan Carpenter <[email protected]> Signed-off-by: Steve French <[email protected]> Reviewed-by: Aurelien Aptel <[email protected]> Reviewed-by: Pavel Shilovsky <[email protected]> CC: Stable <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions