summaryrefslogtreecommitdiffstats
path: root/lib/libpthread/uthread
diff options
context:
space:
mode:
authormarc <marc@openbsd.org>2001-12-18 03:44:40 +0000
committermarc <marc@openbsd.org>2001-12-18 03:44:40 +0000
commita3845a5da3c867e0237c4264214efe1d74979b03 (patch)
tree8cbeb4aec60ecc86f929320db3080fd0e81ad93a /lib/libpthread/uthread
parentanother errno save situation (diff)
downloadwireguard-openbsd-a3845a5da3c867e0237c4264214efe1d74979b03.tar.xz
wireguard-openbsd-a3845a5da3c867e0237c4264214efe1d74979b03.zip
Software invoked traps should use the ST_ versions of the trap number
with the high bit of the trap number stripped per the V8 arch manual. The stack alignment code was broken. It tried to align to a 32 byte boundary (only 8 byte boundary is required) by first adding 15 bytes then masking. It could have aligned down. The minimum frame size was twice the size needed by allocating 8 bytes per saved value instead of the needed 4. This bug offset the bug in the stack alignment code.
Diffstat (limited to 'lib/libpthread/uthread')
0 files changed, 0 insertions, 0 deletions