Skip to content
Snippets Groups Projects
Commit 967b6d8f authored by deuce's avatar deuce
Browse files

Make MAX_ARG_LEN only apply to format specifiers other than %s. For %s,

require X+1 bytes where X is the largest of width, precision, and the
strlen() of the passed pointer.  If this is larger than MAX_ARG_LEN,
malloc() a buffer of size X+1.
parent e1f17de7
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment