summaryrefslogtreecommitdiffstats
path: root/source/l/netpbm/netpbm-bmptopnm.patch
diff options
context:
space:
mode:
Diffstat (limited to 'source/l/netpbm/netpbm-bmptopnm.patch')
-rw-r--r--source/l/netpbm/netpbm-bmptopnm.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/source/l/netpbm/netpbm-bmptopnm.patch b/source/l/netpbm/netpbm-bmptopnm.patch
new file mode 100644
index 000000000..90954274b
--- /dev/null
+++ b/source/l/netpbm/netpbm-bmptopnm.patch
@@ -0,0 +1,11 @@
+--- netpbm-10.35/converter/other/bmptopnm.c.bmptopnm 2007-01-29 13:08:46.000000000 +0100
++++ netpbm-10.35/converter/other/bmptopnm.c 2007-01-29 13:32:21.000000000 +0100
+@@ -1262,7 +1262,7 @@ readBmp(FILE * const ifP,
+ xel ** const colormapP,
+ bool const verbose) {
+
+- xel * colormap; /* malloc'ed */
++ xel * colormap = NULL; /* malloc'ed */
+ unsigned int pos;
+ /* Current byte position in the BMP file */
+