Fix integer overflow issue; fix #4108
I misunderstood the return value from `snprintf()`, which is NOT number of characters written in buffer, but the number of character the buffer has to have to write the complete output.
Showing
Please register or sign in to comment