On Mon, Oct 06, 2014 at 08:57:54PM -0400, Tom Lane wrote: > I eventually realized that the critical difference was you'd added > "CFLAGS=" to the configure call. On this platform that has the net > effect of removing -O2 from the compiler flags, and apparently that > shifts around the stack layout enough to expose the clobber. > > The fix is simple enough: ecpg's version of ParseDateTime is failing > to check for overrun of the field[] array until *after* it's already > clobbered the stack:
Thanks for tracking that down. Oops. -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers