[poppler] 3 commits - CMakeLists.txt poppler/Function.cc poppler/Function.h poppler/GfxState.cc poppler/GfxState.h poppler/Makefile.am poppler/PopplerCache.cc poppler/PopplerCache.h

Carlos Garcia Campos carlosgc at gnome.org
Tue Jun 9 09:01:17 PDT 2009


El dom, 07-06-2009 a las 04:39 -0700, Albert Astals Cid escribió:
> CMakeLists.txt          |    1 
>  poppler/Function.cc     |   76 +++++++++++++++++++++++++++++++++++++
>  poppler/Function.h      |    2 
>  poppler/GfxState.cc     |   97 ++++++++++++++++++++++--------------------------
>  poppler/GfxState.h      |   19 +--------
>  poppler/Makefile.am     |    1 
>  poppler/PopplerCache.cc |   82 ++++++++++++++++++++++++++++++++++++++++
>  poppler/PopplerCache.h  |   47 +++++++++++++++++++++++
>  8 files changed, 258 insertions(+), 67 deletions(-)
> 
> New commits:
> commit 3d40dcad850a2bc0e28845a15722db0c79920135
> Author: Albert Astals Cid <aacid at kde.org>
> Date:   Sun Jun 7 13:38:50 2009 +0200
> 
>     Move the GfxState cache to the new poppler cache class

I've just noticed there's a bug in the patch. In

PostScriptFunction::PostScriptFunction(PostScriptFunction *func)

the cache object is not copied and not even initialized which causes a
crash. 

It's reproducible with document attached to bug #14160.


-- 
Carlos Garcia Campos
PGP key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x523E6462
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Esta parte del mensaje =?ISO-8859-1?Q?est=E1?= firmada
 digitalmente
Url : http://lists.freedesktop.org/archives/poppler/attachments/20090609/eeee64bc/attachment.pgp 


More information about the poppler mailing list