[Mono-bugs] [Bug 80980][Nor] Changed - SIGSEGV loading invalid image

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Fri Mar 30 09:58:55 EDT 2007

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by sebastien at ximian.com.


--- shadow/80980	2007-03-30 04:09:01.000000000 -0500
+++ shadow/80980.tmp.2613	2007-03-30 08:58:55.000000000 -0500
@@ -195,6 +195,21 @@
 On MS, this results in an OutOfMemoryException while "we" throw an 
 Exception (and output a warning). Should the exception match that of 
 MS ?
 If you don't think this needs to match, then feel free to close the 
 report again.
+------- Additional Comments From sebastien at ximian.com  2007-03-30 08:58 -------
+I don't think there is "one" exception in this case but possibly quite
+a few of them depending on where it's broken. 
+For example my own "dos2unix" JPEG image results in an
+ExternalException (both on 1.1 and 2.0). 
+But if you have a bad value to allocate a width of 2^32 then a
+OutOfMemoryException is more likely.
+I'll try a few (and you can too ;-) and change the exception to what
+seems to be the most common one.

More information about the mono-bugs mailing list