The Samba-Bugzilla – Attachment 9244 Details for
Bug 8077
userParameters needs not to be converted to utf8
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
First Patch for v4-0-test
tmp40.diff (text/plain), 1.27 KB, created by
Stefan Metzmacher
on 2013-09-27 07:38:34 UTC
(
hide
)
Description:
First Patch for v4-0-test
Filename:
MIME Type:
Creator:
Stefan Metzmacher
Created:
2013-09-27 07:38:34 UTC
Size:
1.27 KB
patch
obsolete
>From 0eab7a4c302f11ce472da18b36daf14f3e467f7b Mon Sep 17 00:00:00 2001 >From: Andrew Bartlett <abartlet@samba.org> >Date: Tue, 24 Sep 2013 10:18:36 -0700 >Subject: [PATCH] dsdb: Convert the full string from UTF16 to UTF8, including > embedded NULLs > >Bug: https://bugzilla.samba.org/show_bug.cgi?id=8077 >Note that this doesn't fix the userParameters problem >completely, but it doesn't truncate the userParameters value >anymore. > >Signed-off-by: Andrew Bartlett <abartlet@samba.org> >Reviewed-by: Stefan Metzmacher <metze@samba.org> > >Autobuild-User(master): Stefan Metzmacher <metze@samba.org> >Autobuild-Date(master): Thu Sep 26 22:05:12 CEST 2013 on sn-devel-104 >(cherry picked from commit 89200c227f36a063612eb38927ac8dee18e044d5) >--- > source4/dsdb/schema/schema_syntax.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/source4/dsdb/schema/schema_syntax.c b/source4/dsdb/schema/schema_syntax.c >index f7176cd1..c2e0208 100644 >--- a/source4/dsdb/schema/schema_syntax.c >+++ b/source4/dsdb/schema/schema_syntax.c >@@ -1529,7 +1529,7 @@ static WERROR dsdb_syntax_UNICODE_drsuapi_to_ldb(const struct dsdb_syntax_ctx *c > return WERR_FOOBAR; > } > >- out->values[i] = data_blob_string_const(str); >+ out->values[i] = data_blob_const(str, converted_size); > } > > return WERR_OK; >-- >1.7.9.5 >
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
Flags:
asn
:
review+
Actions:
View
Attachments on
bug 8077
:
6597
|
6599
|
9243
| 9244 |
9251