Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 149882 Details for
Bug 231694
CVE-2007-1667 XGetPixel() integer overflow
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
The second patch attached to the Debian bug
xwd_overflow_fix (text/plain), 846 bytes, created by
Matěj Cepl
on 2007-03-12 23:34:29 UTC
(
hide
)
Description:
The second patch attached to the Debian bug
Filename:
MIME Type:
Creator:
Matěj Cepl
Created:
2007-03-12 23:34:29 UTC
Size:
846 bytes
patch
obsolete
>--- a/coders/xwd.c Tue Mar 06 08:34:38 2007 +0100 >+++ b/coders/xwd.c Thu Mar 08 21:13:04 2007 +0100 >@@ -239,6 +239,13 @@ static Image *ReadXWDImage(const ImageIn > ximage->red_mask=header.red_mask; > ximage->green_mask=header.green_mask; > ximage->blue_mask=header.blue_mask; >+ /* Why those are signed ints is beyond me. */ >+ if (ximage->depth < 0 || ximage->width < 0 || ximage->height < 0 || >+ ximage->bitmap_pad < 0 || ximage->bytes_per_line < 0) >+ ThrowReaderException(CorruptImageError,ImproperImageHeader,image); >+ /* Guard against buffer overflow in libX11. */ >+ if (ximage->bits_per_pixel > 32 || ximage->bitmap_unit > 32) >+ ThrowReaderException(CorruptImageError,ImproperImageHeader,image); > status=XInitImage(ximage); > if (status == False) > ThrowReaderException(CorruptImageError,UnrecognizedXWDHeader,image);
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 231694
:
149881
| 149882