Hi,
Please find the latest report on new defect(s) introduced to Pike-master found with Coverity Scan.
3 new defect(s) introduced to Pike-master found with Coverity Scan.
New defect(s) Reported-by: Coverity Scan Showing 3 of 3 defect(s)
** CID 1690707: Null pointer dereferences (FORWARD_NULL) /home/covbuilder/pike/Pike-v9.1-snapshot/src/post_modules/GI/gi.cmod: 878 in push_wrapped_boxed()
_____________________________________________________________________________________________ *** CID 1690707: Null pointer dereferences (FORWARD_NULL) /home/covbuilder/pike/Pike-v9.1-snapshot/src/post_modules/GI/gi.cmod: 878 in push_wrapped_boxed() 872 obj = low_clone(p); 873 push_object(obj); 874 call_c_initializers(obj); 875 stack_swap(); 876 set_pointer_in_pointer_object(obj, gbox); 877 if (p->flags & PROGRAM_USES_PARENT) {
CID 1690707: Null pointer dereferences (FORWARD_NULL) Dereferencing null pointer "((struct parent_info *)(obj->storage + obj->prog->parent_info_storage))->parent = parent".
878 add_ref(PARENT_INFO(obj)->parent = parent); 879 PARENT_INFO(obj)->parent_identifier = parent_identifier; 880 } 881 if (find_inherited_prog(p, GI_GBoxed_program) >= 0) { 882 call_pike_initializers(obj, 1); 883 } else {
** CID 1690706: Null pointer dereferences (FORWARD_NULL) /home/covbuilder/pike/Pike-v9.1-snapshot/src/post_modules/GI/gi.cmod: 817 in push_wrapped_gobject()
_____________________________________________________________________________________________ *** CID 1690706: Null pointer dereferences (FORWARD_NULL) /home/covbuilder/pike/Pike-v9.1-snapshot/src/post_modules/GI/gi.cmod: 817 in push_wrapped_gobject() 811 obj = low_clone(p); 812 push_object(obj); 813 call_c_initializers(obj); 814 stack_swap(); 815 init_gi_gobject(obj, gobj); 816 if (p->flags & PROGRAM_USES_PARENT) {
CID 1690706: Null pointer dereferences (FORWARD_NULL) Dereferencing null pointer "((struct parent_info *)(obj->storage + obj->prog->parent_info_storage))->parent = parent".
817 add_ref(PARENT_INFO(obj)->parent = parent); 818 PARENT_INFO(obj)->parent_identifier = parent_identifier; 819 } 820 call_pike_initializers(obj, 1); 821 stack_pop_keep_top(); 822 return;
** CID 1690705: Memory - illegal accesses (UNINIT) /home/covbuilder/pike/Pike-v9.1-snapshot/src/post_modules/GI/gi.cmod: 1576 in low_invoke()
_____________________________________________________________________________________________ *** CID 1690705: Memory - illegal accesses (UNINIT) /home/covbuilder/pike/Pike-v9.1-snapshot/src/post_modules/GI/gi.cmod: 1576 in low_invoke() 1570 GIFunctionInfo *funcinfo = 1571 GI_IS_FUNCTION_INFO(callable) ? callable : 1572 GI_IS_VFUNC_INFO(callable) ? g_vfunc_info_get_invoker(callable) : NULL; 1573 gint num_args = g_callable_info_get_n_args(callable); 1574 GIFunctionInfoFlags flags = g_function_info_get_flags(funcinfo); 1575 GIArgument *in_args;
CID 1690705: Memory - illegal accesses (UNINIT) Using uninitialized value "in_args".
1576 GIArgument out_arg_0, *out_args = (num_args? in_args+num_args+1 : NULL); 1577 struct gi_callback_context *cbc, *cbclist = NULL; 1578 1579 if (funcinfo == callable) { 1580 g_base_info_ref(funcinfo); 1581 }
________________________________________________________________________________________________________ To view the defects in Coverity Scan visit, https://scan.coverity.com/projects/pike-master?tab=overview