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

From Kevin Grittner
Subject doPickSplit stack buffer overflow in XLogInsert?
Date
Msg-id 1385504078.81471.YahooMailNeo@web162905.mail.bf1.yahoo.com
Whole thread Raw
Responses Re: doPickSplit stack buffer overflow in XLogInsert?  (Andres Freund <andres@2ndquadrant.com>)
Re: doPickSplit stack buffer overflow in XLogInsert?  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-hackers
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.

--
Kevin Grittner
EDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



pgsql-hackers by date:

Previous
From: Hannu Krosing
Date:
Subject: Re: [PATCH] Add transforms feature
Next
From: Hannu Krosing
Date:
Subject: Re: [PATCH] Add transforms feature