Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 52321 Details for
Bug 83598
x11-base/xorg-x11: More XPM issues (CAN-2005-0605)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
xpm-sec10.diff
xpm-sec10.diff (text/plain), 1.38 KB, created by
Sune Kloppenborg Jeppesen (RETIRED)
on 2005-02-28 13:17:36 UTC
(
hide
)
Description:
xpm-sec10.diff
Filename:
MIME Type:
Creator:
Sune Kloppenborg Jeppesen (RETIRED)
Created:
2005-02-28 13:17:36 UTC
Size:
1.38 KB
patch
obsolete
>Index: scan.c >=================================================================== >RCS file: /cvs/OpenBSD/XF4/xc/extras/Xpm/lib/scan.c,v >retrieving revision 1.4 >diff -u -r1.4 scan.c >--- scan.c 17 Nov 2004 20:22:05 -0000 1.4 >+++ scan.c 15 Feb 2005 21:34:05 -0000 >@@ -621,8 +621,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; > >@@ -632,6 +632,9 @@ > lbt = low_bits_table[depth]; > 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; >Index: create.c >=================================================================== >RCS file: /cvs/OpenBSD/XF4/xc/extras/Xpm/lib/create.c,v >retrieving revision 1.7 >diff -u -r1.7 create.c >--- create.c 19 Dec 2004 17:45:01 -0000 1.7 >+++ create.c 15 Feb 2005 21:39:53 -0000 >@@ -1215,10 +1215,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 83598
: 52321