Closed noloader closed 4 years ago
I believe the Unbound folks used the following in a similar situation:
char num[16];
Also see Unbound Issue 169 and Commit 348e246b6666.
Thanks, I find this function rather unreadable to be honest and will replace it with something easier to read/understand.
Analysis on 32-bit Ubuntu 18.04 is flagging the buffer used in
ldns_duration2string
. The buffer is about 6 chars too small for data in the range of the unsigned type.