Skip to content
Commit 90fa7296 authored by Matt Caswell's avatar Matt Caswell
Browse files

Fix bug in async_fibre_makecontext for POSIX



async_fibre_makecontext was initialise the fibre first and then calling
getcontext(). It should be the other way around because the getcontext
call may overwrite some of the things we just initialised. This didn't
cause an issue on Linux and so the problem went unnoticed. On OS-X it
causes a crash.

Reviewed-by: default avatarRich Salz <rsalz@openssl.org>
parent 7fecbf6f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment