]> Zhao Yanbai Git Server - minix.git/commitdiff
kernel: kill proc with bogus ipc address
authorBen Gras <ben@minix3.org>
Fri, 16 Nov 2012 19:21:21 +0000 (20:21 +0100)
committerBen Gras <ben@minix3.org>
Mon, 19 Nov 2012 09:53:17 +0000 (10:53 +0100)
kernel/arch/i386/memory.c

index 749ecb544c44a1ad0d13991114c27d34853b6fc1..eb588d7424c45846eea59253dd596d54b0665b0c 100644 (file)
@@ -487,6 +487,7 @@ void delivermsg(struct proc *rp)
                                rp->p_delivermsg_vir,
                                rp->p_name,
                                rp->p_endpoint);
+               cause_sig(rp->p_nr, SIGSEGV);
                r = EFAULT;
        }