Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Andi Sardina Ramos
Okular
Commits
d923b1e8
Commit
d923b1e8
authored
Jan 20, 2005
by
Waldo Bastian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Call me paranoid, but keyLength == 0 sounds like trouble.
svn path=/trunk/kdegraphics/kpdf/; revision=380498
parent
02ddb10d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
xpdf/xpdf/XRef.cc
xpdf/xpdf/XRef.cc
+3
-0
No files found.
xpdf/xpdf/XRef.cc
View file @
d923b1e8
...
...
@@ -820,6 +820,9 @@ GBool XRef::checkEncrypted(GString *ownerPassword, GString *userPassword) {
}
else
{
keyLength
=
5
;
}
if
(
keyLength
<
1
)
{
keyLength
=
1
;
}
if
(
keyLength
>
16
)
{
keyLength
=
16
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment