[Mono-bugs] [Bug 672435] Missing System.BadImageFormatException when an assembly is built by a runtime newer than the currently loaded runtime

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Feb 17 12:50:03 EST 2011


https://bugzilla.novell.com/show_bug.cgi?id=672435

https://bugzilla.novell.com/show_bug.cgi?id=672435#c5


Rodrigo Kumpera <rkumpera at novell.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rkumpera at novell.com

--- Comment #5 from Rodrigo Kumpera <rkumpera at novell.com> 2011-02-17 17:50:02 UTC ---
Few notes on the patch:

cmp = (image_version [i] - '0') - (current_version [0] - '0');

This can be simplified to image_version [i] - (current_version [0] 

Second, I believe passing 0 to current_version is incorrect.

Besides that, it looks good.

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list