git.asbjorn.biz
/
swftools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
68c030b
)
fixed potential segfault in password handling
author
kramm
<kramm>
Fri, 16 Jun 2006 07:02:19 +0000
(07:02 +0000)
committer
kramm
<kramm>
Fri, 16 Jun 2006 07:02:19 +0000
(07:02 +0000)
lib/xpdf/pdf.cc
patch
|
blob
|
history
diff --git
a/lib/xpdf/pdf.cc
b/lib/xpdf/pdf.cc
index
f2e13e9
..
a79f143
100644
(file)
--- a/
lib/xpdf/pdf.cc
+++ b/
lib/xpdf/pdf.cc
@@
-249,7
+249,7
@@
gfxdocument_t*pdf_open(char*filename)
pdf_doc_internal_t*i= (pdf_doc_internal_t*)malloc(sizeof(pdf_doc_internal_t));
memset(i, 0, sizeof(pdf_doc_internal_t));
pdf_doc->internal = i;
- char*userPassword;
+ char*userPassword=0;
filename = strdup(filename);