[pkg-java] r11426 - in trunk/jclassinfo/debian: . patches

Vincent Fourmond fourmond at alioth.debian.org
Tue Jan 26 20:08:27 UTC 2010


Author: fourmond
Date: 2010-01-26 20:08:25 +0000 (Tue, 26 Jan 2010)
New Revision: 11426

Added:
   trunk/jclassinfo/debian/patches/03-fix-malloc.dpatch
Modified:
   trunk/jclassinfo/debian/changelog
   trunk/jclassinfo/debian/control
   trunk/jclassinfo/debian/patches/00list
Log:
[jclassinfo] Fix long-standing memory allocation error

Modified: trunk/jclassinfo/debian/changelog
===================================================================
--- trunk/jclassinfo/debian/changelog	2010-01-26 13:34:33 UTC (rev 11425)
+++ trunk/jclassinfo/debian/changelog	2010-01-26 20:08:25 UTC (rev 11426)
@@ -1,3 +1,10 @@
+jclassinfo (0.19.1-5) unstable; urgency=low
+
+  * patches/03-fix-malloc: fix a memory allocation error (closes: #550203)
+  * Now conforms to 3.8.3
+
+ -- Vincent Fourmond <fourmond at debian.org>  Tue, 26 Jan 2010 21:03:03 +0100
+
 jclassinfo (0.19.1-4) unstable; urgency=low
 
   * Definitely should go in Section: java...

Modified: trunk/jclassinfo/debian/control
===================================================================
--- trunk/jclassinfo/debian/control	2010-01-26 13:34:33 UTC (rev 11425)
+++ trunk/jclassinfo/debian/control	2010-01-26 20:08:25 UTC (rev 11426)
@@ -5,7 +5,7 @@
 Uploaders: Vincent Fourmond <fourmond at debian.org>
 Build-Depends: debhelper (>= 5), automake, autoconf, 
  autotools-dev, dpatch, libtool, zlib1g-dev
-Standards-Version: 3.8.1
+Standards-Version: 3.8.3
 Homepage: http://jclassinfo.sourceforge.net/
 Vcs-Svn: svn://svn.debian.org/svn/pkg-java/packages/trunk/jclassinfo/
 Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/packages/trunk/jclassinfo/

Modified: trunk/jclassinfo/debian/patches/00list
===================================================================
--- trunk/jclassinfo/debian/patches/00list	2010-01-26 13:34:33 UTC (rev 11425)
+++ trunk/jclassinfo/debian/patches/00list	2010-01-26 20:08:25 UTC (rev 11426)
@@ -1,2 +1,3 @@
 01-make-static-lib
 02-use-stdin
+03-fix-malloc
\ No newline at end of file

Added: trunk/jclassinfo/debian/patches/03-fix-malloc.dpatch
===================================================================
--- trunk/jclassinfo/debian/patches/03-fix-malloc.dpatch	                        (rev 0)
+++ trunk/jclassinfo/debian/patches/03-fix-malloc.dpatch	2010-01-26 20:08:25 UTC (rev 11426)
@@ -0,0 +1,19 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## Author: Vincent Fourmond <fourmond at debian.org>
+## Description: fix memory allocation error
+## 
+
+ at DPATCH@
+diff -urNad jclassinfo-0.19.1~/jclass/jstring.c jclassinfo-0.19.1/jclass/jstring.c
+--- jclassinfo-0.19.1~/jclass/jstring.c	2004-03-21 05:33:07.000000000 +0100
++++ jclassinfo-0.19.1/jclass/jstring.c	2010-01-26 20:48:45.091764004 +0100
+@@ -199,7 +199,8 @@
+ 		number = strdup("0");
+ 	else
+ 	{
+-		number = (char*) malloc(40);
++	  /* Of course... */
++		number = (char*) malloc(41);
+ 		number[40] = '\0';
+ 
+ 		/* set sign */


Property changes on: trunk/jclassinfo/debian/patches/03-fix-malloc.dpatch
___________________________________________________________________
Added: svn:executable
   + *




More information about the pkg-java-commits mailing list