Package: dumpasn1 / 20130608-1

Metadata

Package Version Patches format
dumpasn1 20130608-1 3.0 (quilt)

Patch series

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

dumpasn1.c | 26 14 + 12 - 0 !
1 file changed, 14 insertions(+), 12 deletions(-)

 dumpasn1 doesn't properly display localized bmpstring
fixprintf.patch | (download)

dumpasn1.c | 8 4 + 4 - 0 !
1 file changed, 4 insertions(+), 4 deletions(-)

 dumpasn1: error: format not a string literal and no format arguments
 >I believe we are not looking at the same file. So here is my log again:
 >
 >$ wget http://www.cs.auckland.ac.nz/~pgut001/dumpasn1.c
 >$ gcc  -Wformat  -Werror=3Dformat-security -DDEBIAN dumpasn1.c -o dummy
 >dumpasn1.c: In function =91complain=92:
 >dumpasn1.c:1181: error: format not a string literal and no format arguments
 >$ head -1181 dumpasn1.c | tail -1
 >                        fprintf( output, INDENT_STRING );
 
 It is the same file, INDENT_STRING is a macro that expands into a reference
 into the const, static string of spaces I quoted.
 
 >I believe fprintf needs explicit format specifier to please the gcc security
 >option.
 
 In that case you could change it to something like:
 
   fprintf( output, "%s", INDENT_STRING );
 
 Peter.