I forgot to mention the important stuff:

OpenSSL 0.9.8l 5 Nov 2009
Visual C++ 2008 Express Edition
Windows 7 Enterprise (64-bit)

Best regards
Michael Boman

2010/2/25 Michael Boman <mich...@michaelboman.org>

> 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
>



-- 
http://michaelboman.org - Security Blog & Wiki

Reply via email to