diff options
author | Dan Carpenter <[email protected]> | 2018-09-06 12:47:51 +0300 |
---|---|---|
committer | Steve French <[email protected]> | 2018-09-12 09:27:57 -0500 |
commit | 8ad8aa353524d89fa2e09522f3078166ff78ec42 (patch) | |
tree | c95029b8a3efc9cdfbb70b9d666812c44ff18b17 /scripts/gdb/linux/utils.py | |
parent | 5890184d2b506f88886b7322d7d44464453bd3a6 (diff) |
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 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions