On Tue, May 24, 2011 at 2:18 PM, Tom Lane <[email protected]> wrote:
> Robert Haas <[email protected]> writes:
>> On Tue, May 24, 2011 at 2:11 PM, Noah Misch <[email protected]> wrote:
>>> QTN2QT() allocates memory for a TSQuery using palloc().  TSQuery contains an
>>> array of QueryItem, which contains three bytes of padding between its first 
>>> and
>>> second members.  Those bytes don't get initialized, so we have unpredictable
>>> content in the resulting datum.
>
>> OK, so I guess this needs to be applied and back-patched to 8.3, then.
>
> Yeah.  I'm in process of doing that, actually.

Excellent.  Are you going to look at MauMau's patch for bug #6011 also?

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

-- 
Sent via pgsql-hackers mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to