all devices regression report - 2018-04-11-05:01:21 - 2b2dcf4ccf401ed210f03c858b304994749fd2b3

[email protected] Wed, 11 Apr 2018 05:01:21 -0700 (PDT)
Newsgroups gmane.comp.printing.ghostscript.regression
Message-ID <20180411120121.DD5CE2040265@i7>
Differences in all devices errors using gs/examples files

Previous Revision: 7ede8fc2b5e8498619d1e32b6b7fbbf9f926a055
 Current Revision: 2b2dcf4ccf401ed210f03c858b304994749fd2b3

commit 2b2dcf4ccf401ed210f03c858b304994749fd2b3
Author:     Sebastian Rasmussen <[email protected]>
AuthorDate: Fri Apr 6 00:41:01 2018 +0800
CommitDate: Wed Apr 11 11:45:12 2018 +0800

    jbig2dec: Improve error handling.
    
    Some functions detected errors but would not return these
    to the caller. These functions may now indicate errors:
    
      jbig2_arith_decode(), jbig2_image_resize()
    
    Errors detected by following functions were not always
    handled, but they are now handled properly:
    
      jbig2_arith_decode(), jbig2_arith_iaid_decode()
      jbig2_arith_int_ctx_new(), jbig2_build_huffman_table()
      jbig2_complete_page(), jbig2_image_compose()
      jbig2_decode_refinement_region(), jbig2_ctx_new()
      jbig2_image_resize(), jbig2_image_write_pbm()
      jbig2_image_write_pbm_file(), jbig2_image_write_png()
      jbig2_image_write_png_file(), jbig2_metadata_add()
      jbig2_page_add_result(), jbig2_renew()
      jbig2_strndup()
    
    Some functions detected errors but did not fail early enough:
    
      jbig2_decode_pattern_dict(), jbig2_decode_halftone_region()
    
    jbig2_decode_mmr_line() detected errors but did not produce
    suitable error messages. This has been rectified.
    
    Finally, if a subfunction indicates an error by returning an
    error code, the calling function will report a warning and
    return, indicating failure.

jbig2dec/jbig2.c
jbig2dec/jbig2_arith.c
jbig2dec/jbig2_arith.h
jbig2dec/jbig2_arith_iaid.c
jbig2dec/jbig2_arith_iaid.h
jbig2dec/jbig2_arith_int.c
jbig2dec/jbig2_arith_int.h
jbig2dec/jbig2_generic.c
jbig2dec/jbig2_halftone.c
jbig2dec/jbig2_image.c
jbig2dec/jbig2_image_pbm.c
jbig2dec/jbig2_image_png.c
jbig2dec/jbig2_metadata.c
jbig2dec/jbig2_mmr.c
jbig2dec/jbig2_page.c
jbig2dec/jbig2_refinement.c
jbig2dec/jbig2_segment.c
jbig2dec/jbig2_symbol_dict.c
jbig2dec/jbig2_text.c
jbig2dec/jbig2dec.c
jbig2dec/pbm2png.c

new errors:

errors that went away:

errors that are not whitelisted:
=== ghostpdl/examples/text_graph_image_cmyk_rgb.pdf === pxlcolor ===
=== ghostpdl/examples/text_graph_image_cmyk_rgb.pdf === pxlmono ===