The Samba-Bugzilla – Attachment 532 Details for
Bug 1413
SEGV using --delete and multiple sources
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Fixed the crash bug in make_file().
lastdir.patch (text/plain), 567 bytes, created by
Wayne Davison
on 2004-05-30 00:33:31 UTC
(
hide
)
Description:
Fixed the crash bug in make_file().
Filename:
MIME Type:
Creator:
Wayne Davison
Created:
2004-05-30 00:33:31 UTC
Size:
567 bytes
patch
obsolete
>--- flist.c 29 Apr 2004 19:37:15 -0000 1.218 >+++ flist.c 3 May 2004 01:24:10 -0000 1.220 >@@ -539,6 +539,7 @@ void receive_file_entry(struct file_stru > rdev_major = 0; > uid = 0, gid = 0; > *lastname = '\0'; >+ lastdir_len = -1; > return; > } > >@@ -745,7 +746,7 @@ struct file_struct *make_file(char *fnam > char *basename, *dirname, *bp; > unsigned short flags = 0; > >- if (!flist) /* lastdir isn't valid if flist is NULL */ >+ if (!flist || !flist->count) /* Ignore lastdir when invalid. */ > lastdir_len = -1; > > if (strlcpy(thisname, fname, sizeof thisname)
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 1413
: 532