Re: gcc-4.8.2: callee overwrites stack of caller at -O
Hi Camm,
On Wed, Apr 23, 2014 at 7:36 PM, Camm Maguire <camm@cs.utexas.edu> wrote:
> This code used to work for years, but now that I examine it in greater
> detail, call_proc_new is missing va_end(). I don't know if that is
> relevant.
A missing va_end() is a serious bug, causing all kinds of (stack) corruption.
Does the problem go away if you add the va_end()?
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
Reply to: