mirror of
https://github.com/curl/curl.git
synced 2026-05-19 13:16:20 +03:00
oops 5 bytes makes 4 letters plus zero byte
This commit is contained in:
parent
387ec712e6
commit
b0cd96478c
1 changed files with 1 additions and 1 deletions
|
|
@ -155,7 +155,7 @@ static const char *inet_ntop6 (const u_char *src, char *dst, size_t size)
|
|||
tp += strlen(tp);
|
||||
break;
|
||||
}
|
||||
tp += snprintf(tp, 4, "%lx", words[i]);
|
||||
tp += snprintf(tp, 5, "%lx", words[i]);
|
||||
}
|
||||
|
||||
/* Was it a trailing run of 0x00's?
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue