lgtm.com issue: Add some missing "repeat include" guards.
Bug 702335: jbig2dec: Refill input buffer upon failure to parse segment header.
jbig2dec: Initiate variable before avoids using uninited data during cleanup.
jbig2dec: Adjust number of bytes consumed by MMR decoder.
jbig2dec: Plug leak of image upon error.
jbig2dec: Need to store local copy of error message.
jbig2dec: Cast literal to avoid shifting outside of valid range.
jbig2dec: Record stream errors in separate struct field.
jbig2dec: Use correct define for maxium value of type.
jbig2dec: Fix two overlooked warnings.
jbig2dec: Fix signedness conversions.
jbig2dec: Use uint32_t when counting segments.
jbig2dec: Always use uint32_t when counting pages.
jbig2dec: Handle errors from reading jbig2 streams.
jbig2dec: Use size_t for string length.
jbig2dec: Avoid formatting error messages twice in error callback.
jbig2dec: Pass segment numbers as unsigned values to error callback.
Bug 701721: jbig2dec: Fix under/overflow handling in arithmetic integer decoder.
jbig2dec: Avoid warning by copying bytes instead of characters.
jbig2dec: Enable warnings for signedness in comparisons.
jbig2dec: Address all signedness comparison issues.
jbig2dec: Remove trailing whitespace.
jbig2dec: Avoid passing NULL buffer to snprintf().
jbig2dec: Avoid artificially limiting jbig2dec.
Bug 702165: jbig2dec: Treat end of stream as fatal error, and remember errors.
jbig2dec: Add overflow detection for IAID context size.
jbig2dec: Let arithmetic decoder and the underlying stream report errors.
jbig2dec: Handle under-/overflow detection and messaging better.
jbig2dec: Use unsigned suffix when defining UINT32_MAX.
jbig2dec: Keep type of index and array length the same.
jbig2dec: Add more references to specification.
jbig2dec: Add command line option to limit memory usage.
jbig2dec: Mention all long options in usage and manpage.
jbig2dec: Separate command line tool error callback state from parameters.
Update jbig2dec stuff for 0.18 release.
jbig2dec: Sync memento from ghostscript.
jbig2dec: Invite user to define MEMENTO in CFLAGS.
jbig2dec: Fix compilation issues with memento build.
jbig2dec: Fix memento interfering with allocator callback names.
jbig2dec: Sync memento from ghostscript.
jbig2dec: Simplify jbig2_arith_decode.
jbig2dec: Fix OSS-Fuzz issue 20493
jbig2dec: Fix OSS-Fuzz issue 20505.
jbig2dec: Fix OSS-Fuzz issue 20493
Further optimisations to jbig2_decode_generic functions.
Solve warnings in jbig2_image.h.
jbig2dec: Fix OSS-Fuzz issue 20358
Fix jbig2dec compilation when inline is not defined.
Fix OSS-Fuzz issue 20332: buffer overflow in jbig2_image_compose.
Further optimisation to jbig2_decode_generic_template0_TPGDON.
Further optimisations to jbig2_decode_generic_template0_TPGDON.
jbig2dec: Optimise jbig2_decode_generic_template0_TPGDON
jbig2dec: Fix whitespace issues from jbig2_image.c
jbig2dec: reintroduce gcc attribute that got dropped by accident.
jbig2dec/jbig2_mmr.c: optimised jbig2_find_changing_element().
jbig2dec: Insert missing "inline" in templating.
Optimise jbig2_compose_image.
Coverity 94488: improved detection of uninitialised Jbig2HuffmanEntry.
Reinstate basic regular expression compatibility
Fix some -W -Wall warnings about printf format type mismatches.
Coverity 350198: fixed jbig2_error() printf format / type mismatches.
Coverity 350185: fix printf format type mismatch.
If gcc, make gcc check jbig2_error()'s format string agrees with types of parameters.
Coverity 95049: stop coverity taints for jbig2_get_int16() etc.
Coverity 350210: removed superflous extra param to jbig2_error().
Coverity: add additional annotation to jbig2_get_uint32().
Coverity: try using C++ comment style for 'coverity[ -tainted_data_return ]'
jbig2_hd_new(): return error if params->GRAYMAX is large enough that N wraps to zero.
Attempt to quieten coverity complaints about tainted data from jbig2_get_int32() and jbig2_get_uint32().
Update jbig2dec stuff for 0.17 release.
jbig2dec: Use the same contact information everywhere.
jbig2dec: Validate coordinates when add image onto page.
jbig2dec: Avoid extending page image beyond INT_MAX pixels high.
jbig2dec: Validate range of Huffman Table range values.
jbig2dec: Avoid double checks for negative coordinates.
jbig2dec: A small collection of code cleanups.
jbig2dec: Add all ubc test files.
Bug 701197: jbig2dec: Fix incorrectly computed halftone skip mask.
jbig2dec: Avoid duplicate declarations of Huffman tables in test code.
jbig2dec: Fix leak of huffman decoder state in test code.
jbig2dec: Declare internal data array static.
jbig2dec: Fix leak of log message in command line tool.
jbig2dec: Verify file hashes of test files during testing.
jbig2dec: Expect test files to reside inside jbig2dec directory.
jbig2dec: Indent test code by spaces like the rest of the code.
jbig2dec: Make tests expect that some test files return white image.
Bug 698777: jbig2dec: Update information in README.
jbig2dec: Improve jbig2dec-specific gitignore.
jbig2dec: Add pkg-config file and allow for it to be installed.
jbig2dec: Check that header version matches library version.
jbig2dec: Expose version number in header.
jbig2dec: Add empty m4 directory to silence libtool warning.
jbig2dec: Silence automake warning about setting CFLAGS directly.
jbig2dec: Silence automake warning about ar use.
jbig2dec: Fix bug where realloc returns NULL.
Update jbig2dec stuff for 0.16 release
jbig2dec: Return allocator once it is retired.
Without enough prefix codes, a Huffman table cannot be generated.
Make sure to indicate error upon unexpected OOB.