From d51dfc6d13785641061bb7e7d5909a7a0f3ecfdb Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Tue, 10 Jun 2008 00:15:36 +0000 Subject: Null terminate things propelry --- plugin/autoserial.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'plugin/autoserial.c') diff --git a/plugin/autoserial.c b/plugin/autoserial.c index 16af5d7..7380cef 100644 --- a/plugin/autoserial.c +++ b/plugin/autoserial.c @@ -100,6 +100,9 @@ search_for_dns (const char *base, const char *filter, char ***results) *(d++) = dn; } + /* Null terminate */ + *d = NULL; + slapi_pblock_destroy (pb); *results = dns; -- cgit v1.2.3