Re: [patch] Accessing freed memory crash
- From: Leonard den Ottolander <leonard den ottolander nl>
- To: Mikulas Patocka <mikulas artax karlin mff cuni cz>
- Cc: mc-devel gnome org
- Subject: Re: [patch] Accessing freed memory crash
- Date: Sat, 12 Aug 2006 00:58:30 +0200
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]