hmm, actually it is not really a bug, but sometimes files have deliberately faulty headers. And so the line
char *dllname = fgetstrz(file);
happens to produce a NULL pointer, leading to a hang in
file->read(&thunk, sizeof thunk);
and the following frames.
So I had to insert the following after that dllname line:
goto pe_read_error; }
Well, not a big deal -
but helpful for me.
Log in to post a comment.