Patch | Description | Author | Forwarded | Bugs | Origin | Last update |
---|---|---|---|---|---|---|
adding-support-for-build-flags | Adding support for build flags Changing Makefile to support CPPFLAGS, CFLAGS and LDFLAGS | not-needed | 2020-12-03 | |||
fixing-possible-buffer-overflow-in-fgetws | fixing possible buffer overflow in fgetws sizeof(buf) is 1024, but sizeof(wchar_t) is 4, so there is just space for sizeof(buf)/sizeof(wchar_t) - 256 chars in buffer. . /* CC="gcc -D_FORTIFY_SOURCE=2 -O2" make ... call to __fgetws_chk_warn declared with attribute warning: \ fgetws called with bigger size than length of destination buffer */ |
yes | 2020-12-03 | |||
fixing-garbled-output-for-no-trailing-newline-in-input | Fixing garbled output for no trailing newline in input Printing newline in case of eof to emulate a trailing newline. . Due to how fgetws works (reading until meeting a newline, returning NULL, if end of stream is reached), if there would be a trailing newline, we never would see the eof, so we wouldn't print double newlines. . This patch only fixes the case of a non-interactive input, because in the interactive case, the input itself shifts the output, if there is no new line - example: test . The patch has been forwarded upstream via IRC on Fri Jul 23 22:00:36 2021 |
invalid | 2021-07-23 |