Debian Patches

Status for braillefont/1.0-8

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 Judit Foglszinger <urbec@debian.org> 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
*/
Judit Foglszinger <urbec@debian.org> 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 to upstream via IRC on Fri Jul 23 22:00:36 2021
.
Despite of https://dep-team.pages.debian.net/deps/dep3/ saying
'Any value other than "no" or "not-needed"
means that the patch has been forwarded upstream', there has been
a quite visible warning about 'patch with invalid metadata' on tracker.
Something seems to regard any value other than an URL as invalid.
To get rid of that warning, switched to 'Forwarded: not-needed',
what is kinda correct, as it has been forwarded, so not needed to do it again :)
Judit Foglszinger <urbec@debian.org> not-needed 2021-07-23

All known versions for source package 'braillefont'

Links