doPickSplit stack buffer overflow in XLogInsert?

From: Kevin Grittner <kgrittn(at)ymail(dot)com>
To: "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: doPickSplit stack buffer overflow in XLogInsert?
Date: 2013-11-26 22:14:38
Message-ID: 1385504078.81471.YahooMailNeo@web162905.mail.bf1.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Hannu Krosing 2013-11-26 22:16:27 Re: [PATCH] Add transforms feature
Previous Message Hannu Krosing 2013-11-26 22:08:58 Re: [PATCH] Add transforms feature