summaryrefslogtreecommitdiff
path: root/pngerror.c
diff options
context:
space:
mode:
authorGlenn Randers-Pehrson <glennrp at users.sourceforge.net>2013-12-28 12:52:59 -0600
committerGlenn Randers-Pehrson <glennrp at users.sourceforge.net>2013-12-28 12:52:59 -0600
commit88ecac68be054917fa8da410d9379449acaf4eb8 (patch)
tree5bd5ef97204e0ec7c2ab7e760c19cca461ec8390 /pngerror.c
parente51ba2eff4ea1821888c6e76c0e2cc8e25775507 (diff)
downloadlibpng-88ecac68be054917fa8da410d9379449acaf4eb8.tar.gz
[libpng16] Merged pngrio.c, pngtrans.c, pngwio.c, and pngerror.c
with libpng-1.7.0
Diffstat (limited to 'pngerror.c')
-rw-r--r--pngerror.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/pngerror.c b/pngerror.c
index b46d28f19..3faf27319 100644
--- a/pngerror.c
+++ b/pngerror.c
@@ -761,7 +761,12 @@ png_longjmp,(png_const_structrp png_ptr, int val),PNG_NORETURN)
png_ptr->longjmp_fn(*png_ptr->jmp_buf_ptr, val);
#endif
- /* Here if not setjmp support or if png_ptr is null. */
+ /* If control reaches this point, png_longjmp() must not return. The only
+ * choice is to terminate the whole process (or maybe the thread); to do
+ * this the ANSI-C abort() function is used unless a different method is
+ * implemented by overriding the default configuration setting for
+ * PNG_ABORT().
+ */
PNG_ABORT();
}