Fixes issue #21485 and #21484 (#21526)
authorMike McLaughlin <mikem@microsoft.com>
Thu, 13 Dec 2018 23:37:21 +0000 (15:37 -0800)
committerGitHub <noreply@github.com>
Thu, 13 Dec 2018 23:37:21 +0000 (15:37 -0800)
commita6403ba4d9187fc19af8e3dc64ec3e9e937d53eb
tree9254e8fa8720658b0fe556fbfd638662030e4868
parent6b9e1dc685e55430d1471baa799db32bc2807a1c
Fixes issue #21485 and #21484 (#21526)

Issue #21485: fix EnumProcessModules hPseudoCurrentProcess bug.

Added handle reference.

Issue #21484: createdump segfaults with ASP.NET app

The problem is the ClrDataModule Request faulted on a dynamic module
getting the file layout flag.

Fixed the Request code not get the file layout and in the crash dump
code skip any dynamic modules.
src/debug/createdump/crashinfo.cpp
src/debug/daccess/task.cpp
src/pal/src/thread/process.cpp