Hi,

Please find the latest report on new defect(s) introduced to Enlightenment 
Foundation Libraries found with Coverity Scan.

1 new defect(s) introduced to Enlightenment Foundation Libraries found with 
Coverity Scan.


New defect(s) Reported-by: Coverity Scan
Showing 1 of 1 defect(s)


** CID 1430579:  Incorrect expression  (SIZEOF_MISMATCH)
/src/bin/elementary/test_label.c: 606 in test_text_memory()


________________________________________________________________________________________________________
*** CID 1430579:  Incorrect expression  (SIZEOF_MISMATCH)
/src/bin/elementary/test_label.c: 606 in test_text_memory()
600          }
601     }
602     
603     void
604     test_text_memory(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, 
void *event_info EINA_UNUSED)
605     {
>>>     CID 1430579:  Incorrect expression  (SIZEOF_MISMATCH)
>>>     Passing argument "1UL" to function "calloc" that returns a pointer of 
>>> type "APP_MEM *" is suspicious because a multiple of "sizeof (APP_MEM) 
>>> /*72*/" is expected.
606       app_mem = calloc(sizeof(APP), 1);
607     
608        elm_policy_set(ELM_POLICY_QUIT, ELM_POLICY_QUIT_LAST_WINDOW_CLOSED);
609     
610        app_mem->win = elm_win_util_standard_add("Main", "App");
611        elm_win_autodel_set(app_mem->win, EINA_TRUE);


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, 
https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my0P0qcxCbhZ31OYv50yr0IfqfowFTJfr2mAaHN4-2F3-2FDLvknkvEk8R-2Brc-2FAW1wKeWyrE1QE9OJURKPBhdlbSbw1o9AcDp5mEfe2HCNhbRPiAAF_mvpcOc8FOVNbImGRSJC5zHD-2FhpVE1eyBkS-2FwxVM20bAYoRluBZqz-2BflYwpXqPgd3jw784vo1ux19zUtBsMx2Drh9l6GCNhF5d-2FKLZcjBnM5P9IX4TdM3kg8y4bSxS1X94CiQuiQz3FongWNnkTw5Iz5L1HjKBx3AlDKWkvVzhA0iT1kNMaUyITu6tBD-2FWun1kyaLmGP8aBAgJWFX4bAnI-2F-2Fd-2BLqhSmYfLfR-2BksSC1oeYliuDdwE41-2FtdAOrMstXx



_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to