mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-06 10:46:21 +08:00
Add nul termination
This commit is contained in:
parent
192f83540c
commit
f3f72c5d2a
@ -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 New Issue
Block a user