diff options
author | Volker Lendecke <vl@samba.org> | 2010-04-10 16:59:27 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2010-04-10 17:05:38 +0200 |
commit | 27d3bdd36b374b40a9e383262e2e30c813943d7e (patch) | |
tree | 307ab2a53d4cdae2c7ca3ba81ca80dbbb4101266 /nsswitch | |
parent | 4085e189a147841fed64ecbe072cde007cedad0d (diff) | |
download | samba-27d3bdd36b374b40a9e383262e2e30c813943d7e.tar.gz samba-27d3bdd36b374b40a9e383262e2e30c813943d7e.tar.bz2 samba-27d3bdd36b374b40a9e383262e2e30c813943d7e.zip |
libwbclient: Ensure correct 0-termination in wbcGetSidAliases
Diffstat (limited to 'nsswitch')
-rw-r--r-- | nsswitch/libwbclient/wbc_sid.c | 1 |
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; |