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 835144 Details for
Bug 1037945
CVE-2013-1447 openjpeg: multiple denial of service flaws
[?]
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]
patch 3
divbyzero.patch (text/plain), 1.83 KB, created by
Murray McAllister
on 2013-12-11 07:34:27 UTC
(
hide
)
Description:
patch 3
Filename:
MIME Type:
Creator:
Murray McAllister
Created:
2013-12-11 07:34:27 UTC
Size:
1.83 KB
patch
obsolete
>The code from the first chunk is optimised away when using -O > 0 > >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 >@@ -470,7 +470,7 @@ static void j2k_read_siz(opj_j2k_t *j2k) > > image->comps = (opj_image_comp_t*) opj_calloc(image->numcomps, sizeof(opj_image_comp_t)); > for (i = 0; i < image->numcomps; i++) { >- int tmp, w, h; >+ int tmp/*, w, h*/; > tmp = cio_read(cio, 1); /* Ssiz_i */ > image->comps[i].prec = (tmp & 0x7f) + 1; > image->comps[i].sgnd = tmp >> 7; >@@ -507,8 +507,8 @@ static void j2k_read_siz(opj_j2k_t *j2k) > #endif /* USE_JPWL */ > > /* TODO: unused ? */ >- w = int_ceildiv(image->x1 - image->x0, image->comps[i].dx); >- h = int_ceildiv(image->y1 - image->y0, image->comps[i].dy); >+/* w = int_ceildiv(image->x1 - image->x0, image->comps[i].dx); >+ h = int_ceildiv(image->y1 - image->y0, image->comps[i].dy);*/ > > image->comps[i].resno_decoded = 0; /* number of resolution decoded */ > image->comps[i].factor = cp->reduce; /* reducing factor per component */ >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 >@@ -505,6 +505,14 @@ static void j2k_read_siz(opj_j2k_t *j2k) > > } > #endif /* USE_JPWL */ >+ { >+ if (!(image->comps[i].dx * image->comps[i].dy)) { >+ opj_event_msg(j2k->cinfo, EVT_ERROR, >+ "JPWL: bad XRsiz_%d/YRsiz_%d (%d x %d)\n", >+ i, i, image->comps[i].dx, image->comps[i].dy); >+ return; >+ } >+ } > > /* TODO: unused ? */ > /* w = int_ceildiv(image->x1 - image->x0, image->comps[i].dx);
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 1037945
:
835142
|
835143
| 835144 |
835145
|
835146
|
835147
|
835149
|
835150
|
835152