rpms/byacc/F-9 skeleton.c.diff,NONE,1.1 byacc.spec,1.6,1.7
Petr Machata (pmachata)
fedora-extras-commits at redhat.com
Mon Jul 14 10:46:41 UTC 2008
- Previous message: rpms/clamav/EL-5 clamav-0.93.3-initoff.patch, NONE, 1.1 clamav-0.93.3-pid.patch, NONE, 1.1 .cvsignore, 1.9, 1.10 clamav.spec, 1.51, 1.52 sources, 1.25, 1.26 clamav-0.80-initoff.patch, 1.2, NONE
- Next message: rpms/byacc/devel skeleton.c.diff,NONE,1.1 byacc.spec,1.6,1.7
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: pmachata
Update of /cvs/pkgs/rpms/byacc/F-9
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv19391
Modified Files:
byacc.spec
Added Files:
skeleton.c.diff
Log Message:
- Add a patch that fixes ancient buffer overflow
- Related: #454583
skeleton.c.diff:
--- NEW FILE skeleton.c.diff ---
===================================================================
RCS file: /usr/OpenBSD/cvs/src/usr.bin/yacc/skeleton.c,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -r1.28 -r1.29
--- src/usr.bin/yacc/skeleton.c 2007/09/03 21:14:58 1.28
+++ src/usr.bin/yacc/skeleton.c 2008/07/08 15:06:50 1.29
@@ -63,4 +63,5 @@
"#endif",
"#include <stdlib.h>",
+ "#include <string.h>",
"#define YYBYACC 1",
"#define YYMAJOR 1",
@@ -346,7 +347,10 @@
" YYPREFIX, yystate, yyn, yyrule[yyn]);",
"#endif",
" yym = yylen[yyn];",
- " yyval = yyvsp[1-yym];",
+ " if (yym)",
+ " yyval = yyvsp[1-yym];",
+ " else",
+ " memset(&yyval, 0, sizeof yyval);",
" switch (yyn)",
" {",
0
Index: byacc.spec
===================================================================
RCS file: /cvs/pkgs/rpms/byacc/F-9/byacc.spec,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- byacc.spec 3 Mar 2008 12:29:12 -0000 1.6
+++ byacc.spec 14 Jul 2008 10:45:55 -0000 1.7
@@ -3,11 +3,12 @@
Summary: Berkeley Yacc, a parser generator
Name: byacc
Version: 1.9.%{byaccdate}
-Release: 2%{?dist}
+Release: 3%{?dist}
License: Public Domain
Group: Development/Tools
URL: http://invisible-island.net/byacc/byacc.html
Source: ftp://invisible-island.net/byacc/byacc-%{byaccdate}.tgz
+Patch1: skeleton.c.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
%description
@@ -19,6 +20,7 @@
%prep
%setup -q -n byacc-%{byaccdate}
+%patch1 -p3
%build
%configure --disable-dependency-tracking
@@ -47,6 +49,10 @@
%{_mandir}/man1/byacc.1*
%changelog
+* Mon Jul 14 2008 Petr Machata <pmachata at redhat.com> - 1.9.20070509-3
+- Add a patch that fixes ancient buffer overflow
+- Related: #454583
+
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng at fedoraproject.org> - 1.9.20070509-2
- Autorebuild for GCC 4.3
- Previous message: rpms/clamav/EL-5 clamav-0.93.3-initoff.patch, NONE, 1.1 clamav-0.93.3-pid.patch, NONE, 1.1 .cvsignore, 1.9, 1.10 clamav.spec, 1.51, 1.52 sources, 1.25, 1.26 clamav-0.80-initoff.patch, 1.2, NONE
- Next message: rpms/byacc/devel skeleton.c.diff,NONE,1.1 byacc.spec,1.6,1.7
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the scm-commits
mailing list