diff options
| author | Dan Carpenter <[email protected]> | 2018-09-06 09:48:22 +0000 |
|---|---|---|
| committer | Steve French <[email protected]> | 2018-09-12 14:32:07 +0000 |
| commit | 56446f218af1133c802dad8e9e116f07f381846c (patch) | |
| tree | 1f35fa87689fcfdb7eead9d9e0b12164ce384e33 /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
| parent | cifs: prevent integer overflow in nxt_dir_entry() (diff) | |
| download | kernel-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/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions
