Closed
Bug 389867
Opened 13 years ago
Closed 12 years ago
Array indexing error in ReadCurve (mozilla/modules/lcms/src/cmsio1.c)
Categories
(Core Graveyard :: GFX, defect)
Core Graveyard
GFX
Not set
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla1.9beta3
People
(Reporter: kherron+mozilla, Assigned: ehsan)
References
()
Details
(Keywords: coverity)
Attachments
(1 file)
1.65 KB,
patch
|
pavlov
:
review+
pavlov
:
superreview+
mtschrep
:
approval1.9+
|
Details | Diff | Splinter Review |
This is coverity ID #1233. Please see the sample URL. At line 934, ParamsByType[] has valid indices of 0..4. But the bounds checking on Type allows values 0..5. So a type of 5 will access memory beyond the end of ParamsByType.
Reporter | ||
Comment 1•13 years ago
|
||
Coverity ID 1234 is the same issue later in the file: <http://bonsai.mozilla.org/cvsblame.cgi?file=/mozilla/modules/lcms/src/cmsio1.c&rev=1.1&mark=1024,1036,1043#1022>
Assignee | ||
Comment 2•12 years ago
|
||
Taking over...
Assignee: nobody → ehsan.akhgari
Target Milestone: --- → mozilla1.9 M11
Assignee | ||
Comment 3•12 years ago
|
||
Trivial patch
Attachment #295215 -
Flags: superreview?
Attachment #295215 -
Flags: review?
Assignee | ||
Updated•12 years ago
|
Attachment #295215 -
Flags: superreview?(pavlov)
Attachment #295215 -
Flags: superreview?
Attachment #295215 -
Flags: review?(benjamin)
Attachment #295215 -
Flags: review?
Comment 4•12 years ago
|
||
Comment on attachment 295215 [details] [diff] [review] Patch (v1) I am not a peer of this code, and don't know anything about it.
Attachment #295215 -
Flags: review?(benjamin)
Assignee | ||
Updated•12 years ago
|
Attachment #295215 -
Flags: review?(pavlov)
Assignee | ||
Updated•12 years ago
|
Status: NEW → ASSIGNED
Comment 5•12 years ago
|
||
Marti: does this look right?
Updated•12 years ago
|
Attachment #295215 -
Flags: superreview?(pavlov)
Attachment #295215 -
Flags: superreview+
Attachment #295215 -
Flags: review?(pavlov)
Attachment #295215 -
Flags: review+
Updated•12 years ago
|
Keywords: checkin-needed
Updated•12 years ago
|
Attachment #295215 -
Flags: approval1.9?
Updated•12 years ago
|
Attachment #295215 -
Flags: approval1.9? → approval1.9+
Updated•12 years ago
|
Keywords: checkin-needed
Comment 8•12 years ago
|
||
Checking in modules/lcms/src/cmsio1.c; /cvsroot/mozilla/modules/lcms/src/cmsio1.c,v <-- cmsio1.c new revision: 1.3; previous revision: 1.2 done
Updated•11 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•