The Samba-Bugzilla – Attachment 3999 Details for
Bug 6196
Unable to serve files with colons to Linux CIFS/VFS client
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for 3.3.x and 3.2.x
look (text/plain), 813 bytes, created by
Jeremy Allison
on 2009-03-18 21:57:46 UTC
(
hide
)
Description:
Patch for 3.3.x and 3.2.x
Filename:
MIME Type:
Creator:
Jeremy Allison
Created:
2009-03-18 21:57:46 UTC
Size:
813 bytes
patch
obsolete
>diff --git a/source/smbd/reply.c b/source/smbd/reply.c >index 499b67f..46653cd 100644 >--- a/source/smbd/reply.c >+++ b/source/smbd/reply.c >@@ -76,11 +76,16 @@ static NTSTATUS check_path_syntax_internal(char *path, > } > } > >- if (!stream_started && *s == ':') { >+ if (!posix_path && !stream_started && *s == ':') { > if (*p_last_component_contains_wcard) { > return NT_STATUS_OBJECT_NAME_INVALID; > } >- /* stream names allow more characters than file names */ >+ /* Stream names allow more characters than file names. >+ We're overloading posix_path here to allow a wider >+ range of characters. If stream_started is true this >+ is still a Windows path even if posix_path is true. >+ JRA. >+ */ > stream_started = true; > start_of_name_component = false; > posix_path = true;
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 6196
: 3999