Hello list, On line 1014 in the code uploaded at http://pastebin.ca/1810624 the program crashes. The relevant code snippet looks like this:
// Setup BIO's stdoutBIO = BIO_new(BIO_s_file()); BIO_set_fp(stdoutBIO, stdout, BIO_NOCLOSE); if (options->xmlOutput != 0) { fileBIO = BIO_new(BIO_s_file()); BIO_set_fp(fileBIO, options->xmlOutput, BIO_NOCLOSE); // <- Crashing here } I have checked and none of the arguments to BIO_set_fp() is NULL (See http://imagebin.ca/view/yX28fMI0.html for a screenshot of the debugger just before it crashing). At the crash the following is in the disassembler: http://imagebin.ca/view/5a-PGS.html Help & suggestions are most welcome. Best regards Michael Boman -- http://michaelboman.org - Security Blog & Wiki