Error: CLANG_WARNING: [#def1] libqalculate-5.0.0-build/libqalculate-5.0.0/libqalculate/BuiltinFunctions-number.cc:2583:3: warning[core.CallAndMessage]: Called C++ object pointer is null # 2581| bool recalculable = false; # 2582| while(true) { # 2583|-> CALCULATOR->beginTemporaryStopMessages(); # 2584| mstruct = vargs[0]; # 2585| mstruct.eval(eo); Error: CLANG_WARNING: [#def2] libqalculate-5.0.0-build/libqalculate-5.0.0/libqalculate/BuiltinFunctions-number.cc:2592:29: warning[core.CallAndMessage]: Called C++ object pointer is null # 2590| if(nr.isInteger()) { # 2591| CALCULATOR->endTemporaryStopMessages(true); # 2592|-> if(precbak != PRECISION) CALCULATOR->setPrecision(precbak); # 2593| mstruct = nr; # 2594| return 1; Error: CLANG_WARNING: [#def3] libqalculate-5.0.0-build/libqalculate-5.0.0/libqalculate/BuiltinFunctions-number.cc:2598:5: warning[core.CallAndMessage]: Called C++ object pointer is null # 2596| if(!recalculable) recalculable = !contains_unrecalculable_interval(vargs[0]); # 2597| if(recalculable && !CALCULATOR->aborted() && PRECISION < 2000) { # 2598|-> CALCULATOR->endTemporaryStopMessages(false); # 2599| CALCULATOR->setPrecision(PRECISION * 5); # 2600| } else { Error: CLANG_WARNING: [#def4] libqalculate-5.0.0-build/libqalculate-5.0.0/libqalculate/BuiltinFunctions-number.cc:2599:5: warning[core.CallAndMessage]: Called C++ object pointer is null # 2597| if(recalculable && !CALCULATOR->aborted() && PRECISION < 2000) { # 2598| CALCULATOR->endTemporaryStopMessages(false); # 2599|-> CALCULATOR->setPrecision(PRECISION * 5); # 2600| } else { # 2601| CALCULATOR->error(true, _("Insufficient precision."), NULL); Error: CLANG_WARNING: [#def5] libqalculate-5.0.0-build/libqalculate-5.0.0/libqalculate/BuiltinFunctions-number.cc:2607:27: warning[core.CallAndMessage]: Called C++ object pointer is null # 2605| } # 2606| CALCULATOR->endTemporaryStopMessages(true); # 2607|-> if(precbak != PRECISION) CALCULATOR->setPrecision(precbak); # 2608| return -1; # 2609| }
analyzer-version-clang | 18.1.7 |
analyzer-version-cppcheck | 2.14.2 |
analyzer-version-gcc | 14.1.1 |
analyzer-version-gcc-analyzer | 14.1.1 |
analyzer-version-shellcheck | 0.10.0 |
diffbase-analyzer-version-clang | 18.1.7 |
diffbase-analyzer-version-cppcheck | 2.14.2 |
diffbase-analyzer-version-gcc | 14.1.1 |
diffbase-analyzer-version-gcc-analyzer | 14.1.1 |
diffbase-analyzer-version-shellcheck | 0.10.0 |
diffbase-enabled-plugins | clang, cppcheck, gcc, shellcheck |
diffbase-exit-code | 0 |
diffbase-host | ip-172-16-1-116.us-west-2.compute.internal |
diffbase-mock-config | fedora-41-x86_64 |
diffbase-project-name | libqalculate-4.9.0-4.fc40 |
diffbase-store-results-to | /tmp/tmp4ydaqou6/libqalculate-4.9.0-4.fc40.tar.xz |
diffbase-time-created | 2024-07-03 15:50:15 |
diffbase-time-finished | 2024-07-03 15:55:23 |
diffbase-tool | csmock |
diffbase-tool-args | '/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmp4ydaqou6/libqalculate-4.9.0-4.fc40.tar.xz' '--gcc-analyze' '/tmp/tmp4ydaqou6/libqalculate-4.9.0-4.fc40.src.rpm' |
diffbase-tool-version | csmock-3.5.3-1.el9 |
enabled-plugins | clang, cppcheck, gcc, shellcheck |
exit-code | 0 |
host | ip-172-16-1-116.us-west-2.compute.internal |
mock-config | fedora-41-x86_64 |
project-name | libqalculate-5.0.0-2.fc41 |
store-results-to | /tmp/tmp3fttn974/libqalculate-5.0.0-2.fc41.tar.xz |
time-created | 2024-07-03 15:55:44 |
time-finished | 2024-07-03 16:00:24 |
title | Newly introduced defects |
tool | csmock |
tool-args | '/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmp3fttn974/libqalculate-5.0.0-2.fc41.tar.xz' '--gcc-analyze' '/tmp/tmp3fttn974/libqalculate-5.0.0-2.fc41.src.rpm' |
tool-version | csmock-3.5.3-1.el9 |