diff options
author | Steve French <sfrench@us.ibm.com> | 2009-02-17 04:29:40 +0300 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2009-02-21 06:37:09 +0300 |
commit | 69765529d701c838df19ea1f5ad2f33a528261ae (patch) | |
tree | 229ce1fda799ac8f6553a87ed05516dd675b3eec /fs/jfs/jfs_dinode.h | |
parent | 44f68fadd865bb288ebdcea2b602f0b1cab27a0c (diff) | |
download | linux-69765529d701c838df19ea1f5ad2f33a528261ae.tar.xz |
[CIFS] Fix oops in cifs_strfromUCS_le mounting to servers which do not specify their OS
Fixes kernel bug #10451 http://bugzilla.kernel.org/show_bug.cgi?id=10451
Certain NAS appliances do not set the operating system or network operating system
fields in the session setup response on the wire. cifs was oopsing on the unexpected
zero length response fields (when trying to null terminate a zero length field).
This fixes the oops.
Acked-by: Jeff Layton <jlayton@redhat.com>
CC: stable <stable@kernel.org>
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/jfs/jfs_dinode.h')
0 files changed, 0 insertions, 0 deletions