pg.ddx.io pgsql-bugs@postgresql.org mailing list archivehelp / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: franco.ricci@phys.uniroma1.it
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #7586: PL/Perl problem
Date: Sun, 07 Oct 2012 13:06:43 -0400
Message-ID: <13683.1349629603@sss.pgh.pa.us> (raw)
In-Reply-To: <E1TKV9T-0007eI-6T@wrigleys.postgresql.org>
References: <E1TKV9T-0007eI-6T@wrigleys.postgresql.org>
franco.ricci@phys.uniroma1.it writes:
> I wrote the following function in Perl to make some operations with LLRP
> command in a RFID application:
> ----
> CREATE OR REPLACE FUNCTION llrp_command.llrpenc_bytea(xml)
> RETURNS bytea AS
> $BODY$
> use strict;
> use RFID::LLRP::Builder qw(encode_message);
I don't know anything about RFID::LLRP::Builder, but some quick googling
suggests that it accesses libxml2 under the hood. If so, and if it
relies on being able to fetch external entities, you're going to need to
use PG 9.2 to make this work. The fix for CVE-2012-3489 broke such
cases in earlier branches. Sorry about that, but the alternatives were
worse; and in any case, pre-9.2 versions never made any serious effort
to allow other uses of libxml2 inside the backend. It's mostly luck
that it worked for you before, I think.
regards, tom lane
view thread (3+ messages) latest in thread
Message-ID: <13683.1349629603@sss.pgh.pa.us> Permalink: ../13683.1349629603@sss.pgh.pa.us/ Also on: postgresql.org/message-id/13683.1349629603@sss.pgh.pa.us ·
reply
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Reply to all the recipients from your mail client; the link fills in the headers below: reply via email Some clients, webmail especially, drop In-Reply-To and References from a link, and the reply then starts a new thread: use the mbox below. To: pgsql-bugs@postgresql.org Cc: tgl@sss.pgh.pa.us, franco.ricci@phys.uniroma1.it Subject: Re: BUG #7586: PL/Perl problem In-Reply-To: <13683.1349629603@sss.pgh.pa.us> References: <E1TKV9T-0007eI-6T@wrigleys.postgresql.org> <13683.1349629603@sss.pgh.pa.us> * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox