OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall
Root: /v/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 11-Jul-2008 14:41:43
Branch: HEAD Handle: 2008071113414300
Modified files:
openpkg-src/bison bison.patch bison.spec
Log:
avoid out-of-bounds access
Summary:
Revision Changes Path
1.5 +15 -1 openpkg-src/bison/bison.patch
1.67 +1 -1 openpkg-src/bison/bison.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/bison/bison.patch
============================================================================
$ cvs diff -u -r1.4 -r1.5 bison.patch
--- openpkg-src/bison/bison.patch 5 Jun 2006 20:07:35 -0000 1.4
+++ openpkg-src/bison/bison.patch 11 Jul 2008 12:41:43 -0000 1.5
@@ -1,6 +1,20 @@
+Index: data/yacc.c
+--- data/yacc.c.orig 2006-05-27 02:28:17 +0200
++++ data/yacc.c 2008-07-11 14:38:26 +0200
+@@ -1255,7 +1255,10 @@
+ users should not rely upon it. Assigning to YYVAL
+ unconditionally makes the parser a bit smaller, and it avoids a
+ GCC warning that YYVAL may be used uninitialized. */
++if (yylen > 0)
+ yyval = yyvsp[1-yylen];
++else
++ memset(&yyval, 0, sizeof(yyval));
+
+ ]b4_locations_if(
+ [[ /* Default location. */
Index: lib/timevar.c
--- lib/timevar.c.orig 2006-01-22 08:38:49 +0100
-+++ lib/timevar.c 2006-06-05 22:02:18 +0200
++++ lib/timevar.c 2008-07-11 14:23:48 +0200
@@ -45,6 +45,7 @@
# include <sys/times.h>
#endif
@@ .
patch -p0 <<'@@ .'
Index: openpkg-src/bison/bison.spec
============================================================================
$ cvs diff -u -r1.66 -r1.67 bison.spec
--- openpkg-src/bison/bison.spec 1 Jan 2008 14:51:21 -0000 1.66
+++ openpkg-src/bison/bison.spec 11 Jul 2008 12:41:43 -0000 1.67
@@ -36,7 +36,7 @@
Group: CompilerCompiler
License: GPL
Version: %{V_new}
-Release: 20080101
+Release: 20080711
# package options
%option with_old no
@@ .
______________________________________________________________________
OpenPKG http://openpkg.org
CVS Repository Commit List [email protected]