[DebianGIS-dev] r2875 - in packages/postgis/trunk/debian: . patches

frankie at alioth.debian.org frankie at alioth.debian.org
Mon May 17 12:23:05 UTC 2010


Author: frankie
Date: 2010-05-17 12:22:59 +0000 (Mon, 17 May 2010)
New Revision: 2875

Added:
   packages/postgis/trunk/debian/patches/generator.dpatch
Modified:
   packages/postgis/trunk/debian/changelog
   packages/postgis/trunk/debian/patches/00list
Log:
Added a patch to solve an alpha issue. 


Modified: packages/postgis/trunk/debian/changelog
===================================================================
--- packages/postgis/trunk/debian/changelog	2010-05-16 19:07:14 UTC (rev 2874)
+++ packages/postgis/trunk/debian/changelog	2010-05-17 12:22:59 UTC (rev 2875)
@@ -1,3 +1,10 @@
+postgis (1.5.1-2) unstable; urgency=low
+
+  * Added generator.dpatch to avoid a buffer overflow on alpha due to 
+    a too narrow buffer apparently.
+
+ -- Francesco Paolo Lovergine <frankie at debian.org>  Mon, 17 May 2010 14:21:37 +0200
+
 postgis (1.5.1-1) unstable; urgency=low
 
   * New upstream release, with a few bug fixes.

Modified: packages/postgis/trunk/debian/patches/00list
===================================================================
--- packages/postgis/trunk/debian/patches/00list	2010-05-16 19:07:14 UTC (rev 2874)
+++ packages/postgis/trunk/debian/patches/00list	2010-05-17 12:22:59 UTC (rev 2875)
@@ -1 +1,2 @@
 install
+generator

Added: packages/postgis/trunk/debian/patches/generator.dpatch
===================================================================
--- packages/postgis/trunk/debian/patches/generator.dpatch	                        (rev 0)
+++ packages/postgis/trunk/debian/patches/generator.dpatch	2010-05-17 12:22:59 UTC (rev 2875)
@@ -0,0 +1,19 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## generator.dpatch by Francesco Paolo Lovergine <frankie at debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+ at DPATCH@
+diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' postgis-1.5.1~/doc/html/image_src/generator.c postgis-1.5.1/doc/html/image_src/generator.c
+--- postgis-1.5.1~/doc/html/image_src/generator.c	2010-02-01 18:35:55.000000000 +0100
++++ postgis-1.5.1/doc/html/image_src/generator.c	2010-05-17 14:21:04.000000000 +0200
+@@ -363,7 +363,7 @@
+ 	while ( fgets ( line, sizeof line, pfile ) != NULL && !isspace(*line) )
+ 	{
+ 
+-		char output[2048];
++		char output[4096];
+ 		char *ptr = output;
+ 		char *styleName;
+ 		int useDefaultStyle;


Property changes on: packages/postgis/trunk/debian/patches/generator.dpatch
___________________________________________________________________
Added: svn:executable
   + *




More information about the Pkg-grass-devel mailing list