From 27d3bdd36b374b40a9e383262e2e30c813943d7e Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sat, 10 Apr 2010 16:59:27 +0200 Subject: libwbclient: Ensure correct 0-termination in wbcGetSidAliases --- nsswitch/libwbclient/wbc_sid.c | 1 + 1 file changed, 1 insertion(+) (limited to 'nsswitch') 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; -- cgit