[Alpine-info] crash in alpine on closed connection
Eduardo Chappa
chappa at u.washington.edu
Fri Feb 15 09:32:17 PST 2008
Hello,
I do not know exactly what happened that triggered the stream to a local
folder in unix format to be closed. I know I opened it twice from two
different places, but that is not the point. The point is that the stream
was closed, while the folder was open, but the screen that was being
displayed at the time that the stream was closed was the Main Screen, not
the Index Screen.
When I came back to that Alpine session, and saw the Main Screen, with
the folder closed, I pressed "i" to go to the index, and Alpine crashed.
The reason is very simple. Alpine called "fetch_firsttext", and on it
it called
sset = (SEARCHSET **) mail_parameters(idata->stream,
GET_FETCHLOOKAHEAD,
(void *) idata->stream);
which needs to access stream->local, which is NULL, because the stream was
aborted, so *sset is not accessible, although this processor is happy to
return a pointer to sset.
Anyway, that should be a simple thing to fix. Thank you for your
consideration.
--
Eduardo
http://staff.washington.edu/chappa/alpine/
More information about the Alpine-info
mailing list