Re: [patch] Accessing freed memory crash



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]