[LLVMbugs] [Bug 565] Compressor doesn't detect out-of-input condition
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Fri May 13 00:09:24 PDT 2005
http://llvm.cs.uiuc.edu/bugs/show_bug.cgi?id=565
rspencer at x10sys.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
Summary|Corrupt bytecode file causes|Compressor doesn't detect
|infinite loop allocating |out-of-input condition
|memory |
------- Additional Comments From rspencer at x10sys.com 2005-05-13 02:09 -------
Okay, I was barking up the wrong tree. Its not that it was incorrectly catching
an out of memory condition, that condition is caught and an exception is thrown.
The problem was related to running out of buffer before bzip thinks it should. A
simple change to the while loop checks for this condition and looking at the
error code allows it to throw a "Insufficient data for bzip2" exception.
Fix is here:
http://mail.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20050509/026291.html
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
More information about the llvm-bugs
mailing list