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 835153 Details for
Bug 1037948
CVE-2013-6887 openjpeg: multiple denial of service flaws in version 1.5.1
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
ifree1.patch (text/plain), 1.09 KB, created by
Murray McAllister
on 2013-12-11 07:40:58 UTC
(
hide
)
Description:
proposed patch
Filename:
MIME Type:
Creator:
Murray McAllister
Created:
2013-12-11 07:40:58 UTC
Size:
1.09 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 >@@ -1673,8 +1673,11 @@ static void j2k_read_eoc(opj_j2k_t *j2k) > else { > for (i = 0; i < j2k->cp->tileno_size; i++) { > tileno = j2k->cp->tileno[i]; >- opj_free(j2k->tile_data[tileno]); >- j2k->tile_data[tileno] = NULL; >+ /* not sure if this can actually happen */ >+ if (tileno != -1) { >+ opj_free(j2k->tile_data[tileno]); >+ j2k->tile_data[tileno] = NULL; >+ } > } > } > if (j2k->state & J2K_STATE_ERR) >@@ -1834,8 +1837,10 @@ void j2k_destroy_decompress(opj_j2k_t *j > if(j2k->cp != NULL) { > for (i = 0; i < j2k->cp->tileno_size; i++) { > int tileno = j2k->cp->tileno[i]; >- opj_free(j2k->tile_data[tileno]); >- j2k->tile_data[tileno] = NULL; >+ if (tileno != -1) { >+ opj_free(j2k->tile_data[tileno]); >+ j2k->tile_data[tileno] = NULL; >+ } > } > } >
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 1037948
: 835153