The Samba-Bugzilla – Attachment 3737 Details for
Bug 5901
vfs_streams_depot creates directory at invalid path
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to fix this bug
vfs_streams_depot.c.diff (text/plain), 579 bytes, created by
TAKAHASHI Motonobu
on 2008-11-15 09:00:10 UTC
(
hide
)
Description:
Patch to fix this bug
Filename:
MIME Type:
Creator:
TAKAHASHI Motonobu
Created:
2008-11-15 09:00:10 UTC
Size:
579 bytes
patch
obsolete
>--- vfs_streams_depot.c.org 2008-09-18 15:49:02.000000000 +0900 >+++ vfs_streams_depot.c 2008-11-15 23:54:43.000000000 +0900 >@@ -117,9 +117,17 @@ > struct file_id id; > uint8 id_buf[16]; > >+ tmp = talloc_asprintf(talloc_tos(), "%s/.streams", handle->conn->connectpath); >+ >+ if (tmp == NULL) { >+ errno = ENOMEM; >+ goto fail; >+ } >+ > const char *rootdir = lp_parm_const_string( > SNUM(handle->conn), "streams_depot", "directory", >- handle->conn->connectpath); >+ tmp); >+ TALLOC_FREE(tmp); > > if (base_sbuf == NULL) { > if (SMB_VFS_NEXT_STAT(handle, base_path, &sbuf) == -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 5901
: 3737