The Samba-Bugzilla – Attachment 2129 Details for
Bug 4084
smbclient segfaults completing filename that starts with 'dir'
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
fixes crash in completing files named dir*
smbclient-complete-dir.diff (text/plain), 487 bytes, created by
Steve Leung
on 2006-09-07 01:55:12 UTC
(
hide
)
Description:
fixes crash in completing files named dir*
Filename:
MIME Type:
Creator:
Steve Leung
Created:
2006-09-07 01:55:12 UTC
Size:
487 bytes
patch
obsolete
>Index: client/client.c >=================================================================== >--- client/client.c (revision 18196) >+++ client/client.c (working copy) >@@ -3199,7 +3199,7 @@ > info.matches[0] = SMB_STRDUP(info.matches[1]); > else { > info.matches[0] = (char *)SMB_MALLOC(info.samelen+1); >- if (!info.matches[0]) >+ if (!info.matches[0] || !info.matches[1]) > goto cleanup; > strncpy(info.matches[0], info.matches[1], info.samelen); > info.matches[0][info.samelen] = 0;
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 4084
: 2129