Merge pull request dotnet/coreclr#10245 from rahku/fix10048
authorRahul Kumar <rahku@microsoft.com>
Fri, 17 Mar 2017 19:49:57 +0000 (12:49 -0700)
committerGitHub <noreply@github.com>
Fri, 17 Mar 2017 19:49:57 +0000 (12:49 -0700)
commit4c44e142b89b278ea883e8caca7809ddb6d1af33
treeb2050fbe4b1cc4fa430d57352f4d994fa8f727ea
parent9ad7c21db1c2e09e22ba49d3fcb3b28dc7bac0d5
parentbd2d47499be0a9ce97e91142a2fb80065c5a1282
Merge pull request dotnet/coreclr#10245 from rahku/fix10048

LoadFromStream should throw badimageformat early on

Commit migrated from https://github.com/dotnet/coreclr/commit/b6aec9bd4b6e5e026669cd7432b3f37aeec14190