View Issue Details

IDProjectCategoryView StatusLast Update
0004796ardourbugspublic2020-04-19 20:16
Reporterahurst Assigned Tocth103  
PrioritynormalSeveritymajorReproducibilityhave not tried
Status closedResolutionfixed 
Product Version3.0-beta3 
Target Version3.0 
Summary0004796: Out-of-bounds array access
DescriptionHigh impact static analysis bug:

An array is accessed out-of-bounds at libs/clearlooks-newer/clearlooks_draw.c:1040.
Additional Information1030static void
1031clearlooks_draw_menubar (cairo_t *cr,
1032 const ClearlooksColors *colors,
1033 const WidgetParameters *params,
1034 const MenuBarParameters *menubar,
1035 int x, int y, int width, int height)
1036{
*** Condition "menubar->style < 0", taking false branch
*** Condition "menubar->style > 3", taking false branch
1037 if (menubar->style < 0 || menubar->style > 3)
1038 return;
1039
*** Overrunning static array "clearlooks_menubar_draw", with 3 elements, at position 3 with index variable "menubar->style".
1040 clearlooks_menubar_draw[menubar->style](cr, colors, params, menubar,
1041 x, y, width, height);
1042}
TagsNo tags attached.

Activities

cth103

2012-04-01 15:06

administrator   ~0013057

Fixed in SVN 11774.

system

2020-04-19 20:16

developer   ~0023008

Issue has been closed automatically, by Trigger Close Plugin.
Feel free to re-open with additional information if you think the issue is not resolved.

Issue History

Date Modified Username Field Change
2012-03-27 23:28 ahurst New Issue
2012-03-28 12:24 cth103 cost => 0.00
2012-03-28 12:24 cth103 Target Version => 3.0 beta4
2012-04-01 15:06 cth103 Note Added: 0013057
2012-04-01 15:06 cth103 Status new => resolved
2012-04-01 15:06 cth103 Resolution open => fixed
2012-04-01 15:06 cth103 Assigned To => cth103
2012-05-23 15:08 cth103 Target Version 3.0 beta4 => 3.0
2020-04-19 20:16 system Note Added: 0023008
2020-04-19 20:16 system Status resolved => closed