The Samba-Bugzilla – Attachment 449 Details for
Bug 1206
[PATCH] netatalk vfs causes segfaults in samba
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
A patch to the function adding '.AppleDouble' to the hide list
patch-zx-modules-vfs_netatalk.c (text/plain), 689 bytes, created by
Patrick Bihan-Faou
on 2004-03-22 13:26:06 UTC
(
hide
)
Description:
A patch to the function adding '.AppleDouble' to the hide list
Filename:
MIME Type:
Creator:
Patrick Bihan-Faou
Created:
2004-03-22 13:26:06 UTC
Size:
689 bytes
patch
obsolete
>--- modules/vfs_netatalk.c.orig Mon Mar 22 21:35:01 2004 >+++ modules/vfs_netatalk.c Mon Mar 22 22:01:10 2004 >@@ -126,8 +126,7 @@ static void atalk_add_to_list(name_compa > } > } > >- if (!(new_list = calloc(1, >- (count == 0 ? 1 : count + 1) * sizeof(name_compare_entry)))) >+ if (!(new_list = calloc(count+2,sizeof(name_compare_entry)))) > return; > > for (i = 0; i < count; i ++) { >@@ -138,7 +137,12 @@ static void atalk_add_to_list(name_compa > new_list[i].name = strdup(APPLEDOUBLE); > new_list[i].is_wild = False; > >- free_namearray(*list); >+ i++; >+ >+ new_list[i].name = NULL; >+ new_list[i].is_wild = False; >+ >+ free_namearray(cur_list); > > *list = new_list; > new_list = 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 1206
:
449
|
5480
|
5486