Updated.
committer: mfx <mfx> 1043211831 +0000
This commit is contained in:
@@ -775,6 +775,7 @@ static int xdopr(char *buffer, size_t maxlen, const char *format, va_list args)
|
||||
size_t ret;
|
||||
|
||||
// preconditions
|
||||
assert(maxlen < INT_MAX);
|
||||
if (buffer != NULL)
|
||||
assert((int)maxlen > 0);
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user