diff options
| author | Dan Carpenter <[email protected]> | 2018-09-06 09:47:51 +0000 |
|---|---|---|
| committer | Steve French <[email protected]> | 2018-09-12 14:27:57 +0000 |
| commit | 8ad8aa353524d89fa2e09522f3078166ff78ec42 (patch) | |
| tree | c95029b8a3efc9cdfbb70b9d666812c44ff18b17 /tools/perf/scripts/python/intel-pt-events.py | |
| parent | fs/cifs: require sha512 (diff) | |
| download | kernel-8ad8aa353524d89fa2e09522f3078166ff78ec42.tar.gz kernel-8ad8aa353524d89fa2e09522f3078166ff78ec42.zip | |
cifs: prevent integer overflow in nxt_dir_entry()
The "old_entry + le32_to_cpu(pDirInfo->NextEntryOffset)" can wrap
around so I have added a check for integer overflow.
Reported-by: Dr Silvio Cesare of InfoSect <[email protected]>
Reviewed-by: Ronnie Sahlberg <[email protected]>
Reviewed-by: Aurelien Aptel <[email protected]>
Signed-off-by: Dan Carpenter <[email protected]>
Signed-off-by: Steve French <[email protected]>
CC: Stable <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions
