Re: [Qemu-devel] [PATCH] coroutine-sigaltstack: Change jmp_buf to sigjmp_buf

2014-11-10 Thread Markus Armbruster
Peter Maydell writes: > On 8 November 2014 03:51, Willem Pinckaers wrote: >> This is a simple patch to change the type of old_env from jmp_buf >> to sigjmp_buf. old_env is used by sigsetjmp and as such should be >> a sigjmp_buf. >> >> This fixes a stack_chk fail in a OSX 32bit build. Since at l

Re: [Qemu-devel] [PATCH] coroutine-sigaltstack: Change jmp_buf to sigjmp_buf

2014-11-08 Thread Peter Maydell
On 8 November 2014 03:51, Willem Pinckaers wrote: > This is a simple patch to change the type of old_env from jmp_buf > to sigjmp_buf. old_env is used by sigsetjmp and as such should be > a sigjmp_buf. > > This fixes a stack_chk fail in a OSX 32bit build. Since at least on > OSX sigjmp_buf is fou

[Qemu-devel] [PATCH] coroutine-sigaltstack: Change jmp_buf to sigjmp_buf

2014-11-08 Thread Willem Pinckaers
This is a simple patch to change the type of old_env from jmp_buf to sigjmp_buf. old_env is used by sigsetjmp and as such should be a sigjmp_buf. This fixes a stack_chk fail in a OSX 32bit build. Since at least on OSX sigjmp_buf is four bytes larger then a jmpbuf, resulting in an overflow in sig