[Poppler-bugs] [Bug 7903] New: Non-initialized variable and strange
behaviour usin streams
bugzilla-daemon at annarchy.freedesktop.org
bugzilla-daemon at annarchy.freedesktop.org
Wed Aug 16 01:53:00 PDT 2006
Please do not reply to this email: if you want to comment on the bug, go to
the URL shown below and enter yourcomments there.
https://bugs.freedesktop.org/show_bug.cgi?id=7903
Summary: Non-initialized variable and strange behaviour usin
streams
Product: poppler
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: general
AssignedTo: poppler-bugs at lists.freedesktop.org
ReportedBy: nct at ysagoon.com
Hello,
I would like to make an helper application for indexing pdf articles into a
bibliographic database. As a first step, I've made a pdf structure dumper
using popple. In the course of writing it, I've run into some problems.
Finding how things are supposed to work is not easy because there is no
documentation on poppler. To get to the report exposed below, I've made
extensive use of valgrind. If those are not bugs, but missunderstanding from
my part, please excuse me.
* Non-initialized variable
A stream of type strFile does return a non-NULL dict through getDict(), but
this dict's length field is a non-initialized variable.
This leaded me to add the check at line 43 of pdfds.cpp
* Strange addFilters behaviour
Every time I try to get an uncompress substream of a Flate encoded stream
(lines 58 to 75 of pdfds.cpp), I get "Error (some int here): Unknown
compression method in flate stream". Yet the dict does have the correct
parameters and afaik is passed correctly to addFilters. It's perhaps a bug on
my side, as addFilters does not seem that complex in fdo's cvs, but I can't
find what.
Thanks a lot, have a nice day,
Steph
P.S. I was using libpoppler version 0.5.3-0ubuntu1 on Ubuntu Dapper
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the Poppler-bugs
mailing list