1 Oct 2002 03:23
Dereferencing NULL in ssl3_shutdown
Allan Miller <amiller <at> handsfreenetworks.com>
2002-10-01 01:23:13 GMT
2002-10-01 01:23:13 GMT
Hi - Our code has been working pretty well with the 0.9.6c release (Windows DLL). I recently upgraded to the 0.9.6g release and started getting an intermittent processor fault. Using the address and register dump, I discovered that the problem is on line 1242 of s3_lib.c, in ssl3_shutdown. In the statement else if (s->s3->alert_dispatch) it turns out that s->s3 is NULL, so this causes the fault. I'm sorry I don't have more information. Our code runs on remote systems so it's not all that easy to try to reproduce the problem. However, the code is very well instrumented (it traps and logs its own faults, which is how I got this much), so the next step would be to build the OpenSSL DLLs taking out frame-pointer optimization, so that I could get the stack trace. Before going too far, though, I wanted to check if this was something really obvious, especially combined with the fact that it must have to do with a change in going from 0.9.6c to 0.9.6g. Not being familiar with the code, I can't really tell. If it makes any difference, we currently only use OpenSSL as a client, not as a server. I did search the mailing list archive to try to find an answer before posting, so if I missed something, I apologize in advance. Thanks!(Continue reading)
RSS Feed