The Samba-Bugzilla – Attachment 3746 Details for
Bug 5908
Samba 3.0.32 - internal change notify on share directory fails.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for 3.0.x.
change_notify_on_volume_root.patch (text/plain), 685 bytes, created by
Jeremy Allison
on 2008-11-18 14:24:05 UTC
(
hide
)
Description:
Patch for 3.0.x.
Filename:
MIME Type:
Creator:
Jeremy Allison
Created:
2008-11-18 14:24:05 UTC
Size:
685 bytes
patch
obsolete
>--- /vobs/vendor/smb/source/smbd/notify.c@@/main/local/bug20372/0 2008-11-18 12:39:02.195390000 +0200 >+++ /vobs/vendor/smb/source/smbd/notify.c@@/main/local/bug20372/2 2008-11-18 14:38:05.000000000 +0200 >@@ -348,8 +348,14 @@ void notify_fname(connection_struct *con > const char *path) > { > char *fullpath; >+ /* cope with ./ on the beginning of the path */ >+ const char *tmp_path = path; > >- if (asprintf(&fullpath, "%s/%s", conn->connectpath, path) == -1) { >+ if (strlen(path) > 1 && path[0] == '.' && path[1] == '/') { >+ tmp_path = path + 2; >+ } >+ >+ if (asprintf(&fullpath, "%s/%s", conn->connectpath, tmp_path) == -1) { > DEBUG(0, ("asprintf failed\n")); > return; > }
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 5908
:
3746
|
3747
|
3748