From: Pavel Shilovsky Date: Thu, 14 Apr 2011 18:00:56 +0000 (+0400) Subject: CIFS: Fix memory over bound bug in cifs_parse_mount_options X-Git-Tag: v2.6.39-rc5~7^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4906e50b37e6f6c264e7ee4237343eb2b7f8d16d;p=pandora-kernel.git CIFS: Fix memory over bound bug in cifs_parse_mount_options While password processing we can get out of options array bound if the next character after array is delimiter. The patch adds a check if we reach the end. Signed-off-by: Pavel Shilovsky Reviewed-by: Jeff Layton Signed-off-by: Steve French --- Reading git-diff-tree failed