Skip to content
Commit b3963416 authored by Daniel P. Berrange's avatar Daniel P. Berrange
Browse files

Abort if mmap of coroutine stack fails



If we fail to mmap the stack, abort the processs rather
than returning an error. This is standard practice in
glib apps, and the caller was not checking the
coroutine_init() return code leading to memory corruption.

Signed-off-by: default avatarDaniel P. Berrange <berrange@redhat.com>
parent c81e250e
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