summaryrefslogtreecommitdiffstats
path: root/sys/kern
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2007-07-26 15:32:55 +0000
committerjhb <jhb@FreeBSD.org>2007-07-26 15:32:55 +0000
commit2bcc29a2ea4e132893d0f89e76a8f635055dbb5e (patch)
tree0b19dedf62b87ed1358747159c21b30b3647727e /sys/kern
parent78c75cc53505216147630c00fd3299047b3c52c8 (diff)
downloadFreeBSD-src-2bcc29a2ea4e132893d0f89e76a8f635055dbb5e.zip
FreeBSD-src-2bcc29a2ea4e132893d0f89e76a8f635055dbb5e.tar.gz
If the trap number stored in the trapframe is corrupted into a negative
value, then we would use a negative index into the trap_msg[] array resulting in a nested page fault. Make the 'type' variable holding the trap number unsigned to avoid this. MFC after: 2 weeks Approved by: re (rwatson)
Diffstat (limited to 'sys/kern')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud