RE: [PATCH] DSPBRIDGE: check pointer before calling Proc_Detach

2010-02-10 Thread Ramos Falcon, Ernesto
nesto >Subject: Re: [PATCH] DSPBRIDGE: check pointer before calling Proc_Detach > >Hi, > >On Thu, 2010-02-04 at 22:17 +0100, ext Omar Ramirez Luna wrote: >> From: Ernest Ramos Falcon >> >> This patch adds a check before calling Proc_Detach, otherwise >> in case a f

Re: [PATCH] DSPBRIDGE: check pointer before calling Proc_Detach

2010-02-10 Thread Ameya Palande
Hi, On Thu, 2010-02-04 at 22:17 +0100, ext Omar Ramirez Luna wrote: > From: Ernest Ramos Falcon > > This patch adds a check before calling Proc_Detach, otherwise > in case a failure occurs on PROC_Attach and hProcessor is > invalid when the userspace task closes its handle, unexpected > behavior

[PATCH] DSPBRIDGE: check pointer before calling Proc_Detach

2010-02-04 Thread Omar Ramirez Luna
From: Ernest Ramos Falcon This patch adds a check before calling Proc_Detach, otherwise in case a failure occurs on PROC_Attach and hProcessor is invalid when the userspace task closes its handle, unexpected behavior might be seen as this pointer is dereferenced in PROC_Detach. Signed-off-by: Er