Login
Log in using an SSO provider:
Fedora Account System
Red Hat Associate
Red Hat Customer
Login using a Red Hat Bugzilla account
Forgot Password
Create an Account
Red Hat Bugzilla – Attachment 831461 Details for
Bug 1036495
CVE-2013-6045 openjpeg: heap-based buffer overflows
Home
New
Search
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.rh92 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]
proposed patch 1
segfault0.patch (text/plain), 857 bytes, created by
Murray McAllister
on 2013-12-02 07:34:01 UTC
(
hide
)
Description:
proposed patch 1
Filename:
MIME Type:
Creator:
Murray McAllister
Created:
2013-12-02 07:34:01 UTC
Size:
857 bytes
patch
obsolete
>Index: openjpeg-1.5.1/libopenjpeg/j2k.c >=================================================================== >--- openjpeg-1.5.1.orig/libopenjpeg/j2k.c 2013-01-01 01:01:01.000000000 +0000 >+++ openjpeg-1.5.1/libopenjpeg/j2k.c 2013-01-01 01:01:01.000000000 +0000 >@@ -1067,6 +1067,17 @@ static void j2k_read_poc(opj_j2k_t *j2k) > tcp->POC = 1; > len = cio_read(cio, 2); /* Lpoc */ > numpchgs = (len - 2) / (5 + 2 * (numcomps <= 256 ? 1 : 2)); >+ >+ { >+ /* old_poc < 0 "just in case" */ >+ int maxpocs = (sizeof(tcp->pocs)/sizeof(tcp->pocs[0])); >+ if ((old_poc < 0) || ((numpchgs + old_poc) >= maxpocs)) { >+ opj_event_msg(j2k->cinfo, EVT_ERROR, >+ "JPWL: bad number of progression order changes (%d out of a maximum of %d)\n", >+ (numpchgs + old_poc), maxpocs); >+ return; >+ } >+ } > > for (i = old_poc; i < numpchgs + old_poc; i++) { > opj_poc_t *poc;
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 1036495
: 831461 |
831462
|
831463
|
831464
|
831465