Re: doPickSplit stack buffer overflow in XLogInsert? - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: doPickSplit stack buffer overflow in XLogInsert?
Date
Msg-id 529695E3.5000000@gmx.net
Whole thread Raw
In response to doPickSplit stack buffer overflow in XLogInsert?  (Kevin Grittner <kgrittn@ymail.com>)
List pgsql-hackers
On 11/26/13, 5:14 PM, Kevin Grittner wrote:
> I happened to build in a shell that was still set up for the clang
> address sanitizer, and got the attached report.  On a rerun it was
> repeatable.  XLogInsert() seems to read past the end of a variable
> allocated on the stack in doPickSplit(). I haven't tried to analyze
> it past that, since this part of the code is unfamiliar to me.

I also see that.  It only happens in 64-bit builds.



pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: Incomplete freezing when truncating a relation during vacuum
Next
From: Tom Dunstan
Date:
Subject: Proposed feature: Selective Foreign Keys