projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
99b1f5b
)
[CIFS] Fix possible double free if search immediately after search rewind fails
author
Shirish Pargaonkar
<shirishp@gmail.com>
Thu, 24 Jul 2008 14:48:33 +0000
(14:48 +0000)
committer
Steve French
<sfrench@us.ibm.com>
Thu, 24 Jul 2008 14:48:33 +0000
(14:48 +0000)
Signed-off-by: Shirish Pargaonkar <shirishp@us.ibm.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
fs/cifs/readdir.c
patch
|
blob
|
history
diff --git
a/fs/cifs/readdir.c
b/fs/cifs/readdir.c
index 83f30695488303a785d24f02870fcfff612dd7e7..5f40ed3473f572ec59646ec33aa4978926d50548 100644
(file)
--- a/
fs/cifs/readdir.c
+++ b/
fs/cifs/readdir.c
@@
-690,6
+690,7
@@
static int find_cifs_entry(const int xid, struct cifsTconInfo *pTcon,
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) {