Messages in this thread | | | Date | Wed, 27 Jan 1999 10:45:22 -0800 (PST) | From | Linus Torvalds <> | Subject | Re: [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/
| |