HomeFreeBSD

When checking for the valid value of the frame pointer, verify that it

Description

When checking for the valid value of the frame pointer, verify that it
belongs to the kernel stack address range for the thread. Right now,
code checks that new frame is not farther then KSTACK_PAGES pages from
the current frame, which allows the address to point past the top of
the stack.

Reviewed by: andrew, emaste, markj
Differential revision: https://reviews.freebsd.org/D3108
Sponsored by: The FreeBSD Foundation
MFC after: 2 weeks

Details

Provenance
kibAuthored on
Reviewer
andrew
Parents
rS285642: ssh: canonicize the host name before looking it up in the host file
Branches
Unknown
Tags
Unknown