forked from Lephenixnoir/gint
1685813078
When the size of the input buffer is not specified, the default was INT_MAX; however this will cause the pointer value to overflow in many situations, causing kprint_flush() to flush prematurely and write NUL bytes at inappropriate places. This commit changes the default size to 65535. Morale: never use sprintf() or vsprintf()... |
||
---|---|---|
.. | ||
memory.c | ||
stdio.c | ||
string.c |