[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: gcc-4.8.2: callee overwrites stack of caller at -O



Greetings, and thanks so much!

> 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()?

My apologies, false alarm -- there is indeed correct usage of va_end
throughout. 

Take care,


Reply to: