poppler/Catalog.cc | 1 + poppler/Stream.cc | 3 +++ 2 files changed, 4 insertions(+)
New commits: commit e3d3944c1988343704e3ba3a5d60609719466afb Author: Tomas Hoger <[email protected]> Date: Wed Sep 29 20:03:45 2010 +0100 Fix uninitialized uses on DCTScanInfo diff --git a/poppler/Stream.cc b/poppler/Stream.cc index 0fb3884..c5a06f3 100644 --- a/poppler/Stream.cc +++ b/poppler/Stream.cc @@ -21,6 +21,7 @@ // Copyright (C) 2009 Glenn Ganz <[email protected]> // Copyright (C) 2009 Stefan Thomas <[email protected]> // Copyright (C) 2010 Hib Eris <[email protected]> +// Copyright (C) 2010 Tomas Hoger <[email protected]> // // To see a description of the changes please see the Changelog file that // came with your tarball or type make ChangeLog if you are building from git @@ -3298,6 +3299,8 @@ GBool DCTStream::readScanInfo() { interleaved = scanInfo.numComps == numComps; for (j = 0; j < numComps; ++j) { scanInfo.comp[j] = gFalse; + scanInfo.dcHuffTable[j] = 0; + scanInfo.acHuffTable[j] = 0; } for (i = 0; i < scanInfo.numComps; ++i) { id = str->getChar(); commit f380647f09d88339c936184bbe86c70c0d47de4b Author: Albert Astals Cid <[email protected]> Date: Wed Sep 29 20:02:10 2010 +0100 Free names diff --git a/poppler/Catalog.cc b/poppler/Catalog.cc index dbf9af2..048bfb6 100644 --- a/poppler/Catalog.cc +++ b/poppler/Catalog.cc @@ -172,6 +172,7 @@ Catalog::~Catalog() { gfree(pages); gfree(pageRefs); } + names.free(); dests.free(); delete destNameTree; delete embeddedFileNameTree; _______________________________________________ poppler mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/poppler
