mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-02-18 01:58:33 -05:00
Add nul termination
This commit is contained in:
parent
192f83540c
commit
f3f72c5d2a
1 changed files with 1 additions and 0 deletions
|
|
@ -286,6 +286,7 @@ static int hex_escape( char *buf, const char *s, int list )
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
buf[pos] = '\0';
|
||||||
return pos;
|
return pos;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue