]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fix a confusion between osigcontext and ucontext_t in the previous commit.
authorBrian Feldman <green@FreeBSD.org>
Tue, 23 Nov 1999 04:09:13 +0000 (04:09 +0000)
committerBrian Feldman <green@FreeBSD.org>
Tue, 23 Nov 1999 04:09:13 +0000 (04:09 +0000)
commit9a46ff715e83ff7925c634fbb8cfd1ceee7b8f7e
tree0b8276413ef77387c475d75856dbb182bf191056
parent41a1d0d2b544e4a2207bfa640fec9502e8a92c6b
Fix a confusion between osigcontext and ucontext_t in the previous commit.
Since an osigcontext is smaller, if you check for a valid (much larger sized)
ucontext_t and it fails, we bogusly would reject the osigcontext as per
rev 1.378.  Instead, check for osigcontext range validity first, and
ucontext_t later.  This unbreaks Netscape.

Pointed to the right commit by: peter
sys/amd64/amd64/machdep.c
sys/i386/i386/machdep.c