]> git.sur5r.net Git - openldap/commitdiff
Add nul termination
authorKurt Zeilenga <kurt@openldap.org>
Fri, 26 Oct 2001 02:01:42 +0000 (02:01 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Fri, 26 Oct 2001 02:01:42 +0000 (02:01 +0000)
libraries/libldap/url.c

index 48b8f7b30d44970837f7987b3b0f25e90b73e42c..5dc0b7038f904b4ad597ce396dbd734a1a628090 100644 (file)
@@ -286,6 +286,7 @@ static int hex_escape( char *buf, const char *s, int list )
                }
        }
 
+       buf[pos] = '\0';
        return pos;
 }