git.samba.org
/
bbaumbach
/
samba-autobuild
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
r25000: Fix some more C++ compatibility warnings.
[bbaumbach/samba-autobuild/.git]
/
source4
/
libcli
/
util
/
asn1.c
diff --git
a/source4/libcli/util/asn1.c
b/source4/libcli/util/asn1.c
index e7a2e163aaa967fe5df64c524099dcb207e76166..8bd091a3195730f9f8aecf9dfb61937cb449cc34 100644
(file)
--- a/
source4/libcli/util/asn1.c
+++ b/
source4/libcli/util/asn1.c
@@
-600,7
+600,7
@@
BOOL asn1_read_LDAPString(struct asn1_data *data, TALLOC_CTX *mem_ctx, char **s)
data->has_error = True;
return False;
}
- *s = talloc_
size(mem_ctx
, len+1);
+ *s = talloc_
array(mem_ctx, char
, len+1);
if (! *s) {
data->has_error = True;
return False;