diff options
author | jhb <jhb@FreeBSD.org> | 2007-07-26 15:32:55 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2007-07-26 15:32:55 +0000 |
commit | 2bcc29a2ea4e132893d0f89e76a8f635055dbb5e (patch) | |
tree | 0b19dedf62b87ed1358747159c21b30b3647727e /sys/kern/vfs_mount.c | |
parent | 78c75cc53505216147630c00fd3299047b3c52c8 (diff) | |
download | FreeBSD-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/vfs_mount.c')
0 files changed, 0 insertions, 0 deletions