Closed hasherezade closed 5 years ago
Not observed in the previous release: 0.3.8
PE-sieve32.exe 0.1.6 (e92ed07132888ff8be1f52a9b2b36f21)
After we try to add any section with non-zero size, program crashes. Adding a new empty section does not cause any issues. 32-bit Windows build:
64-bit Windows build:
The crash is caused by the RichHeader wrapper not being reloaded, and still pointing to the old buffer.
Fixed in 0.3.9.5
Not observed in the previous release: 0.3.8
Test case
PE-sieve32.exe 0.1.6 (e92ed07132888ff8be1f52a9b2b36f21)
Problem
After we try to add any section with non-zero size, program crashes. Adding a new empty section does not cause any issues. 32-bit Windows build:
64-bit Windows build: