tags 643396 + pending thanks Dear maintainer,
I've prepared an NMU for gnudoq (versioned as 0.94-2.1) and uploaded it to DELAYED/2. Please feel free to tell me if I should delay it longer. Regards. -- Simon Paillard
diffstat for gnudoq_0.94-2 gnudoq_0.94-2.1 debian/patches/fix-643396-format-security.patch | 20 ++++++++++++++++++++ gnudoq-0.94/debian/changelog | 9 +++++++++ gnudoq-0.94/debian/patches/series | 1 + 3 files changed, 30 insertions(+) diff -u gnudoq-0.94/debian/changelog gnudoq-0.94/debian/changelog --- gnudoq-0.94/debian/changelog +++ gnudoq-0.94/debian/changelog @@ -1,3 +1,12 @@ +gnudoq (0.94-2.1) unstable; urgency=low + + * Non-maintainer upload. + * Add fix-643396-format-security.patch. Fix FTBFS: error: format not a + string literal and no format arguments [-Werror=format-security]. + (Closes: #643396). + + -- Salvatore Bonaccorso <car...@debian.org> Fri, 25 Nov 2011 18:50:05 +0100 + gnudoq (0.94-2) unstable; urgency=low * Move binary to /usr/games. diff -u gnudoq-0.94/debian/patches/series gnudoq-0.94/debian/patches/series --- gnudoq-0.94/debian/patches/series +++ gnudoq-0.94/debian/patches/series @@ -2,0 +3 @@ +fix-643396-format-security.patch only in patch2: unchanged: --- gnudoq-0.94.orig/debian/patches/fix-643396-format-security.patch +++ gnudoq-0.94/debian/patches/fix-643396-format-security.patch @@ -0,0 +1,20 @@ +--- a/sudoku.C ++++ b/sudoku.C +@@ -48,14 +48,14 @@ + grid[stack[i].index] = '1' + stack[i].value; + } + +- printf(top); +- printf(across); ++ printf("%s", top); ++ printf("%s", across); + for(int i = 0; i < 9; ++i) { + printf(lines, i + 1, + grid[i * 9], grid[i*9+1], grid[i*9+2], + grid[i*9+3], grid[i*9+4], grid[i*9+5], + grid[i*9+6], grid[i*9+7], grid[i*9+8]); +- printf(i % 3 == 2 ? boss : across); ++ printf("%d", i % 3 == 2 ? boss : across); + } + + return 0;