[Pkg-phototools-commits] [SCM] openjpeg packaging branch, master, updated. 1.3+dfsg-4-41-g4b32bbf
David Paleino
dapal at debian.org
Sat Mar 10 21:04:55 UTC 2012
The following commit has been merged in the master branch:
commit 4b32bbf8c5adffe20d053b1727dcdcd0f74f6c1e
Author: David Paleino <dapal at debian.org>
Date: Sat Mar 10 22:04:48 2012 +0100
Refreshed patch
diff --git a/debian/patches/03-fix_potential_crash_patch_in_opj_destroy.patch b/debian/patches/03-fix_potential_crash_patch_in_opj_destroy.patch
old mode 100755
new mode 100644
index 13adcfe..5d43336
--- a/debian/patches/03-fix_potential_crash_patch_in_opj_destroy.patch
+++ b/debian/patches/03-fix_potential_crash_patch_in_opj_destroy.patch
@@ -1,18 +1,17 @@
-#! /bin/sh /usr/share/dpatch/dpatch-run
-## Prevent crash on opj_destroy().dpatch by Robin Cornelius <robin.cornelius at gmail.com>
-##
-## All lines beginning with `## DP:' are a description of the patch.
-## DP: Fix a crash path in openjpeg where image->comps is wild and gets used
-## DP: in opj_destroy()
+From: Robin Cornelius <robin.cornelius at gmail.com>
+Subject: ix a crash path in openjpeg where image->comps is wild and gets used in opj_destroy()
+Forwarded: no
- at DPATCH@
+---
+ libopenjpeg/image.c | 1 +
+ 1 file changed, 1 insertion(+)
---- openjpeg-1.3+dfsg.orig/libopenjpeg/image.c 2007-10-18 13:26:11.000000000 +0100
-+++ openjpeg/libopenjpeg/image.c 2009-10-29 09:16:32.578125000 +0000
+--- openjpeg.orig/libopenjpeg/image.c
++++ openjpeg/libopenjpeg/image.c
@@ -28,6 +28,7 @@
opj_image_t* opj_image_create0(void) {
- opj_image_t *image = (opj_image_t*)opj_malloc(sizeof(opj_image_t));
+ opj_image_t *image = (opj_image_t*)opj_calloc(1, sizeof(opj_image_t));
+ image->comps = NULL;
return image;
}
--
openjpeg packaging
More information about the Pkg-phototools-commits
mailing list