Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 48628 Details for
Bug 75801
app-text/tetex: vulnerable xpdf and tmpfile vulns
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
xpdf-3.00pl2-CAN-2004-1125.patch
xpdf-3.00pl2-CAN-2004-1125.patch (text/plain), 1.11 KB, created by
MATSUU Takuto (RETIRED)
on 2005-01-15 23:52:10 UTC
(
hide
)
Description:
xpdf-3.00pl2-CAN-2004-1125.patch
Filename:
MIME Type:
Creator:
MATSUU Takuto (RETIRED)
Created:
2005-01-15 23:52:10 UTC
Size:
1.11 KB
patch
obsolete
>*** Gfx.cc.orig Sun Dec 12 16:04:43 2004 >--- Gfx.cc Sun Dec 12 16:05:16 2004 >*************** >*** 2654,2660 **** > haveMask = gFalse; > dict->lookup("Mask", &maskObj); > if (maskObj.isArray()) { >! for (i = 0; i < maskObj.arrayGetLength(); ++i) { > maskObj.arrayGet(i, &obj1); > maskColors[i] = obj1.getInt(); > obj1.free(); >--- 2654,2662 ---- > haveMask = gFalse; > dict->lookup("Mask", &maskObj); > if (maskObj.isArray()) { >! for (i = 0; >! i < maskObj.arrayGetLength() && i < 2*gfxColorMaxComps; >! ++i) { > maskObj.arrayGet(i, &obj1); > maskColors[i] = obj1.getInt(); > obj1.free(); >*** GfxState.cc.orig Sun Dec 12 16:04:48 2004 >--- GfxState.cc Sun Dec 12 16:06:38 2004 >*************** >*** 708,713 **** >--- 708,718 ---- > } > nCompsA = obj2.getInt(); > obj2.free(); >+ if (nCompsA > gfxColorMaxComps) { >+ error(-1, "ICCBased color space with too many (%d > %d) components", >+ nCompsA, gfxColorMaxComps); >+ nCompsA = gfxColorMaxComps; >+ } > if (dict->lookup("Alternate", &obj2)->isNull() || > !(altA = GfxColorSpace::parse(&obj2))) { > switch (nCompsA) {
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 75801
:
46970
|
47932
|
47933
|
47937
|
48625
|
48626
|
48627
| 48628 |
48629