CasualX / pelite

Lightweight, memory-safe, zero-allocation library for reading and navigating PE binaries.
MIT License
283 stars 42 forks source link

Relax OOB check for Resources Directory #199

Closed CasualX closed 5 years ago

CasualX commented 5 years ago

Some applications seem to lie about their resources directory size, promising a bigger size than there exists space in the executable! Yet windows seems to not care about this too much.

In practice this means the checks should happen later, while the resources are being parsed.

Fixes #198