Closed a1ext closed 5 years ago
This PR fixes closing of a file descriptor which is already closed (causes abort() on windows) so radare2 just crashed before.
abort()
Sample to reproduce is attached in an archive, password infected CDPLAYER.EXE.zip
infected
How to reproduce a crash:
radare2.exe CDPLAYER.EXE.bad
After fix it should smoothly open such file:
This PR fixes closing of a file descriptor which is already closed (causes
abort()
on windows) so radare2 just crashed before.Sample to reproduce is attached in an archive, password
infected
CDPLAYER.EXE.zipHow to reproduce a crash:
radare2.exe CDPLAYER.EXE.bad
on WindowsAfter fix it should smoothly open such file: