Re: Core dump running PL/Perl installcheck with bleadperl [PATCH]

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Tim Bunce <Tim(dot)Bunce(at)pobox(dot)com>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Core dump running PL/Perl installcheck with bleadperl [PATCH]
Date: 2010-03-09 22:37:04
Message-ID: 299.1268174224@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Tim Bunce <Tim(dot)Bunce(at)pobox(dot)com> writes:
> The attached patch fixes the problem by changing the SvTYPE check to use
> SvROK instead. Although I only tripped over one case, the patch changes
> all four uses of SvTYPE(sv) == SVt_RV. The remaining uses of SvTYPE are ok.

Applied back to 8.0. 7.4 seems not to contain any tests of this form.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Kevin Flanagan 2010-03-10 00:11:57 Access violation from palloc, Visual Studio 2005, C-language function
Previous Message Merlin Moncure 2010-03-09 19:30:29 Re: patch (for 9.1) string functions