rpms/tetex-lgrind/devel lgrind-3.67-buffersize.patch, NONE, 1.1 tetex-lgrind.spec, 1.12, 1.13
Michael Schwendt (mschwendt)
fedora-extras-commits at redhat.com
Tue Aug 23 13:21:34 UTC 2005
- Previous message (by thread): rpms/tetex-lgrind/devel lgrind-3.67-options.patch, NONE, 1.1 tetex-lgrind.spec, 1.11, 1.12
- Next message (by thread): rpms/tetex-lgrind/FC-3 lgrind-3.67-buffersize.patch, NONE, 1.1 lgrind-3.67-options.patch, NONE, 1.1 tetex-lgrind.spec, 1.7, 1.8
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: mschwendt
Update of /cvs/extras/rpms/tetex-lgrind/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv12451
Modified Files:
tetex-lgrind.spec
Added Files:
lgrind-3.67-buffersize.patch
Log Message:
Fix buffersize in lgutils.c
lgrind-3.67-buffersize.patch:
--- NEW FILE lgrind-3.67-buffersize.patch ---
diff -Nur lgrind-orig/source/lgutil.c lgrind/source/lgutil.c
--- lgrind-orig/source/lgutil.c 2001-11-04 12:24:22.000000000 +0100
+++ lgrind/source/lgutil.c 2005-08-23 15:03:04.000000000 +0200
@@ -111,9 +111,9 @@
*config='\n';
do {
check=0;
- if (*config=='\n' || config[strlen(config)-2]!='\\')
+ if (*config=='\n' || (strlen(config)>1 && config[strlen(config)-2]!='\\') )
check=1;
- if (fgets(config, BUFFERSIZE, tf)==NULL) break;
+ if (fgets(config, BUFFERSIZE/4, tf)==NULL) break;
if (check!=0) AddToLList(config, &currlch, &llch);
} while (strcmp((*currlch).name, "EndOfLanguageDefinitions")!=0);
rch=lch;
Index: tetex-lgrind.spec
===================================================================
RCS file: /cvs/extras/rpms/tetex-lgrind/devel/tetex-lgrind.spec,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- tetex-lgrind.spec 23 Aug 2005 12:39:15 -0000 1.12
+++ tetex-lgrind.spec 23 Aug 2005 13:21:32 -0000 1.13
@@ -16,6 +16,7 @@
Source0: ftp://ftp.dante.de/tex-archive/support/lgrind.tar.gz
Patch0: lgrind-3.67-parsevartab.patch
Patch1: lgrind-3.67-options.patch
+Patch2: lgrind-3.67-buffersize.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires(post): tetex
Requires(postun): tetex
@@ -36,6 +37,7 @@
%setup -q -n lgrind
%patch0 -p1 -b .parsevartab
%patch1 -p1 -b .options
+%patch2 -p1 -b .buffersize
%build
make %{?_smp_mflags} \
@@ -88,6 +90,7 @@
%changelog
* Tue Aug 23 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 3.67-9
- Fix many segfaults in parsing of options (#166519).
+- Fix fgets buffersize in lgutil.c.
* Thu Aug 4 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 3.67-8
- Install the dvi file where it can be found by texdoc.
- Previous message (by thread): rpms/tetex-lgrind/devel lgrind-3.67-options.patch, NONE, 1.1 tetex-lgrind.spec, 1.11, 1.12
- Next message (by thread): rpms/tetex-lgrind/FC-3 lgrind-3.67-buffersize.patch, NONE, 1.1 lgrind-3.67-options.patch, NONE, 1.1 tetex-lgrind.spec, 1.7, 1.8
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list