Menu

#5 Typo in LogInitStream causes write into system heap.

Current_Release
open
nobody
TCP/IP (2)
5
2008-07-18
2008-07-18
No

In the function LogInitStream on line 229 in Logic.c:

stream->next = streams->prev = NULL;

I believe streams->prev ? should be stream->prev

On initial execution the streams Ptr is NULL it will cause a write at the offset of ->prev from zero in the System Heap. I realize it has been a while since anyone worked on the program, but I found this bug will cause my Powerpc 9600 to become unstable and crash shortly after starting MacHTTP. Since, I fixed this, no more problems.

Mike

Discussion


Log in to post a comment.