[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [bug #19167] tcp timeout handler can cause crash being invo
[lwip-devel] [bug #19167] tcp timeout handler can cause crash being invoked by sys_sem_wait()
Wed, 16 May 2007 09:27:16 +0000
Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:126.96.36.199) Gecko/20070309 Firefox/188.8.131.52
Follow-up Comment #31, bug #19167 (project lwip):
>So, to be sure, you use your patch file #12142 ?
No, since at least on file in CVS relies on timeouts with sys_sem_wait (and
dmitry seems, too, so other might also).
>You just change memp.c ?
- remove all semaphores from memp.c. Primarily since that is the opposite pf
what pbuf.c does, but with the nice side-effect of also solving _this_ bug.
- change mem.c to call sys_arch_sem_wait instead of sys_sem_wait to prevent
timeouts running in a state they shouldn't
The rest of the sys_sem_wait calls are in src/api and are called in
application context. What the 'user' does here is not our problem.
Reply to this item at:
Nachricht geschickt von/durch Savannah