commit | 76c510ad2e7d56cfe8f2cc7b23783e5c687cf704 | [log] [tgz] |
---|---|---|
author | Shirish Pargaonkar <shirishp@gmail.com> | Thu Jul 24 14:48:33 2008 +0000 |
committer | Steve French <sfrench@us.ibm.com> | Thu Jul 24 14:48:33 2008 +0000 |
tree | 1bc1f3e3cdda670affccffe3ef0c7be56643f7d0 | |
parent | 99b1f5b2f6cd2f65cce02c5f63302df5878a5fbc [diff] [blame] |
[CIFS] Fix possible double free if search immediately after search rewind fails Signed-off-by: Shirish Pargaonkar <shirishp@us.ibm.com> Signed-off-by: Steve French <sfrench@us.ibm.com>
diff --git a/fs/cifs/readdir.c b/fs/cifs/readdir.c index 83f3069..5f40ed3 100644 --- a/fs/cifs/readdir.c +++ b/fs/cifs/readdir.c
@@ -690,6 +690,7 @@ else cifs_buf_release(cifsFile->srch_inf. ntwrk_buf_start); + cifsFile->srch_inf.ntwrk_buf_start = NULL; } rc = initiate_cifs_search(xid, file); if (rc) {