lkml.org 
[lkml]   [1998]   [Dec]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] i386 get_wchan() bugs (fs/proc/array.c)
On Tue, Dec 15, 1998 at 01:44:23AM +0100, Andrea Arcangeli wrote:
> > stack_page = (unsigned long)p;
> > esp = p->tss.esp;
> >- if (!stack_page || esp < stack_page || esp >= 8188+stack_page)
> >+ if (!stack_page || esp < stack_page || esp > 8188+stack_page)
>
> Wrong. Dereferencing esp will not fault if it will be equal to
> 8188+stack_page.

Which is why the patch is correct. You are too tired :-)

> Tell me if it' s too late to thing to these issues ;)

-- Jamie

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:46    [W:0.072 / U:0.060 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site