Coverity OVERRUN_STATIC - CID 10720
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
The Sound Menu |
Fix Released
|
High
|
Charles Kerr | ||
Fifth |
Fix Released
|
High
|
Charles Kerr |
Bug Description
This bug is exported from the Coverity Integration Manager on Canonical's servers. For information on how this is done please see this website: https:/
CID: 10720
Checker: OVERRUN_STATIC
Category: read
CWE definition: http://
File: /tmp/buildd/
Function: draw_album_border()
Code snippet:
527 bg_normal.r = style->
528 bg_normal.g = style->
529 bg_normal.b = style->
530
At conditional: "selected" taking True branch
CID 10720 - OVERRUN_STATIC
Assigning: "state" = "selected ? 5 : 0".
531 gint state = selected ? 5 : 0;
532
CID 10720 - OVERRUN_STATIC
Overrunning static array "style->fg", with 5 elements, at position 5 with index variable "state".
533 fg_normal.r = style->
534 fg_normal.g = style->
535 fg_normal.b = style->
536
Related branches
- Ted Gould (community): Approve
-
Diff: 12 lines (+1/-1)1 file modifiedsrc/metadata-widget.c (+1/-1)
Source file with Coverity annotations.