This repository has been archived on 2026-09-10. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
seq24/seq24-buffer-overflow.patch
2008-07-11 14:57:24 +00:00

11 lines
353 B
Diff

--- src/seqdata.cpp~ 2006-05-17 21:40:15.000000000 -0700
+++ src/seqdata.cpp 2008-07-11 07:44:12.000000000 -0700
@@ -118,7 +118,7 @@
6,
30 );
- char val[4];
+ char val[5];
sprintf( val, "%3d\n", i );
char num[6];
memset( num, 0, 6);