Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 52465 Details for
Bug 83656
x11-libs/lesstif: new XPM lib vulnerability (CAN-2005-0605)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
lesstif-CAN-2005-0605.patch
lesstif-CAN-2005-0605.patch (text/plain), 1.17 KB, created by
Thierry Carrez (RETIRED)
on 2005-03-02 08:08:59 UTC
(
hide
)
Description:
lesstif-CAN-2005-0605.patch
Filename:
MIME Type:
Creator:
Thierry Carrez (RETIRED)
Created:
2005-03-02 08:08:59 UTC
Size:
1.17 KB
patch
obsolete
>--- lesstif-0.94.0/lib/Xm-2.1/Xpmscan.c.orig 2005-03-02 17:00:16.415070960 +0100 >+++ lesstif-0.94.0/lib/Xm-2.1/Xpmscan.c 2005-03-02 17:01:38.949709879 +0100 >@@ -672,8 +672,8 @@ > char *dst; > unsigned int *iptr; > char *data; >- unsigned int x, y, i; >- int bits, depth, ibu, ibpp, offset; >+ unsigned int x, y; >+ int bits, depth, ibu, ibpp, offset, i; > unsigned long lbt; > Pixel pixel, px; > >@@ -684,6 +684,9 @@ > ibpp = image->bits_per_pixel; > offset = image->xoffset; > >+ if (image->bitmap_unit < 0) >+ return (XpmNoMemory); >+ > if ((image->bits_per_pixel | image->depth) == 1) { > ibu = image->bitmap_unit; > for (y = 0; y < height; y++) >--- lesstif-0.94.0/lib/Xm-2.1/Xpmcreate.c.orig 2005-03-02 17:02:00.626412844 +0100 >+++ lesstif-0.94.0/lib/Xm-2.1/Xpmcreate.c 2005-03-02 17:02:35.183562480 +0100 >@@ -1265,10 +1265,10 @@ > register char *src; > register char *dst; > register unsigned int *iptr; >- register unsigned int x, y, i; >+ register unsigned int x, y; > register char *data; > Pixel pixel, px; >- int nbytes, depth, ibu, ibpp; >+ int nbytes, depth, ibu, ibpp, i; > > data = image->data; > iptr = pixelindex;
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 83656
: 52465