Tweak
(cherry picked from commita2873eabf6) (cherry picked from commit4baac8b9f3)
This commit is contained in:
@@ -63,7 +63,7 @@ isc_result_t
|
||||
tohexstr(unsigned char *d, unsigned int len, char *out) {
|
||||
char c_ret[] = "AA";
|
||||
unsigned int i;
|
||||
int size = 2 + len * 2 + 1;
|
||||
int size = 2 + (len * 2) + 1;
|
||||
|
||||
out[0] = '\0';
|
||||
strlcat(out, "0x", size);
|
||||
|
||||
Reference in New Issue
Block a user