[patch] Accessing freed memory crash
Leonard den Ottolander
leonard at den.ottolander.nl
Fri Aug 11 22:58:30 UTC 2006
Hello Mikulas,
On Fri, 2006-08-11 at 01:49 +0200, Mikulas Patocka wrote:
> check_selects calls a callback when there is an event on handle. The
> callback itself can remove the event with delete_select_channel --- when
> it happens, check_selects accesses defunct p->next pointer and crash may
> happen.
Committed using a do/while. Thanks for spotting and fixing.
Leonard.
--
mount -t life -o ro /dev/dna /genetic/research
More information about the mc-devel
mailing list