Merge pull request dotnet/coreclr#7778 from ianhays/binaryreadwrite_buffers
authorIan Hays <ianha@microsoft.com>
Mon, 24 Oct 2016 22:23:03 +0000 (15:23 -0700)
committerGitHub <noreply@github.com>
Mon, 24 Oct 2016 22:23:03 +0000 (15:23 -0700)
Add some extra checks to BinaryReader/Writer buffers

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


Trivial merge