rpms/byacc/F-8 skeleton.c.diff,NONE,1.1 byacc.spec,1.3,1.4
Petr Machata (pmachata)
fedora-extras-commits at redhat.com
Mon Jul 14 10:47:20 UTC 2008
- Previous message (by thread): rpms/gtksourceview-sharp/devel gtksourceview-sharp.spec, 1.21, 1.22 import.log, 1.2, 1.3
- Next message (by thread): rpms/gnome-do/devel import.log, NONE, 1.1 gnome-do.spec, 1.12, 1.13 gnome-do-0.4.0.1-libdir.patch, 1.1, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: pmachata
Update of /cvs/pkgs/rpms/byacc/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv19465
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-8/byacc.spec,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- byacc.spec 12 Sep 2007 15:01:11 -0000 1.3
+++ byacc.spec 14 Jul 2008 10:46:30 -0000 1.4
@@ -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://dickey.his.com/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
+
* Fri Sep 12 2007 Matthias Saou <http://freshrpms.net/> 1.9.20050813-2
- Update summary.
- Remove useless doc copying in install section.
- Previous message (by thread): rpms/gtksourceview-sharp/devel gtksourceview-sharp.spec, 1.21, 1.22 import.log, 1.2, 1.3
- Next message (by thread): rpms/gnome-do/devel import.log, NONE, 1.1 gnome-do.spec, 1.12, 1.13 gnome-do-0.4.0.1-libdir.patch, 1.1, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list