Commit 5c167422 authored by Matthias Clasen's avatar Matthias Clasen

libpng error handlers must not return to their callers, thus longjmp out.

	* io-png.c (png_simple_error_callback): libpng error handlers must
	not return to their callers, thus longjmp out. This prevents
	annoying stderr output from the default error handler.
parent 835094b1
2002-03-29 Matthias Clasen <maclas@gmx.de>
* io-png.c (png_simple_error_callback): libpng error handlers must
not return to their callers, thus longjmp out. This prevents
annoying stderr output from the default error handler.
2002-03-27 Matthias Clasen <maclas@gmx.de>
* io-png.c (gdk_pixbuf__png_image_stop_load): Don't leak info_ptr.
......
......@@ -183,6 +183,8 @@ png_simple_error_callback(png_structp png_save_ptr,
_("Fatal error in PNG image file: %s"),
error_msg);
}
longjmp (png_save_ptr->jmpbuf, 1);
}
static void
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment