Hi,
Please find the latest report on new defect(s) introduced to Pike-master found with Coverity Scan.
1 new defect(s) introduced to Pike-master found with Coverity Scan.
New defect(s) Reported-by: Coverity Scan Showing 1 of 1 defect(s)
** CID 1606004: Null pointer dereferences (FORWARD_NULL)
________________________________________________________________________________________________________ *** CID 1606004: Null pointer dereferences (FORWARD_NULL) /home/covbuilder/pike/Pike-v9.1-snapshot/src/program.c: 7216 in add_typed_constant() 7210 return define_alias(name, id->type, flags, depth, n); 7211 } 7212 } 7213 } 7214 7215 if (type) {
CID 1606004: Null pointer dereferences (FORWARD_NULL) Passing null pointer "c" to "get_type_of_svalue", which dereferences it.
7216 struct pike_type *tmp = get_type_of_svalue(c); 7217 struct pike_type *tmp2 = and_pike_types(type, tmp); 7218 if (tmp2) { 7219 if (flags & ID_INLINE) { 7220 type = tmp2; 7221 } else {
________________________________________________________________________________________________________ To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=u001.AxU2LYlgjL6eX23u9ErQy-2B...
pike-automation@lists.lysator.liu.se