Hard to believe it might by true.  Nevertheless 
everything indicates there is a major design flaw
in BIO:

BIO sends FILE* pointer across dll boundary, causing
crash of statically linked version of libeay32.dll.
(At least on WINNT). To reproduce, modify the corresponding
compiler switch to /MT and try enclosed tests. The crash 
is located inside the EnterCriticalSection API, since the dll
incorrectly considers sent FILE* as FILEX structure after
being unable to locate it in its own list of FILEs.
 
This is caused by the fact, both exe and dll maintain its
own copy of the run time library, hence FILE* from
the exe cannot work inside the DLL. 


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

Reply via email to