From: Steve French Date: Tue, 17 Feb 2009 01:29:40 +0000 (+0000) Subject: Fix oops in cifs_strfromUCS_le mounting to servers which do not specify their OS X-Git-Tag: v2.6.27.20~84 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fbb38fcb8e793f5df68be9992354d9d50cbd41ea;p=pandora-kernel.git Fix oops in cifs_strfromUCS_le mounting to servers which do not specify their OS commit 69765529d701c838df19ea1f5ad2f33a528261ae upstream. 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 Signed-off-by: Steve French Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed