mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user