The Samba-Bugzilla – Attachment 16921 Details for
Bug 14892
SIGSEGV in rmdir_internals/synthetic_pathref - dirfsp is used uninitialized in rmdir_internals().
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
raw patch for 4.15.next
look (text/plain), 800 bytes, created by
Jeremy Allison
on 2021-11-02 17:40:41 UTC
(
hide
)
Description:
raw patch for 4.15.next
Filename:
MIME Type:
Creator:
Jeremy Allison
Created:
2021-11-02 17:40:41 UTC
Size:
800 bytes
patch
obsolete
>diff --git a/source3/smbd/close.c b/source3/smbd/close.c >index 191626557dc..347ed04030c 100644 >--- a/source3/smbd/close.c >+++ b/source3/smbd/close.c >@@ -1049,6 +1049,8 @@ static NTSTATUS rmdir_internals(TALLOC_CTX *ctx, struct files_struct *fsp) > goto err; > } > >+ dirfsp = dir_hnd_fetch_fsp(dir_hnd); >+ > while ((dname = ReadDirName(dir_hnd, &dirpos, &st, &talloced)) != NULL) { > struct smb_filename *smb_dname_full = NULL; > struct smb_filename *direntry_fname = NULL; >@@ -1149,7 +1151,6 @@ static NTSTATUS rmdir_internals(TALLOC_CTX *ctx, struct files_struct *fsp) > > /* Do a recursive delete. */ > RewindDir(dir_hnd,&dirpos); >- dirfsp = dir_hnd_fetch_fsp(dir_hnd); > > while ((dname = ReadDirName(dir_hnd, &dirpos, &st, &talloced)) != NULL) { > struct smb_filename *direntry_fname = NULL;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 14892
:
16921
|
16941
|
16951