[seq24-users] buffer overflow patch
Brought to you by:
rcbuse
|
From: Anthony G. <gr...@re...> - 2008-07-11 15:24:06
|
Here's something useful I just checked into the Fedora build of seq24.
Maybe we need a "seq25" project, to collect useful fixes for seq24 that
various people are creating. There doesn't appear to be any activity
upstream.
AG
--- 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);
AG
|