Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 48566 Details for
Bug 77888
app-text/xpdf: the saga continues
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
CAN-2005-0064.patch
CAN-2005-0064.patch (text/plain), 773 bytes, created by
Thierry Carrez (RETIRED)
on 2005-01-15 11:50:35 UTC
(
hide
)
Description:
CAN-2005-0064.patch
Filename:
MIME Type:
Creator:
Thierry Carrez (RETIRED)
Created:
2005-01-15 11:50:35 UTC
Size:
773 bytes
patch
obsolete
>--- Decrypt.cc.jn 2002-12-06 00:44:32.000000000 +0100 >+++ Decrypt.cc 2005-01-14 13:38:48.192647128 +0100 >@@ -132,13 +132,19 @@ GBool Decrypt::makeFileKey2(int encVersi > Guchar *buf; > Guchar test[32]; > Guchar fState[256]; >- Guchar tmpKey[16]; >+ Guchar *tmpKey; > Guchar fx, fy; > int len, i, j; > GBool ok; > >+ // check whether we have non-zero keyLength >+ if ( !keyLength ) { >+ return gFalse; >+ } >+ > // generate file key > buf = (Guchar *)gmalloc(68 + fileID->getLength()); >+ tmpKey = (Guchar *)gmalloc(keyLength * sizeof(Guchar)); > if (userPassword) { > len = userPassword->getLength(); > if (len < 32) { >@@ -191,6 +197,7 @@ GBool Decrypt::makeFileKey2(int encVersi > ok = gFalse; > } > >+ gfree(tmpKey); > gfree(buf); > return ok; > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 77888
:
48566
|
48638
|
48920