Commit 9b85c01b authored by Andreas Tille's avatar Andreas Tille
Browse files

Enlarge too short target string for sprintf

parent 5a6f6b77
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
snap (2013-11-29-9) UNRELEASED; urgency=medium

  * Enlarge too short target string for sprintf
    Closes: #897864

 -- Andreas Tille <tille@debian.org>  Mon, 07 May 2018 23:38:54 +0200

snap (2013-11-29-8) unstable; urgency=medium

  [ Helmut Grohne ]
+16 −0
Original line number Diff line number Diff line
Description: Enlarge too short target string for sprintf
Bug-Debian: https://bugs.debian.org/897864
Author: Andreas Tille <tille@debian.org>
Last-Update:  Mon, 07 May 2018 23:38:54 +0200

--- a/snap.c
+++ b/snap.c
@@ -84,7 +84,7 @@ int main (int argc, char *argv[]) {
 	zoeCDS          gene;
 	zoeVec          genes;
 	int             label, i;
-	char            option[16], name[16];
+	char            option[20], name[16];
 	FILE          * aa_stream = NULL;
 	FILE          * tx_stream = NULL;
 	FILE          * xd_stream  = NULL;
+1 −0
Original line number Diff line number Diff line
@@ -4,3 +4,4 @@ build-with-gcc-6.patch
use-CC.patch
replace_itoa_with_broken_indentation.patch
fix_missing_braces_in_if_statements.patch
gcc-8.patch