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 829636 Details for
Bug 947868
CVE-2013-1913 gimp: xwd plugin g_new() 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]
updated patch for CVE-2013-1913
0001-file-xwd-sanity-check-colormap-size-CVE-2013-1913.patch (text/plain), 1.14 KB, created by
Nils Philippsen
on 2013-11-27 10:45:29 UTC
(
hide
)
Description:
updated patch for CVE-2013-1913
Filename:
MIME Type:
Creator:
Nils Philippsen
Created:
2013-11-27 10:45:29 UTC
Size:
1.14 KB
patch
obsolete
>From 3997c7188a71dc8fc4c6a7513061180cbbd3590e Mon Sep 17 00:00:00 2001 >From: Nils Philippsen <nils@redhat.com> >Date: Thu, 14 Nov 2013 14:29:01 +0100 >Subject: [PATCH 1/2] file-xwd: sanity check colormap size (CVE-2013-1913) > >--- > plug-ins/common/file-xwd.c | 11 +++++++++++ > 1 file changed, 11 insertions(+) > >diff --git a/plug-ins/common/file-xwd.c b/plug-ins/common/file-xwd.c >index c8e1a6e..343129a 100644 >--- a/plug-ins/common/file-xwd.c >+++ b/plug-ins/common/file-xwd.c >@@ -466,6 +466,17 @@ load_image (const gchar *filename, > /* Position to start of XWDColor structures */ > fseek (ifp, (long)xwdhdr.l_header_size, SEEK_SET); > >+ /* Guard against insanely huge color maps -- gimp_image_set_colormap() only >+ * accepts colormaps with 0..256 colors anyway. */ >+ if (xwdhdr.l_colormap_entries > 256) >+ { >+ g_message (_("'%s':\nIllegal number of colormap entries: %ld"), >+ gimp_filename_to_utf8 (filename), >+ (long)xwdhdr.l_colormap_entries); >+ fclose (ifp); >+ return -1; >+ } >+ > if (xwdhdr.l_colormap_entries > 0) > { > xwdcolmap = g_new (L_XWDCOLOR, xwdhdr.l_colormap_entries); >-- >1.8.4.2 >
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 947868
: 829636