summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-04-10 16:59:27 +0200
committerVolker Lendecke <vl@samba.org>2010-04-10 17:05:38 +0200
commit27d3bdd36b374b40a9e383262e2e30c813943d7e (patch)
tree307ab2a53d4cdae2c7ca3ba81ca80dbbb4101266
parent4085e189a147841fed64ecbe072cde007cedad0d (diff)
downloadsamba-27d3bdd36b374b40a9e383262e2e30c813943d7e.tar.gz
samba-27d3bdd36b374b40a9e383262e2e30c813943d7e.tar.bz2
samba-27d3bdd36b374b40a9e383262e2e30c813943d7e.zip
libwbclient: Ensure correct 0-termination in wbcGetSidAliases
-rw-r--r--nsswitch/libwbclient/wbc_sid.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/nsswitch/libwbclient/wbc_sid.c b/nsswitch/libwbclient/wbc_sid.c
index e58912214e..091a550bad 100644
--- a/nsswitch/libwbclient/wbc_sid.c
+++ b/nsswitch/libwbclient/wbc_sid.c
@@ -576,6 +576,7 @@ wbcErr wbcGetSidAliases(const struct wbcDomainSid *dom_sid,
extra_data[extra_data_len++] = '\n';
extra_data[extra_data_len] = '\0';
}
+ extra_data_len += 1;
request.extra_data.data = extra_data;
request.extra_len = extra_data_len;