diff options
| author | Tim Gardner <[email protected]> | 2013-10-13 19:29:03 +0000 |
|---|---|---|
| committer | Steve French <[email protected]> | 2013-10-14 17:14:01 +0000 |
| commit | 0c26606cbe4937f2228a27bb0c2cad19855be87a (patch) | |
| tree | a6750a3f37ce363f9019a4a41e65384ab7383d4a /lib/spinlock_debug.c | |
| parent | cifs: Allow LANMAN auth method for servers supporting unencapsulated authenti... (diff) | |
| download | kernel-0c26606cbe4937f2228a27bb0c2cad19855be87a.tar.gz kernel-0c26606cbe4937f2228a27bb0c2cad19855be87a.zip | |
cifs: ntstatus_to_dos_map[] is not terminated
Functions that walk the ntstatus_to_dos_map[] array could
run off the end. For example, ntstatus_to_dos() loops
while ntstatus_to_dos_map[].ntstatus is not 0. Granted,
this is mostly theoretical, but could be used as a DOS attack
if the error code in the SMB header is bogus.
[Might consider adding to stable, as this patch is low risk - Steve]
Reviewed-by: Jeff Layton <[email protected]>
Signed-off-by: Tim Gardner <[email protected]>
Signed-off-by: Steve French <[email protected]>
Diffstat (limited to 'lib/spinlock_debug.c')
0 files changed, 0 insertions, 0 deletions
