Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-11-27 | stdio: fix sclose() buffer overrun when terminating string, realloc() error ↵ | cinap_lenrek | |
handling (thanks porlock) theres a bug is in sclose() where it doesnt check if wp is beyond the buffer. also wp was not updated after realloc(). bug was reported by porlock on 9fans: Plan 9's implementation of the standard C functions snprintf and vsnprintf have a buffer overrun bug. If the buffer length equals the output length (without the terminating null), then one too many characters is written to the buffer. For example, snprintf(buf, 4, "ABCD"); will write 5 characters to buf. | |||
2016-11-17 | /sys/src/lib*: clean up | ftrvxmtrx | |
2014-06-12 | libstdio: avoid issues with aliasing in dtoa() on amd64 (from 9atom, thanks ↵ | cinap_lenrek | |
to erik and charles) | |||
2011-03-30 | Import sources from 2011-03-30 iso image - lib | Taru Karttunen | |
2011-03-30 | Import sources from 2011-03-30 iso image | Taru Karttunen | |