Package: readseq / 1-15

buffer_overflow.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Author: Michael Bienia <geser@ubuntu.com>
Last-Update: 30 Dec 2013 18:34:52 +0100
Bug-Debian: http://bugs.debian.org/733650
Description: Fix buffer overflow in ureadseq.c

--- readseq-1.orig/ureadseq.c
+++ readseq-1/ureadseq.c
@@ -1768,7 +1768,7 @@
 
   short linesout = 0, seqtype = kNucleic;
   long  i, j, l, l1, ibase;
-  char  idword[31], endstr[10];
+  char  idword[31], endstr[14];
   char  seqnamestore[128], *seqname = seqnamestore;
   char  s[kMaxseqwidth], *cp;
   char  nameform[10], numform[10], nocountsymbols[10];