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 1375989: (CHECKED_RETURN)
/home/covscan/pike/Pike-v8.1-snapshot/src/pike_types.c: 3872 in low_pike_types_le()
/home/covscan/pike/Pike-v8.1-snapshot/src/pike_types.c: 3895 in low_pike_types_le()
/home/covscan/pike/Pike-v8.1-snapshot/src/pike_types.c: 4090 in low_pike_types_le()
________________________________________________________________________________________________________
*** CID 1375989: (CHECKED_RETURN)
/home/covscan/pike/Pike-v8.1-snapshot/src/pike_types.c: 3872 in low_pike_types_le()
3866 goto recurse;
3867 }
3868 if ((a->flags | b->flags) & PT_FLAG_ASSIGN) {
3869 /* Note that we need to recurse, since there are T_ASSIGN nodes
3870 * in the cdr that need to be executed.
3871 */
>>> CID 1375989: (CHECKED_RETURN)
>>> Calling "low_pike_types_le" without checking return value (as is done elsewhere 28 out of 35 times).
3872 low_pike_types_le(a->cdr, b, array_cnt, flags);
3873 }
3874 return 1;
3875
3876 case T_OR:
3877 /* OK, if both of the parts are a subset,
/home/covscan/pike/Pike-v8.1-snapshot/src/pike_types.c: 3895 in low_pike_types_le()
3889 } else {
3890 ret = low_pike_types_le(a->car, b, array_cnt, flags);
3891 #ifdef TYPE_GROUPING
3892 if (!ret == !(flags & LE_A_GROUPED)) {
3893 if ((a->flags | b->flags) & PT_FLAG_ASSIGN) {
3894 /* Note: Needed for side effects... */
>>> CID 1375989: (CHECKED_RETURN)
>>> Calling "low_pike_types_le" without checking return value (as is done elsewhere 28 out of 35 times).
3895 low_pike_types_le(a->cdr, b, array_cnt, flags);
3896 }
3897 return ret;
3898 }
3899 #else
3900 if (!ret) return 0;
/home/covscan/pike/Pike-v8.1-snapshot/src/pike_types.c: 4090 in low_pike_types_le()
4084 */
4085 ret = low_pike_types_le(a, b->car, array_cnt, flags);
4086 #ifdef TYPE_GROUPING
4087 if (!ret != !(flags & LE_B_GROUPED)) {
4088 if ((a->flags | b->flags) & PT_FLAG_ASSIGN) {
4089 /* Note: Needed for side effects... */
>>> CID 1375989: (CHECKED_RETURN)
>>> Calling "low_pike_types_le" without checking return value (as is done elsewhere 28 out of 35 times).
4090 low_pike_types_le(a, b->cdr, array_cnt, flags);
4091 }
4092 return ret;
4093 }
4094 #else
4095 if (ret) return ret;
________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u2389337.ct.sendgrid.net/wf/click?upn=08onrYu34A-2BWcWUl-2F-2BfV0V0…
To manage Coverity Scan email notifications for "pike-automation(a)lists.lysator.liu.se", click https://u2389337.ct.sendgrid.net/wf/click?upn=08onrYu34A-2BWcWUl-2F-2BfV0V0…
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.
1 defect(s), reported by Coverity Scan earlier, were marked fixed in the recent build analyzed by Coverity Scan.
New defect(s) Reported-by: Coverity Scan
Showing 1 of 1 defect(s)
** CID 1362005: Uninitialized variables (UNINIT)
/home/covscan/pike/Pike-v8.1-snapshot/src/modules/Gmp/mpf.cmod: 979 in f_mpf_pow()
________________________________________________________________________________________________________
*** CID 1362005: Uninitialized variables (UNINIT)
/home/covscan/pike/Pike-v8.1-snapshot/src/modules/Gmp/mpf.cmod: 979 in f_mpf_pow()
973 */
974 break;
975 }
976 res = get_mpf_with_prec( mpf_get_prec(THISMPF) );
977 a = OBTOMPF(res);
978
>>> CID 1362005: Uninitialized variables (UNINIT)
>>> Using uninitialized value "ai".
979 if( ai < 0 )
980 {
981 mpf_pow_ui( a, THISMPF, -ai );
982 mpf_ui_div( a, 1, a );
983 }
984 else
________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://scan.coverity.com/projects/pike-master?tab=overview
To manage Coverity Scan email notifications for "pike-automation(a)lists.lysator.liu.se", click https://scan.coverity.com/subscriptions/edit?email=pike-automation%40lists.…
Hi,
Please find the latest report on new defect(s) introduced to Pike-experiment found with Coverity Scan.
1 new defect(s) introduced to Pike-experiment found with Coverity Scan.
1 defect(s), reported by Coverity Scan earlier, were marked fixed in the recent build analyzed by Coverity Scan.
New defect(s) Reported-by: Coverity Scan
Showing 1 of 1 defect(s)
** CID 1358635: Control flow issues (MISSING_BREAK)
/home/covscan/pike/pike-git/src/interpret.c: 3634 in frame_execute()
________________________________________________________________________________________________________
*** CID 1358635: Control flow issues (MISSING_BREAK)
/home/covscan/pike/pike-git/src/interpret.c: 3634 in frame_execute()
3628 TYPE_T t = PTR_TO_INT(frame->pc);
3629 o_cast(type, t);
3630 break;
3631 }
3632 case FRAME_BUILTIN:
3633 Pike_fatal("Cannot execute builtin frame.\n");
>>> CID 1358635: Control flow issues (MISSING_BREAK)
>>> The above case falls through to this one.
3634 default:
3635 #ifdef PIKE_DEBUG
3636 Pike_fatal("trying to execute uninitialized frame.\n");
3637 #else
3638 UNREACHABLE(return);
3639 #endif
________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://scan.coverity.com/projects/pike-experiment?tab=overview
To manage Coverity Scan email notifications for "pike-automation(a)lists.lysator.liu.se", click https://scan.coverity.com/subscriptions/edit?email=pike-automation%40lists.…