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: