blob: 5718c1259c9c423422a5c8c6ef210fae0bb4690e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
$NetBSD: patch-ak,v 1.1 2004/10/18 14:37:24 tron Exp $
--- libtiff/tif_compress.c.orig 2002-04-09 19:51:29.000000000 +0200
+++ libtiff/tif_compress.c 2004-10-18 16:25:32.000000000 +0200
@@ -210,9 +210,11 @@
cd->info->init = init;
cd->next = registeredCODECS;
registeredCODECS = cd;
- } else
+ } else {
TIFFError("TIFFRegisterCODEC",
"No space to register compression scheme %s", name);
+ return NULL;
+ }
return (cd->info);
}
|