mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
r26263: Don't assume CH_UNIX is CH_UTF8.
This commit is contained in:
parent
6017b16f50
commit
69157be9b1
@ -85,7 +85,7 @@ static struct ldb_message *reg_ldb_pack_value(struct ldb_context *ctx,
|
||||
switch (type) {
|
||||
case REG_SZ:
|
||||
case REG_EXPAND_SZ:
|
||||
val.length = convert_string_talloc(mem_ctx, CH_UTF16, CH_UTF8,
|
||||
val.length = convert_string_talloc(mem_ctx, CH_UTF16, CH_UNIX,
|
||||
(void *)data.data,
|
||||
data.length,
|
||||
(void **)&val.data);
|
||||
|
Loading…
Reference in New Issue
Block a user