diff options
author | Pavel Shilovsky <piastry@etersoft.ru> | 2011-04-14 22:00:56 +0400 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2011-04-21 17:22:43 +0000 |
commit | 4906e50b37e6f6c264e7ee4237343eb2b7f8d16d (patch) | |
tree | db956af25beeca260ca69f1c69b79bb9f2f906b6 /fs/cifs/nterr.c | |
parent | f0e615c3cb72b42191b558c130409335812621d8 (diff) | |
download | linux-4906e50b37e6f6c264e7ee4237343eb2b7f8d16d.tar.gz linux-4906e50b37e6f6c264e7ee4237343eb2b7f8d16d.tar.bz2 linux-4906e50b37e6f6c264e7ee4237343eb2b7f8d16d.zip |
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>
Diffstat (limited to 'fs/cifs/nterr.c')
0 files changed, 0 insertions, 0 deletions