In bug 689841, jbig2dec fails silently when it cannot read enough data to satisfy the invalid data_length. There is code at the end of jbig2_data_in() to complain about this, but it doesn't seem to be activated. Perhaps the EOF state is never entered. jbig2dec should throw an error if this happens. For the particular file in question this is masked by the fixup in jbig2_page_complete() but the code in jbig2_data_in() should be fixed for other cases.
No test file so closing.