Jhove 1.10 runs out of heap space when run with test file
File validation and characterization
Brought to you by:
carlwilson-bl,
garymcgath
Jhove 1.10 runs out of heap space when run with this test file: http://digitalcorpora.org/corp/nps/files/govdocs1/000/000153.pdf
This patch seems to fix it. In the test file object 717 had "/K 0" and se.buildSubtree() entered an infinite loop. This patch adds a check for an empty list. As it's not a object reference I have assumed that this is the case. Please review to check that the fix is correct.
Thanks