]> Zhao Yanbai Git Server - minix.git/commit
Kernel: apply x86 copy overflow check to ARM 71/3271/3
authorDavid van Moolenbroek <david@minix3.org>
Tue, 29 Dec 2015 15:58:24 +0000 (15:58 +0000)
committerLionel Sambuc <lionel.sambuc@gmail.com>
Sat, 16 Jan 2016 13:04:19 +0000 (14:04 +0100)
commit59f1f7ecdd212fe00e1859dc950db6397e96abad
tree80dfe34ad3811d6b6f53103984128efa1064c045
parentf12160c14d106d9bd9a65646756b1a7f187794ab
Kernel: apply x86 copy overflow check to ARM

Apply the x86 overflow check from git-d09f72c to ARM code as well.
Not just stack traces, but also system services can trigger this
case, possibly as a result of being handed bad pointers by userland,
ending in a kernel panic.

Change-Id: Ib817e8b682fafec8edb486a094319ad11eda7081
minix/kernel/arch/earm/memory.c