mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-09-08 03:44:13 -04:00
14 lines
385 B
Plaintext
14 lines
385 B
Plaintext
$NetBSD: patch-ak,v 1.1 2004/12/10 09:30:42 salo Exp $
|
|
|
|
--- gdk_imlib/io-gif.c.orig 2002-03-04 18:06:29.000000000 +0100
|
|
+++ gdk_imlib/io-gif.c 2004-12-10 10:00:56.000000000 +0100
|
|
@@ -55,7 +55,7 @@
|
|
}
|
|
*w = gif->Image.Width;
|
|
*h = gif->Image.Height;
|
|
- if(*h > 32767 || *w > 32767)
|
|
+ if(*h <= 0 || *h > 32767 || *w <= 0 || *w > 32767)
|
|
{
|
|
return NULL;
|
|
}
|