Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Blob heap size #519

Closed
wants to merge 3 commits into from
Closed

Blob heap size #519

wants to merge 3 commits into from

Conversation

vladima
Copy link
Contributor

@vladima vladima commented Jul 1, 2015

Fixes #517

@latkin latkin added this to the F# 4.0 Update 1 milestone Aug 4, 2015
latkin pushed a commit that referenced this pull request Aug 7, 2015
Obfuscated assemblies can have a bogus extra reference to mscorlib which
has incorrect index in Blob heap for HashValue - index value was out
of range of the heap.I guess the assumption was that compiler will not
try to realize the whole set of information for this AssemblyRef entry
but decompiler will try to do. The problem was that F# compiler is
eagerly trying to populate information about referenced assemblies for the
given assembly so it crashes during the attempt to read this malformed entry.

fixes #517
closes #519

commit 326a7fc
Author: Vladimir Matveev <vladima@microsoft.com>
Date:   Wed Jul 1 00:27:11 2015 -0700

    added tests

commit 1d8dd07
Author: Vladimir Matveev <vladima@microsoft.com>
Date:   Mon Jun 29 00:14:27 2015 -0700

    fix incorrect condition

commit 0c0c696
Author: Vladimir Matveev <vladima@microsoft.com>
Date:   Sun Jun 28 23:30:38 2015 -0700

    added range check to readBlobHeapUncached
@latkin
Copy link
Contributor

latkin commented Aug 7, 2015

Applied to OOB branch

@latkin latkin closed this Aug 7, 2015
@latkin latkin added the fixed label Aug 7, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants