Hi,
Please find the latest report on new defect(s) introduced to Enlightenment
Foundation Libraries found with Coverity Scan.
2 new defect(s) introduced to Enlightenment Foundation Libraries found with
Coverity Scan.
New defect(s) Reported-by: Coverity Scan
Showing 2 of 2 defect(s)
** CID 1397005: (OVERRUN)
/src/lib/elementary/efl_ui_focus_manager_calc.c: 176 in
border_onedirection_set()
/src/lib/elementary/efl_ui_focus_manager_calc.c: 185 in
border_onedirection_set()
________________________________________________________________________________________________________
*** CID 1397005: (OVERRUN)
/src/lib/elementary/efl_ui_focus_manager_calc.c: 176 in
border_onedirection_set()
170
171 border = &DIRECTION_ACCESS(node, direction);
172
173 EINA_LIST_FREE(border->one_direction, partner)
174 {
175 Border *b = &DIRECTION_ACCESS(partner,
efl_ui_focus_util_direction_complement(direction));
>>> CID 1397005: (OVERRUN)
>>> Overrunning array of 64 bytes at byte offset 68719476704 by
>>> dereferencing pointer "b".
176 b->cleanup_nodes = eina_list_remove(b->cleanup_nodes, node);
177 }
178
179 border->one_direction = list;
180
181 EINA_LIST_FOREACH(border->one_direction, lnode, partner)
/src/lib/elementary/efl_ui_focus_manager_calc.c: 185 in
border_onedirection_set()
179 border->one_direction = list;
180
181 EINA_LIST_FOREACH(border->one_direction, lnode, partner)
182 {
183 Border *comp_border =
&DIRECTION_ACCESS(partner,efl_ui_focus_util_direction_complement(direction));
184
>>> CID 1397005: (OVERRUN)
>>> Overrunning array of 64 bytes at byte offset 68719476704 by
>>> dereferencing pointer "comp_border".
185 comp_border->cleanup_nodes =
eina_list_append(comp_border->cleanup_nodes, node);
186 }
187 }
188
189 static void
190 border_onedirection_cleanup(Node *node, Efl_Ui_Focus_Direction
direction)
** CID 1396957: Memory - corruptions (OVERRUN)
/src/lib/elementary/efl_ui_focus_manager_calc.c: 202 in
border_onedirection_cleanup()
________________________________________________________________________________________________________
*** CID 1396957: Memory - corruptions (OVERRUN)
/src/lib/elementary/efl_ui_focus_manager_calc.c: 202 in
border_onedirection_cleanup()
196
197 border = &DIRECTION_ACCESS(node, direction);
198
199 EINA_LIST_FREE(border->cleanup_nodes, partner)
200 {
201 Border *b = &DIRECTION_ACCESS(partner,
efl_ui_focus_util_direction_complement(direction));
>>> CID 1396957: Memory - corruptions (OVERRUN)
>>> Overrunning array of 64 bytes at byte offset 68719476704 by
>>> dereferencing pointer "b".
202 b->one_direction = eina_list_remove(b->one_direction, node);
203 }
204 }
205 /**
206 * Create a new node
207 */
________________________________________________________________________________________________________
To view the defects in Coverity Scan visit,
https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my0P0qcxCbhZ31OYv50yr0IfqfowFTJfr2mAaHN4-2F3-2FDLvknkvEk8R-2Brc-2FAW1wKeWyrE1QE9OJURKPBhdlbSbw1o9AcDp5mEfe2HCNhbRPfZ6-_mvpcOc8FOVNbImGRSJC5zHD-2FhpVE1eyBkS-2FwxVM20bAYoRluBZqz-2BflYwpXqPgd3AcOjk7m6jpQH4vBxzKSqHn6Xv6TIrAucYNyVSbz-2BJ48xeG3RjyhhgOrFrva-2BDX-2FQLMd1SUANtSZnIyhsD8YsluyEXZs-2BoJwvQikbLmeXkGYRBV2zTBO5Moljzumy3tUxRMOX0cT2JkdzC01VgnF3CVlI92QwBHVFVurWV8T5L15ca5SdZGlZimWj5jUOW2r-2F
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel