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 831466 Details for
Bug 1036499
CVE-2013-6054 openjpeg: heap-based buffer overflows in version 1.3
[?]
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]
proposed patch
qcx_backport.patch (text/plain), 1.12 KB, created by
Murray McAllister
on 2013-12-02 07:39:33 UTC
(
hide
)
Description:
proposed patch
Filename:
MIME Type:
Creator:
Murray McAllister
Created:
2013-12-02 07:39:33 UTC
Size:
1.12 KB
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 >@@ -920,6 +920,13 @@ static void j2k_read_qcx(opj_j2k_t *j2k, > }; > > }; >+#else >+ /* We check whether there are too many subbands */ >+ if ((numbands < 0) || (numbands >= J2K_MAXBANDS)) { >+ opj_event_msg(j2k->cinfo, EVT_WARNING , >+ "bad number of subbands in Sqcx (%d) regarding to J2K_MAXBANDS (%d) \n" >+ "- limiting number of bands to J2K_MAXBANDS and try to move to the next markers\n", numbands, J2K_MAXBANDS); >+ } > #endif /* USE_JPWL */ > > for (bandno = 0; bandno < numbands; bandno++) { >@@ -932,8 +939,10 @@ static void j2k_read_qcx(opj_j2k_t *j2k, > expn = tmp >> 11; > mant = tmp & 0x7ff; > } >- tccp->stepsizes[bandno].expn = expn; >- tccp->stepsizes[bandno].mant = mant; >+ if (bandno < J2K_MAXBANDS) { >+ tccp->stepsizes[bandno].expn = expn; >+ tccp->stepsizes[bandno].mant = mant; >+ } > } > > /* Add Antonin : if scalar_derived -> compute other stepsizes */
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 1036499
: 831466