This is Xamarin's bug tracking system. For product support, please use the support links listed in your Xamarin Account.
Bug 38825 - mono_image_open() does not check header anymore
Summary: mono_image_open() does not check header anymore
Status: RESOLVED FIXED
Alias: None
Product: Runtime
Classification: Mono
Component: General (show other bugs)
Version: unspecified
Hardware: PC Mac OS
: --- normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2016-02-17 01:07 UTC by Martin Baulig
Modified: 2016-02-19 04:35 UTC (History)
3 users (show)

See Also:
Tags:
Is this bug a regression?: ---
Last known good build:


Attachments

Description Martin Baulig 2016-02-17 01:07:16 UTC
When trying to run "mono --debug X" where "X" is an existing file that's not a valid assembly, you get an ugly native stack trace instead of an error message.

This happens for instance if you specify "mono" twice on the command line by accident:

$ mono /Workspace/INSTALL/bin/mono /Workspace/INSTALL/lib/mono/4.5/mcs.exe
Comment 1 Zoltan Varga 2016-02-19 04:35:39 UTC
Fixed in master/4.3.2.

Note You need to log in before you can comment on or make changes to this bug.