Re: Valgrind warnings in master branch ("Invalid read of size 8") originating within CreatePolicy()

From: Stephen Frost <sfrost(at)snowman(dot)net>
To: Peter Geoghegan <pg(at)heroku(dot)com>
Cc: Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Valgrind warnings in master branch ("Invalid read of size 8") originating within CreatePolicy()
Date: 2014-09-30 17:49:11
Message-ID: 20140930174911.GA28859@tamriel.snowman.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Peter,

* Peter Geoghegan (pg(at)heroku(dot)com) wrote:
> I see the following Valgrind warnings in a recent build of the master branch:
[...]
> This appears a few times, but always seems to occur with the same call stack.

Many thanks, I've worked out the issue (rsecpolname needs to be filled
in with the results of calling DirectFunctionCall1(namein,
CStringGetDatum()) instead, or we can end up with garbage past the \0
in that fixed-width NameData field).

Will fix, thanks again!

Stephen

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Gregory Smith 2014-09-30 18:10:51 Re: open items for 9.4
Previous Message Peter Geoghegan 2014-09-30 17:32:12 Re: INSERT ... ON CONFLICT {UPDATE | IGNORE}