dotnet / symstore

Implements API for retrieval of symbols and other debug artifacts from symbol store.
MIT License
142 stars 50 forks source link

Fix a couple of arithmetic overflows #401

Closed mikem8361 closed 1 year ago

mikem8361 commented 1 year ago

Fix issue https://github.com/dotnet/symstore/issues/400 arithmetic overflow reading PDBs with -1 stream sizes.

Fix overflow reading resources from a PE when entry counts are -1.

Make ELFFile, MachOFile, PEFile and PDBFile IDisposable for diagnostics repo changes.