gint/src/std
lephe 1685813078 libc: fix a pointer overflow in kprint
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()...
2019-07-16 19:13:26 -04:00
..
memory.c core: add a hardware detection interface 2019-07-04 12:11:43 -04:00
stdio.c libc: fix a pointer overflow in kprint 2019-07-16 19:13:26 -04:00
string.c libc: implement a compliant formatted printer 2019-07-16 16:14:13 -04:00