Package: edfbrowser / 2.00+dfsg-1
Metadata
Package | Version | Patches format |
---|---|---|
edfbrowser | 2.00+dfsg-1 | 3.0 (quilt) |
Patch series
view the series filePatch | File delta | Description |
---|---|---|
use_debian_packaged_edflib.patch | (download) |
edfbrowser.pro |
3 1 + 2 - 0 ! |
--- |
format security.patch | (download) |
filt/remez.c |
4 2 + 2 - 0 ! |
filt/remez.c: ensure string format security This patch addresses a compilation failure when building EDFbrowser with -Werror=format-security with gcc: . filt/remez.c: In function init_frequencies: filt/remez.c:174:27: error: format not a string literal and no format arguments [-Werror=format-security] 174 | fprintf(stderr, spec->err_msg); | ~~~~^~~~~~~~~ filt/remez.c: In function func_b: filt/remez.c:1024:25: error: format not a string literal and no format arguments [-Werror=format-security] 1024 | fprintf(stderr, spec->err_msg); | ~~~~^~~~~~~~~ . The spec->err_msg should be preformatted already, so any occurrence of a percent format control in the resulting string may result in a crash of the function trying to print out the message to stderr. It should be unlikely, but in doubt |
1