build commands used (from a VS.NET command shell)
    set path=%path%;c:\cygwin\bin
    perl Configure VC-WIN32 threads zlib no-shared
    ms\do_masm.bat
    nmake -f ms\ntdll.mak

then drop the dlls from out32dll into an existing project, and it crashes.

openssl-0.9.6g compiled with exactly the same steps, works ok.

test platform
    winxp pro sp1
    dual P3/733 + 640MB
    VS.NET

crash details when build with in debug mode (added debug to the mk1mf.pl
lines in ms\do_masm.bat)

file ssl_sess.c, line 681
    i=tp.cache->down_load;   but tp.cache == 0xffffffff !!!!! hence the
crash.

call stack
    func SSL_CTX_flush_sessions, file ssl_sess.c, line 681
    func SSL_CTX_free, file ssl_lib.c, line 1425
    func SSL_free, file ssl_lib.c, line 469

how to make it crash ... hmm, good question. just using the openssl command
line tool to connect to itself didnt cause it. so how am I doing it evertime
? read on ...
    download porttunnel from www.steelbytes.com and install it
    stick libeay32.dll and ssleay32.dll in the porttunnel program folder
    make two mappings in porttunnel with the following info
        mapping one:
            listen on 0.0.0.0:80 and redirects to 127.0.0.1:81
            ssl_method_23 and cypher ALL:@STRENGTH selected in "between
porttunnel and server"
        mapping two:
            listen on 127.0.0.1:81 and redirects to target.server.com:80
            ssl_method_23 and cypher ALL:@STRENGTH selected in "between
client and porttunnel"
    start porttunnel
    telnet to localhost:80
    type a bit of crap, and it crashes everytime

contact me for any other crash info requried.

(happens everytime. I've re downloaded 0.9.6g and
openssl-0.9.7-stable-SNAP-20021203 adn recompiled both etc, and yes 0.9.7
still crashes and 0.9.6 still doesnt)

Louis Solomon
www.SteelBytes.com

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to