Ooops in 1.3.26

Michael Lausch (mla@loki.muc.de)
Thu, 14 Sep 1995 19:08:20 +0200


I get Ooops'es in 1.3.26
The problem is in linux/fs/namei.c, function get_write_access.
Around line 132 there is the following code:

for (p = &LAST_TASK ; p > &FIRST_TASK ; --p) {
struct vm_area_struct * mpnt;
if (!*p)
continue;
for(mpnt = (*p)->mm->mmap; mpnt; mpnt = mpnt->vm_next)

But (*p)->mm may be NULL (verified via a printk).