[poppler] poppler/poppler: FontInfo.cc,1.10,1.11
Albert Astals Cid
aacid at kemper.freedesktop.org
Sun May 14 09:11:56 PDT 2006
Update of /cvs/poppler/poppler/poppler
In directory kemper:/tmp/cvs-serv16959/poppler
Modified Files:
FontInfo.cc
Log Message:
* poppler/FontInfo.cc: Fix possible crash, half patch
by Kouhei Sutou <kou at cozmixng.org>
Index: FontInfo.cc
===================================================================
RCS file: /cvs/poppler/poppler/poppler/FontInfo.cc,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- FontInfo.cc 16 Mar 2006 19:21:11 -0000 1.10
+++ FontInfo.cc 14 May 2006 16:11:54 -0000 1.11
@@ -197,8 +197,8 @@
}
FontInfo::FontInfo(FontInfo& f) {
- name = f.name->copy();
- file = f.file->copy();
+ name = f.name ? f.name->copy() : NULL;
+ file = f.file ? f.file->copy() : NULL;
type = f.type;
emb = f.emb;
subset = f.subset;
More information about the poppler
mailing list