Remove a stray semi-colon. The bug might have led to the program coring
when viewing PNG's in low-memory situations.
This commit is contained in:
parent
5113fcc8c9
commit
3d2d9d6ff6
2 changed files with 4 additions and 4 deletions
|
@ -1,4 +1,4 @@
|
|||
$NetBSD: distinfo,v 1.6 2002/03/13 21:13:17 fredb Exp $
|
||||
$NetBSD: distinfo,v 1.7 2002/03/15 03:25:56 fredb Exp $
|
||||
|
||||
SHA1 (knews-1.0b.1.tar.gz) = b56046036d4c6688439e6730b8ae2a2eade922db
|
||||
Size (knews-1.0b.1.tar.gz) = 392225 bytes
|
||||
|
@ -31,7 +31,7 @@ SHA1 (patch-az) = 1d91236b5f1dd59e54e9d8b02f31090abe70b67b
|
|||
SHA1 (patch-ba) = a46041cc02ec99379d1c7a69534ca4574a1d8b77
|
||||
SHA1 (patch-bb) = 05963335420741b8ce5658ad43cbfa83379fe289
|
||||
SHA1 (patch-bc) = 74b0c0ee543f3753886dc75ea7d32a61256eb5b5
|
||||
SHA1 (patch-bd) = 6ed34d15ce86336e280f39fc0903d0bd84e93e4c
|
||||
SHA1 (patch-bd) = bda85621f338cecd8796a42170bfa493bb0592f4
|
||||
SHA1 (patch-be) = 3cf47af64e7865f3336b0549b78e3f56bbff2252
|
||||
SHA1 (patch-bf) = 5d51af81738c227de3ec6d23bbfe33c593410614
|
||||
SHA1 (patch-bg) = 84e4daf47ca111831661448c4411da4d9c803d27
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
$NetBSD: patch-bd,v 1.1 2001/03/26 21:49:00 fredb Exp $
|
||||
$NetBSD: patch-bd,v 1.2 2002/03/15 03:25:57 fredb Exp $
|
||||
|
||||
--- src/png.c.orig Sat Nov 21 08:55:13 1998
|
||||
+++ src/png.c
|
||||
|
@ -19,7 +19,7 @@ $NetBSD: patch-bd,v 1.1 2001/03/26 21:49:00 fredb Exp $
|
|||
|
||||
- if (setjmp(p_str.jmpbuf))
|
||||
+ if ((p_str = (png_struct *) png_create_read_struct(PNG_LIBPNG_VER_STRING,
|
||||
+ NULL, NULL, NULL)));
|
||||
+ NULL, NULL, NULL)))
|
||||
+ p_info = (png_info *) png_create_info_struct(p_str);
|
||||
+
|
||||
+ if (p_str && p_info && setjmp(png_jmpbuf(p_str)))
|
||||
|
|
Loading…
Reference in a new issue