[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-hackers] [PATCH] fix incorrect type of jmp_buf
From: |
Peter Bex |
Subject: |
Re: [Chicken-hackers] [PATCH] fix incorrect type of jmp_buf |
Date: |
Mon, 17 Jun 2013 09:47:26 +0200 |
User-agent: |
Mutt/1.4.2.3i |
On Mon, Jun 17, 2013 at 09:35:31AM +0200, Felix wrote:
> From: Felix <address@hidden>
> Subject: [PATCH] fix incorrect type of jmp_buf
> Date: Mon, 17 Jun 2013 09:06:11 +0200 (CEST)
>
> > The attached patch fixes a bug in the runtime system: when
> > sigsetjmp(3) is used, then "C_restart" and "gc_restart" must be of
> > type "sigjmp_buf". Currently they are still declared as "jmp_buf",
> > which in most cases will be smaller than a "sigjmp_buf", resulting in
> > overwritten memory once a "jmp_buf" is set up.
>
> The patch was not complete. Here a better variant.
Nice catch, applied.
Cheers,
Peter
--
http://www.more-magic.net
- [Chicken-hackers] [PATCH] fix incorrect type of jmp_buf, Felix, 2013/06/17
- Re: [Chicken-hackers] [PATCH] fix incorrect type of jmp_buf, Peter Bex, 2013/06/17
- Re: [Chicken-hackers] [PATCH] fix incorrect type of jmp_buf, Felix, 2013/06/17
- Re: [Chicken-hackers] [PATCH] fix incorrect type of jmp_buf,
Peter Bex <=
- Re: [Chicken-hackers] [PATCH] fix incorrect type of jmp_buf, Jim Ursetto, 2013/06/17
- Re: [Chicken-hackers] [PATCH] fix incorrect type of jmp_buf, Jörg F . Wittenberger, 2013/06/18
- Re: [Chicken-hackers] [PATCH] fix incorrect type of jmp_buf, Peter Bex, 2013/06/18
- Re: [Chicken-hackers] [PATCH] fix incorrect type of jmp_buf, Jörg F . Wittenberger, 2013/06/18
- Re: [Chicken-hackers] [PATCH] fix incorrect type of jmp_buf, Peter Bex, 2013/06/18
- Re: [Chicken-hackers] [PATCH] fix incorrect type of jmp_buf, Jörg F . Wittenberger, 2013/06/19
- Re: [Chicken-hackers] [PATCH] fix incorrect type of jmp_buf, Peter Bex, 2013/06/21
- Re: [Chicken-hackers] [PATCH] fix incorrect type of jmp_buf, Jörg F . Wittenberger, 2013/06/21