
oss-sec mailing list archives
Re: alloca in inline functions can be dangerous
From: Leandro Pereira <leandro () hardinfo org>
Date: Mon, 10 Apr 2017 07:55:43 -0700
On Mon, Apr 10, 2017 at 7:36 AM, Jason A. Donenfeld <Jason () zx2c4 com> wrote:
I'm interested if anybody else has encountered this behavior or has any thoughts about it.
Yes, and I usually mark those functions with __attribute__((noinline)) to avoid precisely this kind of behavior. -- Leandro
Current thread:
- alloca in inline functions can be dangerous Jason A. Donenfeld (Apr 10)
- Re: alloca in inline functions can be dangerous Leandro Pereira (Apr 10)
- Re: alloca in inline functions can be dangerous Andreas Lausch-Waas (Apr 15)
- Re: alloca in inline functions can be dangerous Florian Weimer (Apr 14)
- Re: alloca in inline functions can be dangerous Leandro Pereira (Apr 10)