When instrumenting a program that uses OpenSSL libraries with Rational
Purify, a fatal exception is thrown during initialisation that is not
present when running the program normally. Details follow:

OpenSSL version 0.9.8h
Rational Purify version 2003.06.15.734.000 Build: 6615
Windows XP SP3
.NET framework version 2.0.50727 SP2
Built using Visual Studio version 8.0.50727.762 (SP.050727-7600)

Source code:
    #include "ssl.h"
    int main(void)
    {
        SSL_load_error_strings();
    }

Purify output:
[E] IPR: Invalid pointer read in ERR_set_implementation {1 occurrence}
        Reading 1 byte from 0x3f4ffcc8 (1 byte at 0x3f4ffcc8 illegal)
        Address 0x3f4ffcc8 is argument #2 of ERR_set_implementation
        Address 0x3f4ffcc8 points into invalid memory

    ERR_set_implementation [test.exe]
    ERR_load_ERR_strings [test.exe]
    ERR_load_crypto_strings [.\tmp32\err_all.obj]
    SSL_load_error_strings [.\tmp32\ssl_err2.obj]
    main [test.exe]

Thanks,
James Howe

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

Reply via email to