Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 48572 Details for
Bug 78128
app-text/gpdf includes vulnerable xpdf again
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
xpdf-CAN-2005-0064.patch
CAN-2005-0064.patch (text/plain), 773 bytes, created by
Thierry Carrez (RETIRED)
on 2005-01-15 12:41:25 UTC
(
hide
)
Description:
xpdf-CAN-2005-0064.patch
Filename:
MIME Type:
Creator:
Thierry Carrez (RETIRED)
Created:
2005-01-15 12:41:25 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 78128
:
48572
|
48575