Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.10.0
-
None
Description
/* **************************************** */
static inline int safe_snprintf(char *str, size_t size, const char *format, ...)
{{{ .... }}}
This function fails for size = 0, and ... inside it calls vsnprintf, without considering that in case of error vsnprintf returns a negative number.
PR in progress.
Attachments
Issue Links
- links to