Hi,

Please find the latest report on new defect(s) introduced to Pike-master found with Coverity Scan.

Defect Details

** CID 1668304:       Memory - illegal accesses  (USE_AFTER_FREE)


_____________________________________________________________________________________________
*** CID 1668304:         Memory - illegal accesses  (USE_AFTER_FREE)
/home/covbuilder/pike/Pike-v9.1-snapshot/src/post_modules/GI/gi.cmod: 976             in cb_destroy_list()
970       g_free(cbc);
971     }
972     
973     static void cb_destroy_list(struct gi_callback_context **list)
974     {
975       while (*list)
>>>     CID 1668304:         Memory - illegal accesses  (USE_AFTER_FREE)
>>>     Calling "cb_destroy_now" dereferences freed pointer "*list".
976         cb_destroy_now(*list);
977     }
978     
979     static void process_deferred_cb_destroys(void)
980     {
981       cb_destroy_list(&deferred_destroy_cbs);

  

View Defects in Coverity Scan

Best regards,

The Coverity Scan Admin Team