The Samba-Bugzilla – Attachment 4559 Details for
Bug 6636
Deallocation of a pointer not malloced
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix a bogus free() in uncache_tmp_xattrs()
uncache-free-fix.patch (text/plain), 289 bytes, created by
Wayne Davison
on 2009-08-14 09:10:55 UTC
(
hide
)
Description:
Fix a bogus free() in uncache_tmp_xattrs()
Filename:
MIME Type:
Creator:
Wayne Davison
Created:
2009-08-14 09:10:55 UTC
Size:
289 bytes
patch
obsolete
>--- a/xattrs.c >+++ b/xattrs.c >@@ -751,7 +751,7 @@ void uncache_tmp_xattrs(void) > rsync_xal_l.count = prior_xattr_count; > while (xattr_item-- > xattr_start) { > rsync_xal_free(xattr_item); >- free(xattr_item); >+ free(xattr_item->items); > } > prior_xattr_count = (size_t)-1; > }
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 6636
: 4559