mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 14:35:26 +00:00
Fix size of output string in hash tests
This commit is contained in:
@@ -55,7 +55,7 @@ isc_result_t
|
||||
tohexstr(unsigned char *d, unsigned int len, char *out) {
|
||||
char c_ret[] = "AA";
|
||||
unsigned int i;
|
||||
int size = len * 2 + 1;
|
||||
int size = 2 + len * 2 + 1;
|
||||
|
||||
out[0] = '\0';
|
||||
strlcat(out, "0x", size);
|
||||
|
Reference in New Issue
Block a user