git.samba.org
/
abartlet
/
samba.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a052aa8
)
s4-libndr: fix ndr_pull_string_array() for non utf16 arrays in s4 as well.
author
Günther Deschner
<gd@samba.org>
Fri, 14 May 2010 12:51:44 +0000
(14:51 +0200)
committer
Günther Deschner
<gd@samba.org>
Fri, 14 May 2010 12:51:44 +0000
(14:51 +0200)
Guenther
source4/librpc/ndr/ndr_string.c
patch
|
blob
|
history
diff --git
a/source4/librpc/ndr/ndr_string.c
b/source4/librpc/ndr/ndr_string.c
index d4e04c12b449825141602fd9acc792b70c735745..dfa72b5262c71e7d623ecfb680eb3e0c890d68cc 100644
(file)
--- a/
source4/librpc/ndr/ndr_string.c
+++ b/
source4/librpc/ndr/ndr_string.c
@@
-444,7
+444,7
@@
_PUBLIC_ enum ndr_err_code ndr_pull_string_array(struct ndr_pull *ndr, int ndr_f
return NDR_ERR_SUCCESS;
}
- switch (flags &
LIBNDR_STRING_FLAGS
) {
+ switch (flags &
(LIBNDR_FLAG_STR_NULLTERM|LIBNDR_FLAG_STR_NOTERM)
) {
case LIBNDR_FLAG_STR_NULLTERM:
/*
* here the strings are null terminated