Subject: CVS commit: [pkgsrc-2006Q4] pkgsrc/devel/gtexinfo
To: None <pkgsrc-changes@NetBSD.org>
From: Geert Hendrickx <ghen@netbsd.org>
List: pkgsrc-changes
Date: 01/08/2007 12:01:21
Module Name:	pkgsrc
Committed By:	ghen
Date:		Mon Jan  8 12:01:21 UTC 2007

Modified Files:
	pkgsrc/devel/gtexinfo [pkgsrc-2006Q4]: Makefile distinfo
	pkgsrc/devel/gtexinfo/patches [pkgsrc-2006Q4]: patch-al

Log Message:
Pullup ticket 1982 - requested by rillig
security fix for gtexinfo

- pkgsrc/devel/gtexinfo/Makefile		1.67
- pkgsrc/devel/gtexinfo/distinfo		1.26-1.27
- pkgsrc/devel/gtexinfo/patches/patch-al	1.4-1.5

   Module Name:	pkgsrc
   Committed By:	rillig
   Date:		Mon Jan  8 08:21:48 UTC 2007

   Modified Files:
	pkgsrc/devel/gtexinfo: distinfo
	pkgsrc/devel/gtexinfo/patches: patch-al

   Log Message:
   Fixed the "fix" for CVE-2006-4810, since it introduced these compiler
   warnings.

   ===> GCC
   texindex.c: In function `readline':
   texindex.c:848: warning: assignment makes pointer from integer without a cast

   ===> MIPSpro
   cc-1515 cc: ERROR File = texindex.c, Line = 848
     A value of type "long" cannot be assigned to an entity of type "char *".

               end = buffer - linebuffer->buffer;

   Well, if the compilers were more intelligent, they could have seen that
   (buffer == linebuffer->buffer) was an invariant and that the resulting
   difference was therefore always zero, and zero can be converted into any
   pointer type. ;)
---
   Module Name:	pkgsrc
   Committed By:	rillig
   Date:		Mon Jan  8 08:50:51 UTC 2007

   Modified Files:
	pkgsrc/devel/gtexinfo: Makefile distinfo
	pkgsrc/devel/gtexinfo/patches: patch-al

   Log Message:
   Corrected my last change. The original patch for CVE-2006-4810 was
   correct, only the pkgsrc version somehow managed to get wrong.

   PKGREVISION++


To generate a diff of this commit:
cvs rdiff -r1.66 -r1.66.2.1 pkgsrc/devel/gtexinfo/Makefile
cvs rdiff -r1.25 -r1.25.2.1 pkgsrc/devel/gtexinfo/distinfo
cvs rdiff -r1.3 -r1.3.2.1 pkgsrc/devel/gtexinfo/patches/patch-al

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.