The Samba-Bugzilla – Attachment 2889 Details for
Bug 4521
smbclient crashes during tab completion when tab hit twice
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to correct the segfault
smbclient-segfault.patch (text/plain), 499 bytes, created by
Andrew Kroeger
on 2007-08-26 23:31:59 UTC
(
hide
)
Description:
Patch to correct the segfault
Filename:
MIME Type:
Creator:
Andrew Kroeger
Created:
2007-08-26 23:31:59 UTC
Size:
499 bytes
patch
obsolete
>Index: client/client.c >=================================================================== >--- client/client.c (revision 24697) >+++ client/client.c (working copy) >@@ -2841,7 +2841,8 @@ > > cleanup: > for (i = 0; i < info.count; i++) >- free(info.matches[i]); >+ if (info.matches[i]) >+ free(info.matches[i]); > free(info.matches); > return NULL; > } >@@ -2923,7 +2924,8 @@ > > cleanup: > while (i >= 0) { >- free(matches[i]); >+ if(matches[i]) >+ free(matches[i]); > i--; > } > free(matches);
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 4521
:
2889
|
2891