Package: edfbrowser / 2.00+dfsg-1

Metadata

Package Version Patches format
edfbrowser 2.00+dfsg-1 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
use_debian_packaged_edflib.patch | (download)

edfbrowser.pro | 3 1 + 2 - 0 !
1 file changed, 1 insertion(+), 2 deletions(-)

---
format security.patch | (download)

filt/remez.c | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)

 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