Re: Core dump running PL/Perl installcheck with bleadperl [PATCH] - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Core dump running PL/Perl installcheck with bleadperl [PATCH]
Date
Msg-id 299.1268174224@sss.pgh.pa.us
Whole thread Raw
In response to Core dump running PL/Perl installcheck with bleadperl [PATCH]  (Tim Bunce <Tim.Bunce@pobox.com>)
Responses Access violation from palloc, Visual Studio 2005, C-language function
List pgsql-hackers
Tim Bunce <Tim.Bunce@pobox.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


pgsql-hackers by date:

Previous
From: Merlin Moncure
Date:
Subject: Re: patch (for 9.1) string functions
Next
From: "Kevin Flanagan"
Date:
Subject: Access violation from palloc, Visual Studio 2005, C-language function