diff options
author | Sebastian Rasmussen <sebras@gmail.com> | 2018-07-03 03:10:55 +0800 |
---|---|---|
committer | Sebastian Rasmussen <sebras@gmail.com> | 2018-07-31 17:35:42 +0800 |
commit | 90964e633488e2d8e9fa450ebe04ace16ec0d396 (patch) | |
tree | bddba822214f6c2e7e18a2b5aca95fd169101e3c /jbig2dec/jbig2_text.c | |
parent | 0073f2a6524c731528e950deb7eac598c819a3da (diff) | |
download | ghostpdl-90964e633488e2d8e9fa450ebe04ace16ec0d396.tar.gz |
jbig2dec: Warn on too many symbols in text region, do not report fatal error.
This condition is already taken care of by not continuing to read symbols,
so attempt to proceed with parsing the image.
Diffstat (limited to 'jbig2dec/jbig2_text.c')
-rw-r--r-- | jbig2dec/jbig2_text.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jbig2dec/jbig2_text.c b/jbig2dec/jbig2_text.c index 1953b995d..ee38d840c 100644 --- a/jbig2dec/jbig2_text.c +++ b/jbig2dec/jbig2_text.c @@ -291,7 +291,7 @@ cleanup1: first_symbol = FALSE; } else { if (NINSTANCES > params->SBNUMINSTANCES) { - code = jbig2_error(ctx, JBIG2_SEVERITY_FATAL, segment->number, "too many NINSTANCES (%d) decoded", NINSTANCES); + jbig2_error(ctx, JBIG2_SEVERITY_WARNING, segment->number, "too many NINSTANCES (%d) decoded", NINSTANCES); break; } /* (3c.ii) / 6.4.8 */ |