commit | 4906e50b37e6f6c264e7ee4237343eb2b7f8d16d | [log] [tgz] |
---|---|---|
author | Pavel Shilovsky <piastry@etersoft.ru> | Thu Apr 14 22:00:56 2011 +0400 |
committer | Steve French <sfrench@us.ibm.com> | Thu Apr 21 17:22:43 2011 +0000 |
tree | db956af25beeca260ca69f1c69b79bb9f2f906b6 | |
parent | f0e615c3cb72b42191b558c130409335812621d8 [diff] |
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 <piastry@etersoft.ru> Reviewed-by: Jeff Layton <jlayton@redhat.com> Signed-off-by: Steve French <sfrench@us.ibm.com>