Your message dated Thu, 31 Mar 2005 16:47:30 -0600
with message-id <[EMAIL PROTECTED]>
and subject line libpdf-api2-perl: Infinite recursion and OOM possible
duringcopying
has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--------------------------------------
Received: (at submit) by bugs.debian.org; 19 Nov 2004 13:01:01 +0000
>From [EMAIL PROTECTED] Fri Nov 19 05:01:01 2004
Return-path: <[EMAIL PROTECTED]>
Received: from tn.blasberg-computer.de [81.173.221.67]
by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
id 1CV8No-0008Hj-00; Fri, 19 Nov 2004 05:01:00 -0800
Received: from tn.blasberg-computer.de ([EMAIL PROTECTED] [127.0.0.1])
by tn.blasberg-computer.de (8.13.1/8.13.1/Debian-16) with ESMTP id
iAJD0wG5021758;
Fri, 19 Nov 2004 14:00:58 +0100
Received: (from [EMAIL PROTECTED])
by tn.blasberg-computer.de (8.13.1/8.13.1/Submit) id iAJD0wVi021755;
Fri, 19 Nov 2004 14:00:58 +0100
Message-Id: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Hagen von Eitzen <[EMAIL PROTECTED]>
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
Subject: libpdf-api2-perl: Infinite recursion and OOM possible during copying
X-Mailer: reportbug 2.63
Date: Fri, 19 Nov 2004 14:00:58 +0100
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25
(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE
autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level:
Package: libpdf-api2-perl
Version: 0.3r77-2
Severity: normal
Tags: security
-- System Information:
Debian Release: 3.1
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-tyan-2.6.8
Locale: LANG=C, LC_CTYPE=C
Versions of packages libpdf-api2-perl depends on:
ii libcompress-zlib-perl 1.33-3 Perl module for creation and manip
ii perl 5.8.4-3 Larry Wall's Practical Extraction
-- no debconf information
Using essentially the following code
#!/usr/bin/perl -e PDF::API2;
... # calculate $infile=valid path, $outfn=valid path, $i=valid page
number
$pdf = PDF::API2->open($infile);
$outpdf = PDF::API2->new( -file => $outfn );
$outpdf->preferences(-hidemenubar =>1,-hidetoolbar=>1,-hidewindowui=>1);
$outpdf->importpage($pdf, $i, 0);
$outpdf->update;
$outpdf->end;
$pdf->end;
to extract single pages from multi-page pdf documents, I found that
certain documents would produce an infinite recursion and ultimately
crash the process with an Out Of Memory exception.
The code worked well with various documents, but I have a real life
test document (can mail it if requested) that displays correctly in
Acrobat Reader and some pages can be extracted whereas page 2
(happens to be table of contents) cannot.
These are the error messages produced, apparently during importpage:
Deep recursion on subroutine "PDF::API2::PDF::Objind::copy" at
/usr/share/perl5/PDF/API2/PDF/Objind.pm line 317.
Deep recursion on subroutine "PDF::API2::PDF::Objind::copy" at
/usr/share/perl5/PDF/API2/PDF/Objind.pm line 317.
Deep recursion on subroutine "PDF::API2::PDF::Objind::copy" at
/usr/share/perl5/PDF/API2/PDF/Array.pm line 142.
Deep recursion on subroutine "PDF::API2::PDF::Objind::copy" at
/usr/share/perl5/PDF/API2/PDF/Array.pm line 149.
Deep recursion on subroutine "PDF::API2::PDF::Array::copy" at
/usr/share/perl5/PDF/API2/PDF/Objind.pm line 317.
Deep recursion on subroutine "PDF::API2::PDF::Array::copy" at
/usr/share/perl5/PDF/API2/PDF/Objind.pm line 317.
Deep recursion on subroutine "PDF::API2::PDF::Array::copy" at
/usr/share/perl5/PDF/API2/PDF/Objind.pm line 317.
SECURITY:
Someone submitting a suitable (not even crafted) document to that
service might cause an OOM exception and/or time consumption up to
denial of service.
---------------------------------------
Received: (at 282054-done) by bugs.debian.org; 31 Mar 2005 22:48:03 +0000
>From [EMAIL PROTECTED] Thu Mar 31 14:48:03 2005
Return-path: <[EMAIL PROTECTED]>
Received: from nlpproxy07.prodigy.net.mx (smtp.prodigy.net.mx) [148.235.52.27]
by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
id 1DH8SJ-0000Qs-00; Thu, 31 Mar 2005 14:48:03 -0800
Received: from smtp.prodigy.net.mx (nlpproxy07 [148.235.52.27])
by smtp.prodigy.net.mx
(iPlanet Messaging Server 5.2 HotFix 2.01 (built Aug 26 2004))
with ESMTP id <[EMAIL PROTECTED]>; Thu,
31 Mar 2005 16:47:17 -0600 (CST)
Received: from
gwolf.org(dsl-201-138-77-186.prod-infinitum.com.mx [201.138.77.186])
by smtp.prodigy.net.mx(iPlanet Messaging Server 5.2 HotFix 2.01 (built Aug
26
2004))with ESMTP id <[EMAIL PROTECTED]>; Thu,
31 Mar 2005 16:47:16 -0600 (CST)
Received: by gwolf.org (Postfix, from userid 1000) id AD0594AFDD; Thu,
31 Mar 2005 16:47:30 -0600 (CST)
Date: Thu, 31 Mar 2005 16:47:30 -0600
From: Gunnar Wolf <[EMAIL PROTECTED]>
Subject: Re: libpdf-api2-perl: Infinite recursion and OOM possible
duringcopying
To: [EMAIL PROTECTED]
Message-id: <[EMAIL PROTECTED]>
MIME-version: 1.0
Content-type: text/plain; charset=us-ascii
Content-disposition: inline
User-Agent: Mutt/1.3.28i
X-imss-version: 2.024
X-imss-result: Passed
X-imss-scores: Clean:99.90000 C:2 M:3 S:5 R:5
X-imss-settings: Baseline:4 C:4 M:4 S:4 R:4 (8.0000 8.0000)
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02
(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-1.0 required=4.0 tests=BAYES_20 autolearn=no
version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level:
Hi,
We went through the whole 0.40 series of the module without being able
to reproduce this bug. I will be shortly uploading 0.41.00... I think
this bug can now be seen as nonexistant.
Greetings,
--
Gunnar Wolf - [EMAIL PROTECTED] - (+52-55)1451-2244 / 5554-9450
PGP key 1024D/8BB527AF 2001-10-23
Fingerprint: 0C79 D2D1 2C4E 9CE4 5973 F800 D80E F35A 8BB5 27AF
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]