Hi,
Please find the latest report on new defect(s) introduced to Pike-master found with Coverity Scan.
2 new defect(s) introduced to Pike-master found with Coverity Scan.
New defect(s) Reported-by: Coverity Scan Showing 2 of 2 defect(s)
** CID 1376003: Error handling issues (CHECKED_RETURN) /home/covscan/pike/Pike-v8.1-snapshot/src/object.c: 2359 in gc_mark_object_as_referenced()
________________________________________________________________________________________________________ *** CID 1376003: Error handling issues (CHECKED_RETURN) /home/covscan/pike/Pike-v8.1-snapshot/src/object.c: 2359 in gc_mark_object_as_referenced() 2353 struct svalue *s; 2354 s=(struct svalue *)(pike_frame->current_storage + id->func.offset); 2355 dmalloc_touch_svalue(s); 2356 if ((TYPEOF(*s) != T_OBJECT && TYPEOF(*s) != T_FUNCTION) || 2357 s->u.object != o || !(id_flags & IDENTIFIER_NO_THIS_REF)) { 2358 if (id_flags & IDENTIFIER_WEAK) {
CID 1376003: Error handling issues (CHECKED_RETURN) Calling "gc_mark_weak_svalues" without checking return value (as is done elsewhere 5 out of 6 times).
2359 gc_mark_weak_svalues(s, 1); 2360 } else { 2361 gc_mark_svalues(s, 1); 2362 } 2363 } 2364 }else{
** CID 1376002: Error handling issues (CHECKED_RETURN) /home/covscan/pike/Pike-v8.1-snapshot/src/object.c: 2435 in real_gc_cycle_check_object()
________________________________________________________________________________________________________ *** CID 1376002: Error handling issues (CHECKED_RETURN) /home/covscan/pike/Pike-v8.1-snapshot/src/object.c: 2435 in real_gc_cycle_check_object() 2429 struct svalue *s; 2430 s=(struct svalue *)(pike_frame->current_storage + id->func.offset); 2431 dmalloc_touch_svalue(s); 2432 if ((TYPEOF(*s) != T_OBJECT && TYPEOF(*s) != T_FUNCTION) || 2433 s->u.object != o || !(id_flags & IDENTIFIER_NO_THIS_REF)) { 2434 if (id_flags & IDENTIFIER_WEAK) {
CID 1376002: Error handling issues (CHECKED_RETURN) Calling "gc_cycle_check_weak_svalues" without checking return value (as is done elsewhere 5 out of 6 times).
2435 gc_cycle_check_weak_svalues(s, 1); 2436 } else { 2437 gc_cycle_check_svalues(s, 1); 2438 } 2439 } 2440 }else{
________________________________________________________________________________________________________ To view the defects in Coverity Scan visit, https://u2389337.ct.sendgrid.net/wf/click?upn=08onrYu34A-2BWcWUl-2F-2BfV0V05...
To manage Coverity Scan email notifications for "pike-automation@lists.lysator.liu.se", click https://u2389337.ct.sendgrid.net/wf/click?upn=08onrYu34A-2BWcWUl-2F-2BfV0V05...