diff options
author | Dan Carpenter <[email protected]> | 2018-09-06 12:48:22 +0300 |
---|---|---|
committer | Steve French <[email protected]> | 2018-09-12 09:32:07 -0500 |
commit | 56446f218af1133c802dad8e9e116f07f381846c (patch) | |
tree | 1f35fa87689fcfdb7eead9d9e0b12164ce384e33 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 8ad8aa353524d89fa2e09522f3078166ff78ec42 (diff) |
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/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions