lkml.org 
[lkml]   [1999]   [Jan]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch] 'coredump crash' fixed


On Wed, 27 Jan 1999, MOLNAR Ingo wrote:
>
> it was a very subtle bug and has nothing to do with coredumps at all, but
> it's very rare and the invalid coredump ELF layout accidentally triggered
> the bug.

Good hunting. Oops.

> - unsigned long last = (end & PGDIR_MASK) + PGDIR_SIZE;
> + unsigned long last = ((end-1) & PGDIR_MASK) + PGDIR_SIZE;

When I originally wrote it, I wrote it as

(end + PGDIR_SIZE - 1) & PGDIR_MASK

but I must have broke it for some really stupid reason.

Thanks,
Linus


-
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:50    [W:3.638 / U:0.080 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site