Error: GCC_ANALYZER_WARNING (CWE-401): [#def1] unbound-1.19.3/unbound-1.19.3/libunbound/libworker.c: scope_hint: In function 'libworker_fillup_fg' unbound-1.19.3/unbound-1.19.3/libunbound/libworker.c:559:35: warning[-Wanalyzer-malloc-leak]: leak of 'strdup(why_bogus)' # 557| q->res->was_ratelimited = was_ratelimited; # 558| if(why_bogus) # 559|-> q->res->why_bogus = strdup(why_bogus); # 560| if(rcode != 0) { # 561| q->res->rcode = rcode; Error: GCC_ANALYZER_WARNING (CWE-476): [#def2] unbound-1.19.3/unbound-1.19.3/libunbound/python/libunbound_wrap.c: scope_hint: In function 'SWIG_MangledTypeQueryModule' unbound-1.19.3/unbound-1.19.3/libunbound/python/libunbound_wrap.c:630:13: warning[-Wanalyzer-null-dereference]: dereference of NULL 'iter' /usr/include/python3.12/tupleobject.h:39: included_from: Included from here. /usr/include/python3.12/Python.h:62: included_from: Included from here. unbound-1.19.3/unbound-1.19.3/libunbound/python/libunbound_wrap.c:1290:20: note: in expansion of macro 'PyTuple_GET_SIZE' /usr/include/python3.12/Python.h:35: included_from: Included from here. /usr/include/python3.12/cpython/tupleobject.h:23:28: note: in expansion of macro '_PyTuple_CAST' /usr/include/python3.12/cpython/tupleobject.h:24:12: note: in expansion of macro 'Py_SIZE' /usr/include/python3.12/cpython/tupleobject.h:24:12: note: in expansion of macro 'Py_SIZE' /usr/include/python3.12/cpython/tupleobject.h:24:12: note: in expansion of macro 'Py_SIZE' unbound-1.19.3/unbound-1.19.3/libunbound/python/libunbound_wrap.c:1290:20: note: in expansion of macro 'PyTuple_GET_SIZE' unbound-1.19.3/unbound-1.19.3/libunbound/python/libunbound_wrap.c:1143:57: note: in expansion of macro 'SWIG_Python_ConvertPtr' unbound-1.19.3/unbound-1.19.3/libunbound/python/libunbound_wrap.c:11640:10: note: in expansion of macro 'SWIG_ConvertPtr' unbound-1.19.3/unbound-1.19.3/libunbound/python/libunbound_wrap.c:1143:57: note: in expansion of macro 'SWIG_Python_ConvertPtr' unbound-1.19.3/unbound-1.19.3/libunbound/python/libunbound_wrap.c:11640:10: note: in expansion of macro 'SWIG_ConvertPtr' unbound-1.19.3/unbound-1.19.3/libunbound/python/libunbound_wrap.c:1143:57: note: in expansion of macro 'SWIG_Python_ConvertPtr' unbound-1.19.3/unbound-1.19.3/libunbound/python/libunbound_wrap.c:11640:10: note: in expansion of macro 'SWIG_ConvertPtr' unbound-1.19.3/unbound-1.19.3/libunbound/python/libunbound_wrap.c:3406:12: note: in expansion of macro 'SWIG_TypeQuery' unbound-1.19.3/unbound-1.19.3/libunbound/python/libunbound_wrap.c:3406:12: note: in expansion of macro 'SWIG_TypeQuery' unbound-1.19.3/unbound-1.19.3/libunbound/python/libunbound_wrap.c:2974:37: note: in expansion of macro 'SWIG_GetModule' unbound-1.19.3/unbound-1.19.3/libunbound/python/libunbound_wrap.c:2974:37: note: in expansion of macro 'SWIG_GetModule' unbound-1.19.3/unbound-1.19.3/libunbound/python/libunbound_wrap.c:2974:37: note: in expansion of macro 'SWIG_GetModule' # 628| swig_module_info *iter = start; # 629| do { # 630|-> if (iter->size) { # 631| size_t l = 0; # 632| size_t r = iter->size - 1; Error: GCC_ANALYZER_WARNING (CWE-476): [#def3] unbound-1.19.3/unbound-1.19.3/libunbound/python/libunbound_wrap.c: scope_hint: In function 'SwigPyClientData_New' unbound-1.19.3/unbound-1.19.3/libunbound/python/libunbound_wrap.c:1658:17: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL 'data' unbound-1.19.3/unbound-1.19.3/libunbound/python/libunbound_wrap.c:11537:45: note: in expansion of macro 'SWIG_NewClientData' # 1656| SwigPyClientData *data = (SwigPyClientData *)malloc(sizeof(SwigPyClientData)); # 1657| /* the klass element */ # 1658|-> data->klass = obj; # 1659| Py_INCREF(data->klass); # 1660| /* the newraw method and newargs arguments used to create a new raw instance */ Error: GCC_ANALYZER_WARNING (CWE-401): [#def4] unbound-1.19.3/unbound-1.19.3/libunbound/python/libunbound_wrap.c: scope_hint: In function '_wrap_new_ub_stats_info' unbound-1.19.3/unbound-1.19.3/libunbound/python/libunbound_wrap.c:2862:6: warning[-Wanalyzer-malloc-leak]: leak of 'result' unbound-1.19.3/unbound-1.19.3/libunbound/python/libunbound_wrap.c:11439:15: note: in expansion of macro 'SWIG_NewPointerObj' unbound-1.19.3/unbound-1.19.3/libunbound/python/libunbound_wrap.c:11439:15: note: in expansion of macro 'SWIG_NewPointerObj' # 2860| # 2861| robj = SwigPyObject_New(ptr, type, own); # 2862|-> if (robj && clientdata && !(flags & SWIG_POINTER_NOSHADOW)) { # 2863| PyObject *inst = SWIG_Python_NewShadowInstance(clientdata, robj); # 2864| Py_DECREF(robj); Error: GCC_ANALYZER_WARNING (CWE-476): [#def5] unbound-1.19.3/unbound-1.19.3/libunbound/python/libunbound_wrap.c: scope_hint: In function '_wrap_ub_stats_info_mesh_num_states_get' unbound-1.19.3/unbound-1.19.3/libunbound/python/libunbound_wrap.c:11046:10: warning[-Wanalyzer-null-dereference]: dereference of NULL 'arg1' unbound-1.19.3/unbound-1.19.3/libunbound/python/libunbound_wrap.c:1143:57: note: in expansion of macro 'SWIG_Python_ConvertPtr' unbound-1.19.3/unbound-1.19.3/libunbound/python/libunbound_wrap.c:11041:10: note: in expansion of macro 'SWIG_ConvertPtr' unbound-1.19.3/unbound-1.19.3/libunbound/python/libunbound_wrap.c:1143:57: note: in expansion of macro 'SWIG_Python_ConvertPtr' unbound-1.19.3/unbound-1.19.3/libunbound/python/libunbound_wrap.c:11041:10: note: in expansion of macro 'SWIG_ConvertPtr' unbound-1.19.3/unbound-1.19.3/libunbound/python/libunbound_wrap.c:1143:57: note: in expansion of macro 'SWIG_Python_ConvertPtr' unbound-1.19.3/unbound-1.19.3/libunbound/python/libunbound_wrap.c:11041:10: note: in expansion of macro 'SWIG_ConvertPtr' #11044| } #11045| arg1 = (struct ub_stats_info *)(argp1); #11046|-> result = (long long) ((arg1)->mesh_num_states); #11047| resultobj = SWIG_From_long_SS_long((long long)(result)); #11048| return resultobj; Error: GCC_ANALYZER_WARNING (CWE-476): [#def6] unbound-1.19.3/unbound-1.19.3/libunbound/python/libunbound_wrap.c: scope_hint: In function '_wrap_ub_stats_info_mesh_num_reply_states_get' unbound-1.19.3/unbound-1.19.3/libunbound/python/libunbound_wrap.c:11100:10: warning[-Wanalyzer-null-dereference]: dereference of NULL 'arg1' unbound-1.19.3/unbound-1.19.3/libunbound/python/libunbound_wrap.c:1143:57: note: in expansion of macro 'SWIG_Python_ConvertPtr' unbound-1.19.3/unbound-1.19.3/libunbound/python/libunbound_wrap.c:11095:10: note: in expansion of macro 'SWIG_ConvertPtr' unbound-1.19.3/unbound-1.19.3/libunbound/python/libunbound_wrap.c:1143:57: note: in expansion of macro 'SWIG_Python_ConvertPtr' unbound-1.19.3/unbound-1.19.3/libunbound/python/libunbound_wrap.c:11095:10: note: in expansion of macro 'SWIG_ConvertPtr' unbound-1.19.3/unbound-1.19.3/libunbound/python/libunbound_wrap.c:1143:57: note: in expansion of macro 'SWIG_Python_ConvertPtr' unbound-1.19.3/unbound-1.19.3/libunbound/python/libunbound_wrap.c:11095:10: note: in expansion of macro 'SWIG_ConvertPtr' #11098| } #11099| arg1 = (struct ub_stats_info *)(argp1); #11100|-> result = (long long) ((arg1)->mesh_num_reply_states); #11101| resultobj = SWIG_From_long_SS_long((long long)(result)); #11102| return resultobj; Error: GCC_ANALYZER_WARNING (CWE-476): [#def7] unbound-1.19.3/unbound-1.19.3/libunbound/python/libunbound_wrap.c: scope_hint: In function '_wrap_ub_stats_info_mesh_jostled_get' unbound-1.19.3/unbound-1.19.3/libunbound/python/libunbound_wrap.c:11154:10: warning[-Wanalyzer-null-dereference]: dereference of NULL 'arg1' unbound-1.19.3/unbound-1.19.3/libunbound/python/libunbound_wrap.c:1143:57: note: in expansion of macro 'SWIG_Python_ConvertPtr' unbound-1.19.3/unbound-1.19.3/libunbound/python/libunbound_wrap.c:11149:10: note: in expansion of macro 'SWIG_ConvertPtr' unbound-1.19.3/unbound-1.19.3/libunbound/python/libunbound_wrap.c:1143:57: note: in expansion of macro 'SWIG_Python_ConvertPtr' unbound-1.19.3/unbound-1.19.3/libunbound/python/libunbound_wrap.c:11149:10: note: in expansion of macro 'SWIG_ConvertPtr' unbound-1.19.3/unbound-1.19.3/libunbound/python/libunbound_wrap.c:1143:57: note: in expansion of macro 'SWIG_Python_ConvertPtr' unbound-1.19.3/unbound-1.19.3/libunbound/python/libunbound_wrap.c:11149:10: note: in expansion of macro 'SWIG_ConvertPtr' #11152| } #11153| arg1 = (struct ub_stats_info *)(argp1); #11154|-> result = (long long) ((arg1)->mesh_jostled); #11155| resultobj = SWIG_From_long_SS_long((long long)(result)); #11156| return resultobj; Error: GCC_ANALYZER_WARNING (CWE-476): [#def8] unbound-1.19.3/unbound-1.19.3/libunbound/python/libunbound_wrap.c: scope_hint: In function '_wrap_ub_stats_info_mesh_dropped_get' unbound-1.19.3/unbound-1.19.3/libunbound/python/libunbound_wrap.c:11208:10: warning[-Wanalyzer-null-dereference]: dereference of NULL 'arg1' unbound-1.19.3/unbound-1.19.3/libunbound/python/libunbound_wrap.c:1143:57: note: in expansion of macro 'SWIG_Python_ConvertPtr' unbound-1.19.3/unbound-1.19.3/libunbound/python/libunbound_wrap.c:11203:10: note: in expansion of macro 'SWIG_ConvertPtr' unbound-1.19.3/unbound-1.19.3/libunbound/python/libunbound_wrap.c:1143:57: note: in expansion of macro 'SWIG_Python_ConvertPtr' unbound-1.19.3/unbound-1.19.3/libunbound/python/libunbound_wrap.c:11203:10: note: in expansion of macro 'SWIG_ConvertPtr' unbound-1.19.3/unbound-1.19.3/libunbound/python/libunbound_wrap.c:1143:57: note: in expansion of macro 'SWIG_Python_ConvertPtr' unbound-1.19.3/unbound-1.19.3/libunbound/python/libunbound_wrap.c:11203:10: note: in expansion of macro 'SWIG_ConvertPtr' #11206| } #11207| arg1 = (struct ub_stats_info *)(argp1); #11208|-> result = (long long) ((arg1)->mesh_dropped); #11209| resultobj = SWIG_From_long_SS_long((long long)(result)); #11210| return resultobj; Error: GCC_ANALYZER_WARNING (CWE-476): [#def9] unbound-1.19.3/unbound-1.19.3/libunbound/python/libunbound_wrap.c: scope_hint: In function '_wrap_ub_stats_info_mesh_replies_sent_get' unbound-1.19.3/unbound-1.19.3/libunbound/python/libunbound_wrap.c:11262:10: warning[-Wanalyzer-null-dereference]: dereference of NULL 'arg1' unbound-1.19.3/unbound-1.19.3/libunbound/python/libunbound_wrap.c:1143:57: note: in expansion of macro 'SWIG_Python_ConvertPtr' unbound-1.19.3/unbound-1.19.3/libunbound/python/libunbound_wrap.c:11257:10: note: in expansion of macro 'SWIG_ConvertPtr' unbound-1.19.3/unbound-1.19.3/libunbound/python/libunbound_wrap.c:1143:57: note: in expansion of macro 'SWIG_Python_ConvertPtr' unbound-1.19.3/unbound-1.19.3/libunbound/python/libunbound_wrap.c:11257:10: note: in expansion of macro 'SWIG_ConvertPtr' unbound-1.19.3/unbound-1.19.3/libunbound/python/libunbound_wrap.c:1143:57: note: in expansion of macro 'SWIG_Python_ConvertPtr' unbound-1.19.3/unbound-1.19.3/libunbound/python/libunbound_wrap.c:11257:10: note: in expansion of macro 'SWIG_ConvertPtr' #11260| } #11261| arg1 = (struct ub_stats_info *)(argp1); #11262|-> result = (long long) ((arg1)->mesh_replies_sent); #11263| resultobj = SWIG_From_long_SS_long((long long)(result)); #11264| return resultobj; Error: GCC_ANALYZER_WARNING (CWE-476): [#def10] unbound-1.19.3/unbound-1.19.3/libunbound/python/libunbound_wrap.c: scope_hint: In function '_wrap_ub_stats_info_mesh_replies_sum_wait_sec_get' unbound-1.19.3/unbound-1.19.3/libunbound/python/libunbound_wrap.c:11316:10: warning[-Wanalyzer-null-dereference]: dereference of NULL 'arg1' unbound-1.19.3/unbound-1.19.3/libunbound/python/libunbound_wrap.c:1143:57: note: in expansion of macro 'SWIG_Python_ConvertPtr' unbound-1.19.3/unbound-1.19.3/libunbound/python/libunbound_wrap.c:11311:10: note: in expansion of macro 'SWIG_ConvertPtr' unbound-1.19.3/unbound-1.19.3/libunbound/python/libunbound_wrap.c:1143:57: note: in expansion of macro 'SWIG_Python_ConvertPtr' unbound-1.19.3/unbound-1.19.3/libunbound/python/libunbound_wrap.c:11311:10: note: in expansion of macro 'SWIG_ConvertPtr' unbound-1.19.3/unbound-1.19.3/libunbound/python/libunbound_wrap.c:1143:57: note: in expansion of macro 'SWIG_Python_ConvertPtr' unbound-1.19.3/unbound-1.19.3/libunbound/python/libunbound_wrap.c:11311:10: note: in expansion of macro 'SWIG_ConvertPtr' #11314| } #11315| arg1 = (struct ub_stats_info *)(argp1); #11316|-> result = (long long) ((arg1)->mesh_replies_sum_wait_sec); #11317| resultobj = SWIG_From_long_SS_long((long long)(result)); #11318| return resultobj; Error: GCC_ANALYZER_WARNING (CWE-476): [#def11] unbound-1.19.3/unbound-1.19.3/libunbound/python/libunbound_wrap.c: scope_hint: In function '_wrap_ub_stats_info_mesh_replies_sum_wait_usec_get' unbound-1.19.3/unbound-1.19.3/libunbound/python/libunbound_wrap.c:11370:10: warning[-Wanalyzer-null-dereference]: dereference of NULL 'arg1' unbound-1.19.3/unbound-1.19.3/libunbound/python/libunbound_wrap.c:1143:57: note: in expansion of macro 'SWIG_Python_ConvertPtr' unbound-1.19.3/unbound-1.19.3/libunbound/python/libunbound_wrap.c:11365:10: note: in expansion of macro 'SWIG_ConvertPtr' unbound-1.19.3/unbound-1.19.3/libunbound/python/libunbound_wrap.c:1143:57: note: in expansion of macro 'SWIG_Python_ConvertPtr' unbound-1.19.3/unbound-1.19.3/libunbound/python/libunbound_wrap.c:11365:10: note: in expansion of macro 'SWIG_ConvertPtr' unbound-1.19.3/unbound-1.19.3/libunbound/python/libunbound_wrap.c:1143:57: note: in expansion of macro 'SWIG_Python_ConvertPtr' unbound-1.19.3/unbound-1.19.3/libunbound/python/libunbound_wrap.c:11365:10: note: in expansion of macro 'SWIG_ConvertPtr' #11368| } #11369| arg1 = (struct ub_stats_info *)(argp1); #11370|-> result = (long long) ((arg1)->mesh_replies_sum_wait_usec); #11371| resultobj = SWIG_From_long_SS_long((long long)(result)); #11372| return resultobj; Error: GCC_ANALYZER_WARNING (CWE-476): [#def12] unbound-1.19.3/unbound-1.19.3/libunbound/python/libunbound_wrap.c: scope_hint: In function '_wrap_ub_stats_info_mesh_time_median_get' unbound-1.19.3/unbound-1.19.3/libunbound/python/libunbound_wrap.c:11424:10: warning[-Wanalyzer-null-dereference]: dereference of NULL 'arg1' unbound-1.19.3/unbound-1.19.3/libunbound/python/libunbound_wrap.c:1143:57: note: in expansion of macro 'SWIG_Python_ConvertPtr' unbound-1.19.3/unbound-1.19.3/libunbound/python/libunbound_wrap.c:11419:10: note: in expansion of macro 'SWIG_ConvertPtr' unbound-1.19.3/unbound-1.19.3/libunbound/python/libunbound_wrap.c:1143:57: note: in expansion of macro 'SWIG_Python_ConvertPtr' unbound-1.19.3/unbound-1.19.3/libunbound/python/libunbound_wrap.c:11419:10: note: in expansion of macro 'SWIG_ConvertPtr' unbound-1.19.3/unbound-1.19.3/libunbound/python/libunbound_wrap.c:1143:57: note: in expansion of macro 'SWIG_Python_ConvertPtr' unbound-1.19.3/unbound-1.19.3/libunbound/python/libunbound_wrap.c:11419:10: note: in expansion of macro 'SWIG_ConvertPtr' #11422| } #11423| arg1 = (struct ub_stats_info *)(argp1); #11424|-> result = (double) ((arg1)->mesh_time_median); #11425| resultobj = SWIG_From_double((double)(result)); #11426| return resultobj; Error: GCC_ANALYZER_WARNING (CWE-476): [#def13] unbound-1.19.3/unbound-1.19.3/libunbound/python/libunbound_wrap.c: scope_hint: In function '_wrap_ub_ctx_dummy_get' unbound-1.19.3/unbound-1.19.3/libunbound/python/libunbound_wrap.c:11526:10: warning[-Wanalyzer-null-dereference]: dereference of NULL 'arg1' unbound-1.19.3/unbound-1.19.3/libunbound/python/libunbound_wrap.c:1143:57: note: in expansion of macro 'SWIG_Python_ConvertPtr' unbound-1.19.3/unbound-1.19.3/libunbound/python/libunbound_wrap.c:11521:10: note: in expansion of macro 'SWIG_ConvertPtr' unbound-1.19.3/unbound-1.19.3/libunbound/python/libunbound_wrap.c:1143:57: note: in expansion of macro 'SWIG_Python_ConvertPtr' unbound-1.19.3/unbound-1.19.3/libunbound/python/libunbound_wrap.c:11521:10: note: in expansion of macro 'SWIG_ConvertPtr' unbound-1.19.3/unbound-1.19.3/libunbound/python/libunbound_wrap.c:1143:57: note: in expansion of macro 'SWIG_Python_ConvertPtr' unbound-1.19.3/unbound-1.19.3/libunbound/python/libunbound_wrap.c:11521:10: note: in expansion of macro 'SWIG_ConvertPtr' #11524| } #11525| arg1 = (struct ub_ctx *)(argp1); #11526|-> result = (int) ((arg1)->dummy); #11527| resultobj = SWIG_From_int((int)(result)); #11528| return resultobj; Error: GCC_ANALYZER_WARNING (CWE-479): [#def14] unbound-1.19.3/unbound-1.19.3/testcode/streamtcp.c: scope_hint: In function 'sigh' unbound-1.19.3/unbound-1.19.3/testcode/streamtcp.c:547:17: warning[-Wanalyzer-unsafe-call-within-signal-handler]: call to 'exit' from within signal handler unbound-1.19.3/unbound-1.19.3/testcode/streamtcp.c:547:17: note: '_exit' is a possible signal-safe alternative for 'exit' # 545| /* simple cast to void will not silence Wunused-result */ # 546| (void)!write(STDOUT_FILENO, strpipe, strlen(strpipe)); # 547|-> exit(1); # 548| } # 549| str[21] = '0' + (sig/10)%10; Error: GCC_ANALYZER_WARNING (CWE-479): [#def15] unbound-1.19.3/unbound-1.19.3/testcode/streamtcp.c:553:9: warning[-Wanalyzer-unsafe-call-within-signal-handler]: call to 'exit' from within signal handler unbound-1.19.3/unbound-1.19.3/testcode/streamtcp.c:553:9: note: '_exit' is a possible signal-safe alternative for 'exit' # 551| /* simple cast to void will not silence Wunused-result */ # 552| (void)!write(STDOUT_FILENO, str, strlen(str)); # 553|-> exit(1); # 554| } # 555| #endif /* SIGPIPE */ Error: GCC_ANALYZER_WARNING (CWE-457): [#def16] unbound-1.19.3/unbound-1.19.3/util/configparser.c: scope_hint: In function 'ub_c_parse' unbound-1.19.3/unbound-1.19.3/util/configparser.c:1164:7: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value 'ub_c_ss' unbound-1.19.3/unbound-1.19.3/util/configparser.c:1149:9: note: in expansion of macro 'YYCOPY' unbound-1.19.3/unbound-1.19.3/util/configparser.c:2742:9: note: in expansion of macro 'YYSTACK_RELOCATE' unbound-1.19.3/unbound-1.19.3/util/configparser.c:1164:25: note: in definition of macro 'YYCOPY' unbound-1.19.3/unbound-1.19.3/util/configparser.c:2742:9: note: in expansion of macro 'YYSTACK_RELOCATE' unbound-1.19.3/unbound-1.19.3/util/configparser.c:1149:9: note: in expansion of macro 'YYCOPY' unbound-1.19.3/unbound-1.19.3/util/configparser.c:2742:9: note: in expansion of macro 'YYSTACK_RELOCATE' # 1162| # if defined __GNUC__ && 1 < __GNUC__ # 1163| # define YYCOPY(Dst, Src, Count) \ # 1164|-> __builtin_memcpy (Dst, Src, YY_CAST (YYSIZE_T, (Count)) * sizeof (*(Src))) # 1165| # else # 1166| # define YYCOPY(Dst, Src, Count) \ Error: GCC_ANALYZER_WARNING (CWE-457): [#def17] unbound-1.19.3/unbound-1.19.3/util/configparser.c:2869:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value '*<unknown>' # 2867| unconditionally makes the parser a bit smaller, and it avoids a # 2868| GCC warning that YYVAL may be used uninitialized. */ # 2869|-> yyval = yyvsp[1-yylen]; # 2870| # 2871| Error: GCC_ANALYZER_WARNING (CWE-476): [#def18] unbound-1.19.3/unbound-1.19.3/util/data/msgencode.c: scope_hint: In function 'compress_tree_store' unbound-1.19.3/unbound-1.19.3/util/data/msgencode.c:244:27: warning[-Wanalyzer-null-dereference]: dereference of NULL 'insertpt' unbound-1.19.3/unbound-1.19.3/util/data/msgencode.c:50: included_from: Included from here. unbound-1.19.3/unbound-1.19.3/util/data/msgencode.c: scope_hint: In function 'compress_tree_store' unbound-1.19.3/unbound-1.19.3/util/data/msgencode.c: scope_hint: In function 'compress_tree_store' # 242| /* if we have a vine, hang the vine into the tree */ # 243| if(prevnode) { # 244|-> *insertpt = prevnode; # 245| prevnode->parent = closest; # 246| } Error: GCC_ANALYZER_WARNING (CWE-401): [#def19] unbound-1.19.3/unbound-1.19.3/util/ub_event_pluggable.c: scope_hint: In function 'ub_default_event_base' unbound-1.19.3/unbound-1.19.3/util/ub_event_pluggable.c:387:16: warning[-Wanalyzer-malloc-leak]: leak of 'my_base' # 385| my_base->super.magic = UB_EVENT_MAGIC; # 386| my_base->super.vmt = &default_event_base_vmt; # 387|-> return &my_base->super; # 388| } # 389| Error: GCC_ANALYZER_WARNING (CWE-401): [#def20] unbound-1.19.3/unbound-1.19.3/util/ub_event_pluggable.c: scope_hint: In function 'ub_libevent_event_base' unbound-1.19.3/unbound-1.19.3/util/ub_event_pluggable.c:405:16: warning[-Wanalyzer-malloc-leak]: leak of 'my_base' # 403| my_base->super.vmt = &default_event_base_vmt; # 404| my_base->base = base; # 405|-> return &my_base->super; # 406| #endif # 407| } Error: GCC_ANALYZER_WARNING (CWE-401): [#def21] unbound-1.19.3/unbound-1.19.3/validator/val_neg.c: scope_hint: In function 'neg_data_chain' unbound-1.19.3/unbound-1.19.3/validator/val_neg.c:638:33: warning[-Wanalyzer-malloc-leak]: leak of 'first' unbound-1.19.3/unbound-1.19.3/config.h:1230: included_from: Included from here. unbound-1.19.3/unbound-1.19.3/validator/val_neg.c:44: included_from: Included from here. # 636| /* create the new subtree, i is labelcount of current creation */ # 637| /* this creates a 'first' to z->parent=NULL list of zones */ # 638|-> for(i=labs; i!=tolabs; i--) { # 639| /* create new item */ # 640| el = neg_setup_data_node(nm, nm_len, i);
analyzer-version-clang | 18.1.3 |
analyzer-version-cppcheck | 2.13.0 |
analyzer-version-gcc | 14.0.1 |
analyzer-version-gcc-analyzer | 14.0.1 |
analyzer-version-shellcheck | 0.10.0 |
diffbase-analyzer-version-clang | 18.1.3 |
diffbase-analyzer-version-cppcheck | 2.13.0 |
diffbase-analyzer-version-gcc | 14.0.1 |
diffbase-analyzer-version-gcc-analyzer | 14.0.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-132.us-west-2.compute.internal |
diffbase-mock-config | fedora-41-x86_64 |
diffbase-project-name | unbound-1.19.1-3.fc40 |
diffbase-store-results-to | /tmp/tmpjrukzstl/unbound-1.19.1-3.fc40.tar.xz |
diffbase-time-created | 2024-04-22 11:18:40 |
diffbase-time-finished | 2024-04-22 11:22:42 |
diffbase-tool | csmock |
diffbase-tool-args | '/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmpjrukzstl/unbound-1.19.1-3.fc40.tar.xz' '--gcc-analyze' '/tmp/tmpjrukzstl/unbound-1.19.1-3.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-132.us-west-2.compute.internal |
mock-config | fedora-41-x86_64 |
project-name | unbound-1.19.3-6.fc41 |
store-results-to | /tmp/tmpcq_5089g/unbound-1.19.3-6.fc41.tar.xz |
time-created | 2024-04-22 11:22:59 |
time-finished | 2024-04-22 11:26:27 |
title | Newly introduced defects |
tool | csmock |
tool-args | '/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmpcq_5089g/unbound-1.19.3-6.fc41.tar.xz' '--gcc-analyze' '/tmp/tmpcq_5089g/unbound-1.19.3-6.fc41.src.rpm' |
tool-version | csmock-3.5.3-1.el9 |