openwsman-2.8.1-11.fc44
List of Findings
Error: SHELLCHECK_WARNING (CWE-563): [#def1]
/etc/openwsman/owsmangencert.sh:6:1: warning[SC2034]: CAFILE appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-398): [#def2]
/etc/openwsman/owsmangencert.sh:9:1: warning[SC2113]: 'function' keyword is non-standard. Use 'foo()' instead of 'function foo'.
Error: SHELLCHECK_WARNING (CWE-398): [#def3]
/etc/openwsman/owsmangencert.sh:45:1: warning[SC2112]: 'function' keyword is non-standard. Delete it.
Error: SHELLCHECK_WARNING (CWE-398): [#def4]
/etc/openwsman/owsmangencert.sh:54:1: warning[SC2112]: 'function' keyword is non-standard. Delete it.
Error: SHELLCHECK_WARNING (CWE-685): [#def5]
/etc/openwsman/owsmangencert.sh:54:1: warning[SC2120]: selfsign_openssl references arguments, but none are ever passed.
Error: SHELLCHECK_WARNING (CWE-88): [#def6]
/etc/openwsman/owsmangencert.sh:67:29: error[SC2068]: Double quote array expansions to avoid re-splitting elements.
Error: SHELLCHECK_WARNING (CWE-477): [#def7]
/etc/openwsman/owsmangencert.sh:73:24: warning[SC2166]: Prefer [ p ] && [ q ] as [ p -a q ] is not well defined.
Error: SHELLCHECK_WARNING (CWE-477): [#def8]
/etc/openwsman/owsmantestcert.sh:5:8: warning[SC2166]: Prefer [ p ] && [ q ] as [ p -a q ] is not well defined.
Error: COMPILER_WARNING (CWE-1164): [#def9]
openwsman-2.8.1/bindings/ruby/helpers.h:91:1: warning[-Wunused-function]: ‘hash2value’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def10]
openwsman-2.8.1/build/src/plugins/swig/ruby/swig_wrap.c:2210: included_from: Included from here.
openwsman-2.8.1/bindings/ruby/helpers.h:175:1: warning[-Wunused-function]: ‘value2hash’ defined but not used
Error: COMPILER_WARNING (CWE-686): [#def11]
openwsman-2.8.1/build/CMakeFiles/CMakeScratch/TryCompile-7r6LMY/CheckFunctionExists.c:7:3: warning[-Wbuiltin-declaration-mismatch]: conflicting types for built-in function ‘bcopy’; expected ‘void(const void *, void *, long unsigned int)’
Error: COMPILER_WARNING (CWE-686): [#def12]
openwsman-2.8.1/build/CMakeFiles/CMakeScratch/TryCompile-Ixpeub/CheckFunctionExists.c:7:3: warning[-Wbuiltin-declaration-mismatch]: conflicting types for built-in function ‘alloca’; expected ‘void *(long unsigned int)’
Error: CPPCHECK_WARNING (CWE-476): [#def13]
openwsman-2.8.1/build/bindings/perl/openwsman_wrap.c:1450: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: mg->mg_virtual
Error: CPPCHECK_WARNING (CWE-476): [#def14]
openwsman-2.8.1/build/bindings/perl/openwsman_wrap.c:2757: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: s
Error: CPPCHECK_WARNING (CWE-457): [#def15]
openwsman-2.8.1/build/bindings/perl/openwsman_wrap.c:10587: error[legacyUninitvar]: Uninitialized variable: arg1
Error: CPPCHECK_WARNING (CWE-457): [#def16]
openwsman-2.8.1/build/bindings/perl/openwsman_wrap.c:10647: error[legacyUninitvar]: Uninitialized variable: arg1
Error: GCC_ANALYZER_WARNING (CWE-476): [#def17]
openwsman-2.8.1/build/bindings/python/openwsman_wrap.c:724:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘iter’
openwsman-2.8.1/build/bindings/python/openwsman_wrap.c:14915:22: enter_function: entry to ‘_wrap_uri_prefix’
openwsman-2.8.1/build/bindings/python/openwsman_wrap.c:14925:6: branch_false: following ‘false’ branch (when ‘args’ is non-NULL)...
openwsman-2.8.1/build/bindings/python/openwsman_wrap.c:14927:10: branch_false: ...to here
openwsman-2.8.1/build/bindings/python/openwsman_wrap.c:14927:10: call_function: calling ‘SWIG_AsCharPtrAndSize’ from ‘_wrap_uri_prefix’
Error: CPPCHECK_WARNING (CWE-457): [#def18]
openwsman-2.8.1/build/bindings/python/openwsman_wrap.c:872: warning[uninitvar]: Uninitialized variable: buff
Error: CPPCHECK_WARNING (CWE-476): [#def19]
openwsman-2.8.1/build/bindings/python/openwsman_wrap.c:1901: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: data
Error: GCC_ANALYZER_WARNING (CWE-476): [#def20]
openwsman-2.8.1/build/bindings/python/openwsman_wrap.c:1901:5: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘data’
openwsman-2.8.1/build/bindings/python/openwsman_wrap.c:14775:22: enter_function: entry to ‘Client_swigregister’
openwsman-2.8.1/build/bindings/python/openwsman_wrap.c:14777:8: call_function: calling ‘SWIG_Python_UnpackTuple’ from ‘Client_swigregister’
openwsman-2.8.1/build/bindings/python/openwsman_wrap.c:14777:8: return_function: returning to ‘Client_swigregister’ from ‘SWIG_Python_UnpackTuple’
openwsman-2.8.1/build/bindings/python/openwsman_wrap.c:14777:6: branch_false: following ‘false’ branch...
openwsman-2.8.1/build/bindings/python/openwsman_wrap.c:14778:3: branch_false: ...to here
openwsman-2.8.1/build/bindings/python/openwsman_wrap.c:14778:51: call_function: calling ‘SwigPyClientData_New’ from ‘Client_swigregister’
Error: CPPCHECK_WARNING (CWE-476): [#def21]
openwsman-2.8.1/build/bindings/python/openwsman_wrap.c:1902: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: data
Error: GCC_ANALYZER_WARNING (CWE-401): [#def22]
openwsman-2.8.1/build/bindings/python/openwsman_wrap.c:1904:9: warning[-Wanalyzer-malloc-leak]: leak of ‘data’
openwsman-2.8.1/build/bindings/python/openwsman_wrap.c:14775:22: enter_function: entry to ‘Client_swigregister’
openwsman-2.8.1/build/bindings/python/openwsman_wrap.c:14777:8: call_function: calling ‘SWIG_Python_UnpackTuple’ from ‘Client_swigregister’
openwsman-2.8.1/build/bindings/python/openwsman_wrap.c:14777:8: return_function: returning to ‘Client_swigregister’ from ‘SWIG_Python_UnpackTuple’
openwsman-2.8.1/build/bindings/python/openwsman_wrap.c:14777:6: branch_false: following ‘false’ branch...
openwsman-2.8.1/build/bindings/python/openwsman_wrap.c:14778:3: branch_false: ...to here
openwsman-2.8.1/build/bindings/python/openwsman_wrap.c:14778:51: call_function: calling ‘SwigPyClientData_New’ from ‘Client_swigregister’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def23]
openwsman-2.8.1/build/bindings/python/openwsman_wrap.c:1909:22: warning[-Wanalyzer-malloc-leak]: leak of ‘data’
openwsman-2.8.1/build/bindings/python/openwsman_wrap.c:14775:22: enter_function: entry to ‘Client_swigregister’
openwsman-2.8.1/build/bindings/python/openwsman_wrap.c:14777:8: call_function: calling ‘SWIG_Python_UnpackTuple’ from ‘Client_swigregister’
openwsman-2.8.1/build/bindings/python/openwsman_wrap.c:14777:8: return_function: returning to ‘Client_swigregister’ from ‘SWIG_Python_UnpackTuple’
openwsman-2.8.1/build/bindings/python/openwsman_wrap.c:14777:6: branch_false: following ‘false’ branch...
openwsman-2.8.1/build/bindings/python/openwsman_wrap.c:14778:3: branch_false: ...to here
openwsman-2.8.1/build/bindings/python/openwsman_wrap.c:14778:51: call_function: calling ‘SwigPyClientData_New’ from ‘Client_swigregister’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def24]
openwsman-2.8.1/build/bindings/python/openwsman_wrap.c:1911:25: warning[-Wanalyzer-malloc-leak]: leak of ‘data’
openwsman-2.8.1/build/bindings/python/openwsman_wrap.c:14775:22: enter_function: entry to ‘Client_swigregister’
openwsman-2.8.1/build/bindings/python/openwsman_wrap.c:14777:8: call_function: calling ‘SWIG_Python_UnpackTuple’ from ‘Client_swigregister’
openwsman-2.8.1/build/bindings/python/openwsman_wrap.c:14777:8: return_function: returning to ‘Client_swigregister’ from ‘SWIG_Python_UnpackTuple’
openwsman-2.8.1/build/bindings/python/openwsman_wrap.c:14777:6: branch_false: following ‘false’ branch...
openwsman-2.8.1/build/bindings/python/openwsman_wrap.c:14778:3: branch_false: ...to here
openwsman-2.8.1/build/bindings/python/openwsman_wrap.c:14778:51: call_function: calling ‘SwigPyClientData_New’ from ‘Client_swigregister’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def25]
openwsman-2.8.1/build/bindings/python/openwsman_wrap.c:1927:21: warning[-Wanalyzer-malloc-leak]: leak of ‘data’
openwsman-2.8.1/build/bindings/python/openwsman_wrap.c:14775:22: enter_function: entry to ‘Client_swigregister’
openwsman-2.8.1/build/bindings/python/openwsman_wrap.c:14777:8: call_function: calling ‘SWIG_Python_UnpackTuple’ from ‘Client_swigregister’
openwsman-2.8.1/build/bindings/python/openwsman_wrap.c:14777:8: return_function: returning to ‘Client_swigregister’ from ‘SWIG_Python_UnpackTuple’
openwsman-2.8.1/build/bindings/python/openwsman_wrap.c:14777:6: branch_false: following ‘false’ branch...
openwsman-2.8.1/build/bindings/python/openwsman_wrap.c:14778:3: branch_false: ...to here
openwsman-2.8.1/build/bindings/python/openwsman_wrap.c:14778:51: call_function: calling ‘SwigPyClientData_New’ from ‘Client_swigregister’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def26]
openwsman-2.8.1/build/bindings/python/openwsman_wrap.c:1928:9: warning[-Wanalyzer-malloc-leak]: leak of ‘data’
openwsman-2.8.1/build/bindings/python/openwsman_wrap.c:14775:22: enter_function: entry to ‘Client_swigregister’
openwsman-2.8.1/build/bindings/python/openwsman_wrap.c:14777:8: call_function: calling ‘SWIG_Python_UnpackTuple’ from ‘Client_swigregister’
openwsman-2.8.1/build/bindings/python/openwsman_wrap.c:14777:8: return_function: returning to ‘Client_swigregister’ from ‘SWIG_Python_UnpackTuple’
openwsman-2.8.1/build/bindings/python/openwsman_wrap.c:14777:6: branch_false: following ‘false’ branch...
openwsman-2.8.1/build/bindings/python/openwsman_wrap.c:14778:3: branch_false: ...to here
openwsman-2.8.1/build/bindings/python/openwsman_wrap.c:14778:51: call_function: calling ‘SwigPyClientData_New’ from ‘Client_swigregister’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def27]
openwsman-2.8.1/build/bindings/python/openwsman_wrap.c:1929:7: warning[-Wanalyzer-malloc-leak]: leak of ‘data’
openwsman-2.8.1/build/bindings/python/openwsman_wrap.c:14775:22: enter_function: entry to ‘Client_swigregister’
openwsman-2.8.1/build/bindings/python/openwsman_wrap.c:14777:8: call_function: calling ‘SWIG_Python_UnpackTuple’ from ‘Client_swigregister’
openwsman-2.8.1/build/bindings/python/openwsman_wrap.c:14777:8: return_function: returning to ‘Client_swigregister’ from ‘SWIG_Python_UnpackTuple’
openwsman-2.8.1/build/bindings/python/openwsman_wrap.c:14777:6: branch_false: following ‘false’ branch...
openwsman-2.8.1/build/bindings/python/openwsman_wrap.c:14778:3: branch_false: ...to here
openwsman-2.8.1/build/bindings/python/openwsman_wrap.c:14778:51: call_function: calling ‘SwigPyClientData_New’ from ‘Client_swigregister’
Error: CPPCHECK_WARNING (CWE-476): [#def28]
openwsman-2.8.1/build/bindings/python/openwsman_wrap.c:4641: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: s
Error: CPPCHECK_WARNING (CWE-457): [#def29]
openwsman-2.8.1/build/bindings/python/openwsman_wrap.c:11552: error[legacyUninitvar]: Uninitialized variable: arg1
Error: CPPCHECK_WARNING (CWE-457): [#def30]
openwsman-2.8.1/build/bindings/python/openwsman_wrap.c:11606: error[legacyUninitvar]: Uninitialized variable: arg1
Error: CPPCHECK_WARNING (CWE-476): [#def31]
openwsman-2.8.1/build/bindings/ruby/openwsman_wrap.c:1661: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: klass_name
Error: COMPILER_WARNING (CWE-477): [#def32]
openwsman-2.8.1/build/bindings/ruby/openwsman_wrap.c: scope_hint: In function ‘SWIG_Ruby_NewPointerObj’
openwsman-2.8.1/build/bindings/ruby/openwsman_wrap.c:1707:5: warning[-Wdeprecated-declarations]: ‘rb_data_object_wrap_warning’ is deprecated: by TypedData
/usr/include/ruby/internal/core.h:27: included_from: Included from here.
/usr/include/ruby/ruby.h:29: included_from: Included from here.
/usr/include/ruby.h:38: included_from: Included from here.
openwsman-2.8.1/build/bindings/ruby/openwsman_wrap.c:1008: included_from: Included from here.
/usr/include/ruby/internal/core/rdata.h:293:1: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def33]
openwsman-2.8.1/build/bindings/ruby/openwsman_wrap.c:1707:5: warning[-Wdeprecated-declarations]: ‘rb_data_object_wrap_warning’ is deprecated: by TypedData
Error: CPPCHECK_WARNING (CWE-476): [#def34]
openwsman-2.8.1/build/bindings/ruby/openwsman_wrap.c:1719: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: klass_name
Error: COMPILER_WARNING (CWE-477): [#def35]
openwsman-2.8.1/build/bindings/ruby/openwsman_wrap.c:1722:5: warning[-Wdeprecated-declarations]: ‘rb_data_object_wrap_warning’ is deprecated: by TypedData
/usr/include/ruby/internal/core/rdata.h:293:1: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def36]
openwsman-2.8.1/build/bindings/ruby/openwsman_wrap.c:1722:5: warning[-Wdeprecated-declarations]: ‘rb_data_object_wrap_warning’ is deprecated: by TypedData
Error: COMPILER_WARNING (CWE-477): [#def37]
openwsman-2.8.1/build/bindings/ruby/openwsman_wrap.c: scope_hint: In function ‘SWIG_Ruby_NewClassInstance’
openwsman-2.8.1/build/bindings/ruby/openwsman_wrap.c:1735:3: warning[-Wdeprecated-declarations]: ‘rb_data_object_wrap_warning’ is deprecated: by TypedData
/usr/include/ruby/internal/core/rdata.h:293:1: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def38]
openwsman-2.8.1/build/bindings/ruby/openwsman_wrap.c:1735:3: warning[-Wdeprecated-declarations]: ‘rb_data_object_wrap_warning’ is deprecated: by TypedData
Error: COMPILER_WARNING (CWE-477): [#def39]
openwsman-2.8.1/build/bindings/ruby/openwsman_wrap.c: scope_hint: In function ‘SWIG_Ruby_ConvertPtrAndOwn’
openwsman-2.8.1/build/bindings/ruby/openwsman_wrap.c:1783:5: warning[-Wdeprecated-declarations]: ‘rb_data_object_get_warning’ is deprecated: by TypedData
/usr/include/ruby/internal/core/rdata.h:325:1: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def40]
openwsman-2.8.1/build/bindings/ruby/openwsman_wrap.c:1783:5: warning[-Wdeprecated-declarations]: ‘rb_data_object_get_warning’ is deprecated: by TypedData
Error: COMPILER_WARNING (CWE-477): [#def41]
openwsman-2.8.1/build/bindings/ruby/openwsman_wrap.c: scope_hint: In function ‘SWIG_Ruby_GetModule’
openwsman-2.8.1/build/bindings/ruby/openwsman_wrap.c:1919:5: warning[-Wdeprecated-declarations]: ‘rb_data_object_get_warning’ is deprecated: by TypedData
/usr/include/ruby/internal/core/rdata.h:325:1: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def42]
openwsman-2.8.1/build/bindings/ruby/openwsman_wrap.c:1919:5: warning[-Wdeprecated-declarations]: ‘rb_data_object_get_warning’ is deprecated: by TypedData
Error: COMPILER_WARNING (CWE-477): [#def43]
openwsman-2.8.1/build/bindings/ruby/openwsman_wrap.c: scope_hint: In function ‘SWIG_Ruby_SetModule’
openwsman-2.8.1/build/bindings/ruby/openwsman_wrap.c:1934:3: warning[-Wdeprecated-declarations]: ‘rb_data_object_wrap_warning’ is deprecated: by TypedData
/usr/include/ruby/internal/core/rdata.h:293:1: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def44]
openwsman-2.8.1/build/bindings/ruby/openwsman_wrap.c:1934:3: warning[-Wdeprecated-declarations]: ‘rb_data_object_wrap_warning’ is deprecated: by TypedData
Error: CPPCHECK_WARNING (CWE-457): [#def45]
openwsman-2.8.1/build/bindings/ruby/openwsman_wrap.c:2710: error[uninitvar]: Uninitialized variable: v
Error: CPPCHECK_WARNING (CWE-476): [#def46]
openwsman-2.8.1/build/bindings/ruby/openwsman_wrap.c:3008: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: resultProp
Error: CPPCHECK_WARNING (CWE-457): [#def47]
openwsman-2.8.1/build/bindings/ruby/openwsman_wrap.c:3118: error[uninitvar]: Uninitialized variable: v
Error: CPPCHECK_WARNING (CWE-476): [#def48]
openwsman-2.8.1/build/bindings/ruby/openwsman_wrap.c:3179: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: s
Error: CPPCHECK_WARNING (CWE-457): [#def49]
openwsman-2.8.1/build/bindings/ruby/openwsman_wrap.c:3603: error[uninitvar]: Uninitialized variable: v
Error: CPPCHECK_WARNING (CWE-457): [#def50]
openwsman-2.8.1/build/bindings/ruby/openwsman_wrap.c:3845: error[uninitvar]: Uninitialized variable: v
Error: CPPCHECK_WARNING (CWE-457): [#def51]
openwsman-2.8.1/build/bindings/ruby/openwsman_wrap.c:9968: error[legacyUninitvar]: Uninitialized variable: arg1
Error: CPPCHECK_WARNING (CWE-457): [#def52]
openwsman-2.8.1/build/bindings/ruby/openwsman_wrap.c:10022: error[legacyUninitvar]: Uninitialized variable: arg1
Error: CPPCHECK_WARNING (CWE-476): [#def53]
openwsman-2.8.1/build/src/plugins/swig/ruby/swig_wrap.c:1661: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: klass_name
Error: GCC_ANALYZER_WARNING (CWE-401): [#def54]
openwsman-2.8.1/build/src/plugins/swig/ruby/swig_wrap.c:1685:7: warning[-Wanalyzer-malloc-leak]: leak of ‘calloc(1, 4)’
openwsman-2.8.1/build/src/plugins/swig/ruby/swig_wrap.c:12003:1: enter_function: entry to ‘_wrap_wsmc_transport_get_auth_value’
openwsman-2.8.1/build/src/plugins/swig/ruby/swig_wrap.c:12010:6: branch_false: following ‘false’ branch (when ‘argc == 1’)...
openwsman-2.8.1/build/src/plugins/swig/ruby/swig_wrap.c:12013:10: branch_false: ...to here
openwsman-2.8.1/build/src/plugins/swig/ruby/swig_wrap.c:12013:10: call_function: calling ‘SWIG_Ruby_ConvertPtrAndOwn’ from ‘_wrap_wsmc_transport_get_auth_value’
openwsman-2.8.1/build/src/plugins/swig/ruby/swig_wrap.c:12013:10: return_function: returning to ‘_wrap_wsmc_transport_get_auth_value’ from ‘SWIG_Ruby_ConvertPtrAndOwn’
openwsman-2.8.1/build/src/plugins/swig/ruby/swig_wrap.c:12014:6: branch_false: following ‘false’ branch...
openwsman-2.8.1/build/src/plugins/swig/ruby/swig_wrap.c:12017:3: branch_false: ...to here
openwsman-2.8.1/build/src/plugins/swig/ruby/swig_wrap.c:12019:13: acquire_memory: allocated here
openwsman-2.8.1/build/src/plugins/swig/ruby/swig_wrap.c:12019:13: call_function: calling ‘SWIG_Ruby_NewPointerObj’ from ‘_wrap_wsmc_transport_get_auth_value’
Error: COMPILER_WARNING (CWE-477): [#def55]
openwsman-2.8.1/build/src/plugins/swig/ruby/swig_wrap.c: scope_hint: In function ‘SWIG_Ruby_NewPointerObj’
openwsman-2.8.1/build/src/plugins/swig/ruby/swig_wrap.c:1707:5: warning[-Wdeprecated-declarations]: ‘rb_data_object_wrap_warning’ is deprecated: by TypedData
/usr/include/ruby/internal/core.h:27: included_from: Included from here.
/usr/include/ruby/ruby.h:29: included_from: Included from here.
/usr/include/ruby.h:38: included_from: Included from here.
openwsman-2.8.1/build/src/plugins/swig/ruby/swig_wrap.c:1008: included_from: Included from here.
/usr/include/ruby/internal/core/rdata.h:293:1: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def56]
openwsman-2.8.1/build/src/plugins/swig/ruby/swig_wrap.c:1707:5: warning[-Wdeprecated-declarations]: ‘rb_data_object_wrap_warning’ is deprecated: by TypedData
Error: CPPCHECK_WARNING (CWE-476): [#def57]
openwsman-2.8.1/build/src/plugins/swig/ruby/swig_wrap.c:1719: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: klass_name
Error: COMPILER_WARNING (CWE-477): [#def58]
openwsman-2.8.1/build/src/plugins/swig/ruby/swig_wrap.c:1722:5: warning[-Wdeprecated-declarations]: ‘rb_data_object_wrap_warning’ is deprecated: by TypedData
/usr/include/ruby/internal/core/rdata.h:293:1: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def59]
openwsman-2.8.1/build/src/plugins/swig/ruby/swig_wrap.c:1722:5: warning[-Wdeprecated-declarations]: ‘rb_data_object_wrap_warning’ is deprecated: by TypedData
Error: COMPILER_WARNING (CWE-477): [#def60]
openwsman-2.8.1/build/src/plugins/swig/ruby/swig_wrap.c: scope_hint: In function ‘SWIG_Ruby_NewClassInstance’
openwsman-2.8.1/build/src/plugins/swig/ruby/swig_wrap.c:1735:3: warning[-Wdeprecated-declarations]: ‘rb_data_object_wrap_warning’ is deprecated: by TypedData
/usr/include/ruby/internal/core/rdata.h:293:1: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def61]
openwsman-2.8.1/build/src/plugins/swig/ruby/swig_wrap.c:1735:3: warning[-Wdeprecated-declarations]: ‘rb_data_object_wrap_warning’ is deprecated: by TypedData
Error: COMPILER_WARNING (CWE-477): [#def62]
openwsman-2.8.1/build/src/plugins/swig/ruby/swig_wrap.c: scope_hint: In function ‘SWIG_Ruby_ConvertPtrAndOwn’
openwsman-2.8.1/build/src/plugins/swig/ruby/swig_wrap.c:1783:5: warning[-Wdeprecated-declarations]: ‘rb_data_object_get_warning’ is deprecated: by TypedData
/usr/include/ruby/internal/core/rdata.h:325:1: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def63]
openwsman-2.8.1/build/src/plugins/swig/ruby/swig_wrap.c:1783:5: warning[-Wdeprecated-declarations]: ‘rb_data_object_get_warning’ is deprecated: by TypedData
Error: COMPILER_WARNING (CWE-477): [#def64]
openwsman-2.8.1/build/src/plugins/swig/ruby/swig_wrap.c: scope_hint: In function ‘SWIG_Ruby_GetModule’
openwsman-2.8.1/build/src/plugins/swig/ruby/swig_wrap.c:1919:5: warning[-Wdeprecated-declarations]: ‘rb_data_object_get_warning’ is deprecated: by TypedData
/usr/include/ruby/internal/core/rdata.h:325:1: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def65]
openwsman-2.8.1/build/src/plugins/swig/ruby/swig_wrap.c:1919:5: warning[-Wdeprecated-declarations]: ‘rb_data_object_get_warning’ is deprecated: by TypedData
Error: COMPILER_WARNING (CWE-477): [#def66]
openwsman-2.8.1/build/src/plugins/swig/ruby/swig_wrap.c: scope_hint: In function ‘SWIG_Ruby_SetModule’
openwsman-2.8.1/build/src/plugins/swig/ruby/swig_wrap.c:1934:3: warning[-Wdeprecated-declarations]: ‘rb_data_object_wrap_warning’ is deprecated: by TypedData
/usr/include/ruby/internal/core/rdata.h:293:1: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def67]
openwsman-2.8.1/build/src/plugins/swig/ruby/swig_wrap.c:1934:3: warning[-Wdeprecated-declarations]: ‘rb_data_object_wrap_warning’ is deprecated: by TypedData
Error: CPPCHECK_WARNING (CWE-457): [#def68]
openwsman-2.8.1/build/src/plugins/swig/ruby/swig_wrap.c:2442: error[uninitvar]: Uninitialized variable: v
Error: CPPCHECK_WARNING (CWE-457): [#def69]
openwsman-2.8.1/build/src/plugins/swig/ruby/swig_wrap.c:2665: error[uninitvar]: Uninitialized variable: v
Error: CPPCHECK_WARNING (CWE-476): [#def70]
openwsman-2.8.1/build/src/plugins/swig/ruby/swig_wrap.c:2726: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: s
Error: CPPCHECK_WARNING (CWE-476): [#def71]
openwsman-2.8.1/build/src/plugins/swig/ruby/swig_wrap.c:2844: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: resultProp
Error: CPPCHECK_WARNING (CWE-457): [#def72]
openwsman-2.8.1/build/src/plugins/swig/ruby/swig_wrap.c:3019: error[uninitvar]: Uninitialized variable: v
Error: CPPCHECK_WARNING (CWE-457): [#def73]
openwsman-2.8.1/build/src/plugins/swig/ruby/swig_wrap.c:11985: error[legacyUninitvar]: Uninitialized variable: arg1
Error: GCC_ANALYZER_WARNING (CWE-476): [#def74]
openwsman-2.8.1/build/src/plugins/swig/ruby/swig_wrap.c:12019:13: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘calloc(1, 4)’
openwsman-2.8.1/build/src/plugins/swig/ruby/swig_wrap.c:12003:1: enter_function: entry to ‘_wrap_wsmc_transport_get_auth_value’
openwsman-2.8.1/build/src/plugins/swig/ruby/swig_wrap.c:12010:6: branch_false: following ‘false’ branch (when ‘argc == 1’)...
openwsman-2.8.1/build/src/plugins/swig/ruby/swig_wrap.c:12013:10: branch_false: ...to here
openwsman-2.8.1/build/src/plugins/swig/ruby/swig_wrap.c:12013:10: call_function: calling ‘SWIG_Ruby_ConvertPtrAndOwn’ from ‘_wrap_wsmc_transport_get_auth_value’
openwsman-2.8.1/build/src/plugins/swig/ruby/swig_wrap.c:12013:10: return_function: returning to ‘_wrap_wsmc_transport_get_auth_value’ from ‘SWIG_Ruby_ConvertPtrAndOwn’
openwsman-2.8.1/build/src/plugins/swig/ruby/swig_wrap.c:12014:6: branch_false: following ‘false’ branch...
openwsman-2.8.1/build/src/plugins/swig/ruby/swig_wrap.c:12017:3: branch_false: ...to here
openwsman-2.8.1/build/src/plugins/swig/ruby/swig_wrap.c:12019:13: acquire_memory: this call could return NULL
openwsman-2.8.1/build/src/plugins/swig/ruby/swig_wrap.c:12019:13: danger: ‘calloc(1, 4)’ could be NULL: unchecked value from [(13)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/12)
Error: CPPCHECK_WARNING (CWE-457): [#def75]
openwsman-2.8.1/build/src/plugins/swig/ruby/swig_wrap.c:12057: error[legacyUninitvar]: Uninitialized variable: arg1
Error: COMPILER_WARNING (CWE-477): [#def76]
openwsman-2.8.1/build/usr/share/gems/gems/openwsman-2.8.1/ext/openwsman/openwsman_wrap.c: scope_hint: In function ‘SWIG_Ruby_NewPointerObj’
openwsman-2.8.1/build/usr/share/gems/gems/openwsman-2.8.1/ext/openwsman/openwsman_wrap.c:1707:5: warning[-Wdeprecated-declarations]: ‘rb_data_object_wrap_warning’ is deprecated: by TypedData
/usr/include/ruby/internal/core.h:27: included_from: Included from here.
/usr/include/ruby/ruby.h:29: included_from: Included from here.
/usr/include/ruby.h:38: included_from: Included from here.
openwsman-2.8.1/build/usr/share/gems/gems/openwsman-2.8.1/ext/openwsman/openwsman_wrap.c:1008: included_from: Included from here.
/usr/include/ruby/internal/core/rdata.h:293:1: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def77]
openwsman-2.8.1/build/usr/share/gems/gems/openwsman-2.8.1/ext/openwsman/openwsman_wrap.c:1707:5: warning[-Wdeprecated-declarations]: ‘rb_data_object_wrap_warning’ is deprecated: by TypedData
Error: COMPILER_WARNING (CWE-477): [#def78]
openwsman-2.8.1/build/usr/share/gems/gems/openwsman-2.8.1/ext/openwsman/openwsman_wrap.c:1722:5: warning[-Wdeprecated-declarations]: ‘rb_data_object_wrap_warning’ is deprecated: by TypedData
/usr/include/ruby/internal/core/rdata.h:293:1: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def79]
openwsman-2.8.1/build/usr/share/gems/gems/openwsman-2.8.1/ext/openwsman/openwsman_wrap.c:1722:5: warning[-Wdeprecated-declarations]: ‘rb_data_object_wrap_warning’ is deprecated: by TypedData
Error: COMPILER_WARNING (CWE-477): [#def80]
openwsman-2.8.1/build/usr/share/gems/gems/openwsman-2.8.1/ext/openwsman/openwsman_wrap.c: scope_hint: In function ‘SWIG_Ruby_NewClassInstance’
openwsman-2.8.1/build/usr/share/gems/gems/openwsman-2.8.1/ext/openwsman/openwsman_wrap.c:1735:3: warning[-Wdeprecated-declarations]: ‘rb_data_object_wrap_warning’ is deprecated: by TypedData
/usr/include/ruby/internal/core/rdata.h:293:1: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def81]
openwsman-2.8.1/build/usr/share/gems/gems/openwsman-2.8.1/ext/openwsman/openwsman_wrap.c:1735:3: warning[-Wdeprecated-declarations]: ‘rb_data_object_wrap_warning’ is deprecated: by TypedData
Error: COMPILER_WARNING (CWE-477): [#def82]
openwsman-2.8.1/build/usr/share/gems/gems/openwsman-2.8.1/ext/openwsman/openwsman_wrap.c: scope_hint: In function ‘SWIG_Ruby_ConvertPtrAndOwn’
openwsman-2.8.1/build/usr/share/gems/gems/openwsman-2.8.1/ext/openwsman/openwsman_wrap.c:1783:5: warning[-Wdeprecated-declarations]: ‘rb_data_object_get_warning’ is deprecated: by TypedData
/usr/include/ruby/internal/core/rdata.h:325:1: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def83]
openwsman-2.8.1/build/usr/share/gems/gems/openwsman-2.8.1/ext/openwsman/openwsman_wrap.c:1783:5: warning[-Wdeprecated-declarations]: ‘rb_data_object_get_warning’ is deprecated: by TypedData
Error: COMPILER_WARNING (CWE-477): [#def84]
openwsman-2.8.1/build/usr/share/gems/gems/openwsman-2.8.1/ext/openwsman/openwsman_wrap.c: scope_hint: In function ‘SWIG_Ruby_GetModule’
openwsman-2.8.1/build/usr/share/gems/gems/openwsman-2.8.1/ext/openwsman/openwsman_wrap.c:1919:5: warning[-Wdeprecated-declarations]: ‘rb_data_object_get_warning’ is deprecated: by TypedData
/usr/include/ruby/internal/core/rdata.h:325:1: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def85]
openwsman-2.8.1/build/usr/share/gems/gems/openwsman-2.8.1/ext/openwsman/openwsman_wrap.c:1919:5: warning[-Wdeprecated-declarations]: ‘rb_data_object_get_warning’ is deprecated: by TypedData
Error: COMPILER_WARNING (CWE-477): [#def86]
openwsman-2.8.1/build/usr/share/gems/gems/openwsman-2.8.1/ext/openwsman/openwsman_wrap.c: scope_hint: In function ‘SWIG_Ruby_SetModule’
openwsman-2.8.1/build/usr/share/gems/gems/openwsman-2.8.1/ext/openwsman/openwsman_wrap.c:1934:3: warning[-Wdeprecated-declarations]: ‘rb_data_object_wrap_warning’ is deprecated: by TypedData
/usr/include/ruby/internal/core/rdata.h:293:1: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def87]
openwsman-2.8.1/build/usr/share/gems/gems/openwsman-2.8.1/ext/openwsman/openwsman_wrap.c:1934:3: warning[-Wdeprecated-declarations]: ‘rb_data_object_wrap_warning’ is deprecated: by TypedData
Error: COMPILER_WARNING (CWE-563): [#def88]
openwsman-2.8.1/include/wsman-soap.h:49: included_from: Included from here.
openwsman-2.8.1/examples/serialize.c:45: included_from: Included from here.
openwsman-2.8.1/examples/serialize.c: scope_hint: In function ‘example2’
openwsman-2.8.1/examples/serialize.c:225:23: warning[-Wunused-variable]: unused variable ‘Foo_TypeInfo’
openwsman-2.8.1/include/wsman-xml-serializer.h:631:19: note: in definition of macro ‘SER_END_ITEMS’
Error: COMPILER_WARNING (CWE-563): [#def89]
openwsman-2.8.1/examples/serialize.c: scope_hint: In function ‘example4’
openwsman-2.8.1/examples/serialize.c:374:67: warning[-Wunused-variable]: unused variable ‘Embed_TypeInfo’
openwsman-2.8.1/include/wsman-xml-serializer.h:631:19: note: in definition of macro ‘SER_END_ITEMS’
Error: COMPILER_WARNING (CWE-563): [#def90]
openwsman-2.8.1/examples/serialize.c: scope_hint: In function ‘example6’
openwsman-2.8.1/examples/serialize.c:575:27: warning[-Wunused-variable]: unused variable ‘Dummy_TypeInfo’
openwsman-2.8.1/include/wsman-xml-serializer.h:631:19: note: in definition of macro ‘SER_END_ITEMS’
Error: COMPILER_WARNING (CWE-563): [#def91]
openwsman-2.8.1/examples/serialize.c:691:58: warning[-Wunused-variable]: unused variable ‘SelectorSet_TypeInfo’
openwsman-2.8.1/include/wsman-xml-serializer.h:631:19: note: in definition of macro ‘SER_END_ITEMS’
Error: COMPILER_WARNING (CWE-563): [#def92]
openwsman-2.8.1/examples/serialize.c: scope_hint: In function ‘example7’
openwsman-2.8.1/examples/serialize.c:702:27: warning[-Wunused-variable]: unused variable ‘ReferenceParameters_TypeInfo’
openwsman-2.8.1/include/wsman-xml-serializer.h:631:19: note: in definition of macro ‘SER_END_ITEMS’
Error: COMPILER_WARNING (CWE-563): [#def93]
openwsman-2.8.1/examples/serialize.c: scope_hint: In function ‘example9’
openwsman-2.8.1/examples/serialize.c:861:23: warning[-Wunused-variable]: unused variable ‘empty_TypeInfo’
openwsman-2.8.1/include/wsman-xml-serializer.h:631:19: note: in definition of macro ‘SER_END_ITEMS’
Error: COMPILER_WARNING (CWE-563): [#def94]
openwsman-2.8.1/examples/serialize.c: scope_hint: In function ‘example11’
openwsman-2.8.1/examples/serialize.c:931:23: warning[-Wunused-variable]: unused variable ‘Foo_TypeInfo’
openwsman-2.8.1/include/wsman-xml-serializer.h:631:19: note: in definition of macro ‘SER_END_ITEMS’
Error: COMPILER_WARNING (CWE-563): [#def95]
openwsman-2.8.1/examples/serialize.c:1024:24: warning[-Wunused-variable]: unused variable ‘myshorts’
Error: COMPILER_WARNING (CWE-563): [#def96]
openwsman-2.8.1/examples/serialize.c:1065:23: warning[-Wunused-variable]: unused variable ‘empty_TypeInfo’
openwsman-2.8.1/include/wsman-xml-serializer.h:631:19: note: in definition of macro ‘SER_END_ITEMS’
Error: COMPILER_WARNING (CWE-563): [#def97]
openwsman-2.8.1/examples/serialize.c: scope_hint: In function ‘example14’
openwsman-2.8.1/examples/serialize.c:1075:11: warning[-Wunused-variable]: unused variable ‘a1’
Error: COMPILER_WARNING: [#def98]
openwsman-2.8.1/examples/serialize.c: scope_hint: In function ‘main’
openwsman-2.8.1/examples/serialize.c:1106:14: warning[-Wunused-but-set-variable=]: variable ‘retval’ set but not used
Error: COMPILER_WARNING (CWE-563): [#def99]
openwsman-2.8.1/examples/serialize.c: scope_hint: In function ‘example13’
openwsman-2.8.1/include/wsman-xml-serializer.h:513:19: warning[-Wunused-variable]: unused variable ‘uint16_TypeInfo’
openwsman-2.8.1/examples/serialize.c:1031:9: note: in expansion of macro ‘SER_TYPEINFO_UINT16’
Error: COMPILER_WARNING (CWE-563): [#def100]
openwsman-2.8.1/include/wsman-xml-serializer.h:518:19: warning[-Wunused-variable]: unused variable ‘int16_TypeInfo’
openwsman-2.8.1/examples/serialize.c:1070:9: note: in expansion of macro ‘SER_TYPEINFO_INT16’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def101]
openwsman-2.8.1/src/authenticators/file/file_auth.c:120:17: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(filename, "r")’
openwsman-2.8.1/src/authenticators/file/file_auth.c:104:12: branch_false: following ‘false’ branch...
openwsman-2.8.1/src/authenticators/file/file_auth.c:109:22: branch_false: ...to here
openwsman-2.8.1/src/authenticators/file/file_auth.c:110:20: acquire_resource: opened here
openwsman-2.8.1/src/authenticators/file/file_auth.c:111:12: branch_false: following ‘false’ branch...
openwsman-2.8.1/src/authenticators/file/file_auth.c:111:12: branch_false: ...to here
openwsman-2.8.1/src/authenticators/file/file_auth.c:117:16: branch_true: following ‘true’ branch...
openwsman-2.8.1/src/authenticators/file/file_auth.c:118:21: branch_true: ...to here
openwsman-2.8.1/src/authenticators/file/file_auth.c:120:17: throw: if ‘debug_full’ throws an exception...
openwsman-2.8.1/src/authenticators/file/file_auth.c:120:17: danger: ‘fopen(filename, "r")’ leaks here; was opened at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def102]
openwsman-2.8.1/src/authenticators/file/file_auth.c:120:17: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(filename, "r")’
openwsman-2.8.1/src/authenticators/file/file_auth.c:104:12: branch_false: following ‘false’ branch...
openwsman-2.8.1/src/authenticators/file/file_auth.c:109:22: branch_false: ...to here
openwsman-2.8.1/src/authenticators/file/file_auth.c:110:20: acquire_memory: allocated here
openwsman-2.8.1/src/authenticators/file/file_auth.c:111:12: branch_false: following ‘false’ branch...
openwsman-2.8.1/src/authenticators/file/file_auth.c:111:12: branch_false: ...to here
openwsman-2.8.1/src/authenticators/file/file_auth.c:117:16: branch_true: following ‘true’ branch...
openwsman-2.8.1/src/authenticators/file/file_auth.c:118:21: branch_true: ...to here
openwsman-2.8.1/src/authenticators/file/file_auth.c:120:17: throw: if ‘debug_full’ throws an exception...
openwsman-2.8.1/src/authenticators/file/file_auth.c:120:17: danger: ‘fopen(filename, "r")’ leaks here; was allocated at [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def103]
openwsman-2.8.1/src/authenticators/file/file_auth.c:122:20: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(filename, "r")’
openwsman-2.8.1/src/authenticators/file/file_auth.c:104:12: branch_false: following ‘false’ branch...
openwsman-2.8.1/src/authenticators/file/file_auth.c:109:22: branch_false: ...to here
openwsman-2.8.1/src/authenticators/file/file_auth.c:110:20: acquire_resource: opened here
openwsman-2.8.1/src/authenticators/file/file_auth.c:111:12: branch_false: following ‘false’ branch...
openwsman-2.8.1/src/authenticators/file/file_auth.c:111:12: branch_false: ...to here
openwsman-2.8.1/src/authenticators/file/file_auth.c:117:16: branch_true: following ‘true’ branch...
openwsman-2.8.1/src/authenticators/file/file_auth.c:118:21: branch_true: ...to here
openwsman-2.8.1/src/authenticators/file/file_auth.c:133:25: throw: if ‘debug_full’ throws an exception...
openwsman-2.8.1/src/authenticators/file/file_auth.c:122:20: danger: ‘fopen(filename, "r")’ leaks here; was opened at [(3)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def104]
openwsman-2.8.1/src/authenticators/file/file_auth.c:122:20: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(filename, "r")’
openwsman-2.8.1/src/authenticators/file/file_auth.c:104:12: branch_false: following ‘false’ branch...
openwsman-2.8.1/src/authenticators/file/file_auth.c:109:22: branch_false: ...to here
openwsman-2.8.1/src/authenticators/file/file_auth.c:110:20: acquire_memory: allocated here
openwsman-2.8.1/src/authenticators/file/file_auth.c:111:12: branch_false: following ‘false’ branch...
openwsman-2.8.1/src/authenticators/file/file_auth.c:111:12: branch_false: ...to here
openwsman-2.8.1/src/authenticators/file/file_auth.c:117:16: branch_true: following ‘true’ branch...
openwsman-2.8.1/src/authenticators/file/file_auth.c:118:21: branch_true: ...to here
openwsman-2.8.1/src/authenticators/file/file_auth.c:133:25: throw: if ‘debug_full’ throws an exception...
openwsman-2.8.1/src/authenticators/file/file_auth.c:122:20: danger: ‘fopen(filename, "r")’ leaks here; was allocated at [(3)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/2)
Error: CPPCHECK_WARNING (CWE-476): [#def105]
openwsman-2.8.1/src/lib/test/test_string.c:51: warning[nullPointer]: Possible null pointer dereference: query
Error: GCC_ANALYZER_WARNING (CWE-476): [#def106]
openwsman-2.8.1/src/lib/u/debug.c:67:52: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘n’
openwsman-2.8.1/src/lib/u/debug.c:52:12: branch_false: following ‘false’ branch...
openwsman-2.8.1/src/lib/u/debug.c:54:13: branch_false: ...to here
openwsman-2.8.1/src/lib/u/debug.c:65:12: branch_true: following ‘true’ branch...
openwsman-2.8.1/src/lib/u/debug.c:66:30: branch_true: ...to here
openwsman-2.8.1/src/lib/u/debug.c:66:30: branch_false: following ‘false’ branch...
openwsman-2.8.1/src/lib/u/debug.c:67:52: branch_false: ...to here
openwsman-2.8.1/src/lib/u/debug.c:67:52: danger: dereference of NULL ‘n’
Error: GCC_ANALYZER_WARNING (CWE-404): [#def107]
openwsman-2.8.1/src/lib/u/debug.c:130:15: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
openwsman-2.8.1/src/lib/u/debug.c:125:12: branch_false: following ‘false’ branch...
openwsman-2.8.1/src/lib/u/debug.c:129:9: branch_false: ...to here
openwsman-2.8.1/src/lib/u/debug.c:129:9: acquire_resource: ‘va_start’ called here
openwsman-2.8.1/src/lib/u/debug.c:130:15: throw: if ‘u_strdup_vprintf’ throws an exception...
openwsman-2.8.1/src/lib/u/debug.c:130:15: danger: missing call to ‘va_end’ to match ‘va_start’ at [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def108]
openwsman-2.8.1/src/lib/u/debug.c:160:16: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
openwsman-2.8.1/src/lib/u/debug.c:155:12: branch_false: following ‘false’ branch...
openwsman-2.8.1/src/lib/u/debug.c:159:9: branch_false: ...to here
openwsman-2.8.1/src/lib/u/debug.c:159:9: acquire_resource: ‘va_start’ called here
openwsman-2.8.1/src/lib/u/debug.c:160:16: throw: if ‘u_strdup_vprintf’ throws an exception...
openwsman-2.8.1/src/lib/u/debug.c:160:16: danger: missing call to ‘va_end’ to match ‘va_start’ at [(3)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-688): [#def109]
openwsman-2.8.1/src/lib/u/iniparser.c:186:11: warning[-Wanalyzer-null-argument]: use of NULL ‘key’ where non-null expected
openwsman-2.8.1/src/lib/u/iniparser.c:707:8: enter_function: entry to ‘iniparser_getstring’
openwsman-2.8.1/src/lib/u/iniparser.c:713:12: call_function: calling ‘strlwc’ from ‘iniparser_getstring’
openwsman-2.8.1/src/lib/u/iniparser.c:713:12: return_function: returning to ‘iniparser_getstring’ from ‘strlwc’
openwsman-2.8.1/src/lib/u/iniparser.c:713:12: call_function: calling ‘dictionary_get’ from ‘iniparser_getstring’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def110]
openwsman-2.8.1/src/lib/u/iniparser.c:188:27: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘key’
openwsman-2.8.1/src/lib/u/iniparser.c:707:8: enter_function: entry to ‘iniparser_getstring’
openwsman-2.8.1/src/lib/u/iniparser.c:713:12: call_function: calling ‘strlwc’ from ‘iniparser_getstring’
openwsman-2.8.1/src/lib/u/iniparser.c:713:12: return_function: returning to ‘iniparser_getstring’ from ‘strlwc’
openwsman-2.8.1/src/lib/u/iniparser.c:713:12: call_function: calling ‘dictionary_get’ from ‘iniparser_getstring’
Error: GCC_ANALYZER_WARNING (CWE-126): [#def111]
openwsman-2.8.1/src/lib/u/iniparser.c:506:9: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
openwsman-2.8.1/src/lib/u/iniparser.c:897:14: enter_function: entry to ‘iniparser_new’
openwsman-2.8.1/src/lib/u/iniparser.c:907:8: branch_false: following ‘false’ branch...
openwsman-2.8.1/src/lib/u/iniparser.c:911:5: branch_false: ...to here
openwsman-2.8.1/src/lib/u/iniparser.c:916:9: call_function: calling ‘dictionary_new’ from ‘iniparser_new’
openwsman-2.8.1/src/lib/u/iniparser.c:916:9: return_function: returning to ‘iniparser_new’ from ‘dictionary_new’
openwsman-2.8.1/src/lib/u/iniparser.c:917:8: branch_false: following ‘false’ branch...
openwsman-2.8.1/src/lib/u/iniparser.c:917:8: branch_false: ...to here
openwsman-2.8.1/src/lib/u/iniparser.c:921:12: branch_true: following ‘true’ branch...
openwsman-2.8.1/src/lib/u/iniparser.c:922:17: branch_true: ...to here
openwsman-2.8.1/src/lib/u/iniparser.c:922:17: call_function: calling ‘strskp’ from ‘iniparser_new’
openwsman-2.8.1/src/lib/u/iniparser.c:922:17: return_function: returning to ‘iniparser_new’ from ‘strskp’
openwsman-2.8.1/src/lib/u/iniparser.c:928:16: branch_true: following ‘true’ branch...
openwsman-2.8.1/src/lib/u/iniparser.c:930:30: branch_true: ...to here
openwsman-2.8.1/src/lib/u/iniparser.c:930:30: call_function: calling ‘strlwc’ from ‘iniparser_new’
openwsman-2.8.1/src/lib/u/iniparser.c:930:30: return_function: returning to ‘iniparser_new’ from ‘strlwc’
openwsman-2.8.1/src/lib/u/iniparser.c:932:21: call_function: calling ‘iniparser_add_entry’ from ‘iniparser_new’
Error: GCC_ANALYZER_WARNING (CWE-674): [#def112]
openwsman-2.8.1/src/lib/u/list.c:395:9: warning[-Wanalyzer-infinite-recursion]: infinite recursion
openwsman-2.8.1/src/lib/u/list.c:376:6: enter_function: initial entry to ‘ow_list_sort’
openwsman-2.8.1/src/lib/u/list.c:382:8: branch_true: following ‘true’ branch...
openwsman-2.8.1/src/lib/u/list.c:383:9: branch_true: ...to here
openwsman-2.8.1/src/lib/u/list.c:386:9: call_function: inlined call to ‘ow_list_init’ from ‘ow_list_sort’
openwsman-2.8.1/src/lib/u/list.c:393:9: call_function: calling ‘ow_list_transfer’ from ‘ow_list_sort’
openwsman-2.8.1/src/lib/u/list.c:393:9: return_function: returning to ‘ow_list_sort’ from ‘ow_list_transfer’
openwsman-2.8.1/src/lib/u/list.c:395:9: call_function: calling ‘ow_list_sort’ from ‘ow_list_sort’
Error: GCC_ANALYZER_WARNING (CWE-404): [#def113]
openwsman-2.8.1/src/lib/u/log.c:86:9: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
openwsman-2.8.1/src/lib/u/log.c:74:5: acquire_resource: ‘va_start’ called here
openwsman-2.8.1/src/lib/u/log.c:76:7: branch_false: following ‘false’ branch...
openwsman-2.8.1/src/lib/u/log.c:86:9: branch_false: ...to here
openwsman-2.8.1/src/lib/u/log.c:86:9: throw: if ‘vsyslog’ throws an exception...
openwsman-2.8.1/src/lib/u/log.c:86:9: danger: missing call to ‘va_end’ to match ‘va_start’ at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def114]
openwsman-2.8.1/src/lib/u/uerr.c:53:29: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
openwsman-2.8.1/src/lib/u/uerr.c:43:12: branch_false: following ‘false’ branch (when ‘error’ is non-NULL)...
openwsman-2.8.1/src/lib/u/uerr.c:46:18: branch_false: ...to here
openwsman-2.8.1/src/lib/u/uerr.c:47:12: branch_false: following ‘false’ branch...
openwsman-2.8.1/src/lib/u/uerr.c:51:9: branch_false: ...to here
openwsman-2.8.1/src/lib/u/uerr.c:52:9: acquire_resource: ‘va_start’ called here
openwsman-2.8.1/src/lib/u/uerr.c:53:29: throw: if ‘u_strdup_vprintf’ throws an exception...
openwsman-2.8.1/src/lib/u/uerr.c:53:29: danger: missing call to ‘va_end’ to match ‘va_start’ at [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def115]
openwsman-2.8.1/src/lib/u/uoption.c:72:22: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
openwsman-2.8.1/src/lib/u/uoption.c:665:6: enter_function: entry to ‘u_option_context_parse’
openwsman-2.8.1/src/lib/u/uoption.c:683:12: branch_false: following ‘false’ branch (when ‘ctx’ is non-NULL)...
openwsman-2.8.1/src/lib/u/uoption.c:686:46: branch_false: ...to here
openwsman-2.8.1/src/lib/u/uoption.c:688:12: branch_false: following ‘false’ branch...
openwsman-2.8.1/src/lib/u/uoption.c:692:18: branch_false: ...to here
openwsman-2.8.1/src/lib/u/uoption.c:698:12: branch_false: following ‘false’ branch (when ‘argptr’ is NULL)...
openwsman-2.8.1/src/lib/u/uoption.c:701:34: branch_false: ...to here
openwsman-2.8.1/src/lib/u/uoption.c:703:12: branch_false: following ‘false’ branch...
openwsman-2.8.1/src/lib/u/uoption.c:703:12: branch_false: ...to here
openwsman-2.8.1/src/lib/u/uoption.c:707:21: branch_false: following ‘false’ branch...
openwsman-2.8.1/src/lib/u/uoption.c:716:41: branch_false: ...to here
openwsman-2.8.1/src/lib/u/uoption.c:716:41: call_function: calling ‘context_get_number_entries’ from ‘u_option_context_parse’
openwsman-2.8.1/src/lib/u/uoption.c:716:41: return_function: returning to ‘u_option_context_parse’ from ‘context_get_number_entries’
openwsman-2.8.1/src/lib/u/uoption.c:717:12: branch_false: following ‘false’ branch...
openwsman-2.8.1/src/lib/u/uoption.c:717:12: branch_false: ...to here
openwsman-2.8.1/src/lib/u/uoption.c:722:20: branch_true: following ‘true’ branch...
openwsman-2.8.1/src/lib/u/uoption.c:723:27: branch_true: ...to here
openwsman-2.8.1/src/lib/u/uoption.c:723:20: branch_false: following ‘false’ branch...
openwsman-2.8.1/src/lib/u/uoption.c:730:20: branch_false: ...to here
openwsman-2.8.1/src/lib/u/uoption.c:730:20: branch_false: following ‘false’ branch (when ‘next_shopt == 0’)...
openwsman-2.8.1/src/lib/u/uoption.c:735:25: branch_false: ...to here
openwsman-2.8.1/src/lib/u/uoption.c:755:33: call_function: calling ‘find_short_opt’ from ‘u_option_context_parse’
Error: COMPILER_WARNING (CWE-1164): [#def116]
openwsman-2.8.1/src/lib/wsman-curl-client-transport.c:269:1: warning[-Wunused-function]: ‘sslctxfun’ defined but not used
Error: COMPILER_WARNING (CWE-9001): [#def117]
openwsman-2.8.1/src/lib/wsman-curl-client-transport.c:302:15: warning[-Wattribute-warning]: call to ‘Wcurl_easy_setopt_err_long’ declared with attribute warning: curl_easy_setopt expects a long argument
Error: COMPILER_WARNING (CWE-9001): [#def118]
openwsman-2.8.1/src/lib/wsman-curl-client-transport.c:302:15: warning[-Wattribute-warning]: call to ‘Wcurl_easy_setopt_err_long’ declared with attribute warning: curl_easy_setopt expects a long argument
Error: COMPILER_WARNING (CWE-9001): [#def119]
openwsman-2.8.1/src/lib/wsman-curl-client-transport.c:310:13: warning[-Wattribute-warning]: call to ‘Wcurl_easy_setopt_err_long’ declared with attribute warning: curl_easy_setopt expects a long argument
Error: COMPILER_WARNING (CWE-9001): [#def120]
openwsman-2.8.1/src/lib/wsman-curl-client-transport.c:310:13: warning[-Wattribute-warning]: call to ‘Wcurl_easy_setopt_err_long’ declared with attribute warning: curl_easy_setopt expects a long argument
Error: COMPILER_WARNING (CWE-9001): [#def121]
openwsman-2.8.1/src/lib/wsman-curl-client-transport.c:317:13: warning[-Wattribute-warning]: call to ‘Wcurl_easy_setopt_err_long’ declared with attribute warning: curl_easy_setopt expects a long argument
Error: COMPILER_WARNING (CWE-9001): [#def122]
openwsman-2.8.1/src/lib/wsman-curl-client-transport.c:317:13: warning[-Wattribute-warning]: call to ‘Wcurl_easy_setopt_err_long’ declared with attribute warning: curl_easy_setopt expects a long argument
Error: COMPILER_WARNING (CWE-9001): [#def123]
openwsman-2.8.1/src/lib/wsman-curl-client-transport.c: scope_hint: In function ‘wsmc_handler’
openwsman-2.8.1/src/lib/wsman-curl-client-transport.c:554:13: warning[-Wattribute-warning]: call to ‘Wcurl_easy_setopt_err_long’ declared with attribute warning: curl_easy_setopt expects a long argument
Error: COMPILER_WARNING (CWE-9001): [#def124]
openwsman-2.8.1/src/lib/wsman-curl-client-transport.c:597:25: warning[-Wattribute-warning]: call to ‘Wcurl_easy_setopt_err_long’ declared with attribute warning: curl_easy_setopt expects a long argument
Error: COMPILER_WARNING (CWE-704): [#def125]
openwsman-2.8.1/src/lib/wsman-epr.c: scope_hint: In function ‘epr_from_string’
openwsman-2.8.1/src/lib/wsman-epr.c:183:11: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def126]
openwsman-2.8.1/src/lib/wsman-epr.c:183:11: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: GCC_ANALYZER_WARNING (CWE-404): [#def127]
openwsman-2.8.1/src/lib/wsman-libxml2-binding.c:106:18: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
openwsman-2.8.1/src/lib/wsman-libxml2-binding.c:105:9: acquire_resource: ‘va_start’ called here
openwsman-2.8.1/src/lib/wsman-libxml2-binding.c:106:18: throw: if ‘u_strdup_vprintf’ throws an exception...
openwsman-2.8.1/src/lib/wsman-libxml2-binding.c:106:18: danger: missing call to ‘va_end’ to match ‘va_start’ at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def128]
openwsman-2.8.1/src/lib/wsman-server.c:204:34: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘node’
openwsman-2.8.1/src/lib/wsman-server.c:197:11: branch_false: following ‘false’ branch...
openwsman-2.8.1/src/lib/wsman-server.c:198:24: branch_false: ...to here
openwsman-2.8.1/src/lib/wsman-server.c:202:11: branch_true: following ‘true’ branch...
openwsman-2.8.1/src/lib/wsman-server.c:203:33: branch_true: ...to here
openwsman-2.8.1/src/lib/wsman-server.c:203:33: branch_false: following ‘false’ branch...
openwsman-2.8.1/src/lib/wsman-server.c:204:34: branch_false: ...to here
openwsman-2.8.1/src/lib/wsman-server.c:204:34: danger: dereference of NULL ‘node’
Error: COMPILER_WARNING: [#def129]
openwsman-2.8.1/src/lib/wsman-server.c: scope_hint: In function ‘wsman_repos_notification_dispatcher’
openwsman-2.8.1/src/lib/wsman-server.c:206:17: warning[-Wstringop-truncation]: ‘strncpy’ specified bound 64 equals destination size
Error: GCC_ANALYZER_WARNING (CWE-476): [#def130]
openwsman-2.8.1/src/lib/wsman-soap.c:1991:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘t’
openwsman-2.8.1/src/lib/wsman-soap.c:1954:1: enter_function: entry to ‘wse_unsubscribe_stub’
openwsman-2.8.1/src/lib/wsman-soap.c:1962:32: call_function: calling ‘soap_get_op_soap’ from ‘wse_unsubscribe_stub’
openwsman-2.8.1/src/lib/wsman-soap.c:1962:32: return_function: returning to ‘wse_unsubscribe_stub’ from ‘soap_get_op_soap’
openwsman-2.8.1/src/lib/wsman-soap.c:1964:12: branch_false: following ‘false’ branch...
openwsman-2.8.1/src/lib/wsman-soap.c:1969:31: branch_false: ...to here
openwsman-2.8.1/src/lib/wsman-soap.c:1974:32: call_function: calling ‘soap_get_op_doc’ from ‘wse_unsubscribe_stub’
openwsman-2.8.1/src/lib/wsman-soap.c:1974:32: return_function: returning to ‘wse_unsubscribe_stub’ from ‘soap_get_op_doc’
openwsman-2.8.1/src/lib/wsman-soap.c:1977:18: call_function: calling ‘ws_create_ep_context’ from ‘wse_unsubscribe_stub’
openwsman-2.8.1/src/lib/wsman-soap.c:1977:18: return_function: returning to ‘wse_unsubscribe_stub’ from ‘ws_create_ep_context’
openwsman-2.8.1/src/lib/wsman-soap.c:1981:11: branch_false: following ‘false’ branch...
openwsman-2.8.1/src/lib/wsman-soap.c:1986:22: branch_false: ...to here
openwsman-2.8.1/src/lib/wsman-soap.c:1989:11: branch_true: following ‘true’ branch...
openwsman-2.8.1/src/lib/wsman-soap.c:1990:21: branch_false: following ‘false’ branch...
openwsman-2.8.1/src/lib/wsman-soap.c:1991:17: branch_false: ...to here
openwsman-2.8.1/src/lib/wsman-soap.c:1991:17: danger: dereference of NULL ‘t’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def131]
openwsman-2.8.1/src/lib/wsman-soap.c:2023:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘ws_create_ep_context(soap_get_op_soap(op), soap_get_op_doc(op, 1))’
openwsman-2.8.1/src/lib/wsman-soap.c:1954:1: enter_function: entry to ‘wse_unsubscribe_stub’
openwsman-2.8.1/src/lib/wsman-soap.c:1962:32: call_function: calling ‘soap_get_op_soap’ from ‘wse_unsubscribe_stub’
openwsman-2.8.1/src/lib/wsman-soap.c:1962:32: return_function: returning to ‘wse_unsubscribe_stub’ from ‘soap_get_op_soap’
openwsman-2.8.1/src/lib/wsman-soap.c:1964:12: branch_false: following ‘false’ branch...
openwsman-2.8.1/src/lib/wsman-soap.c:1969:31: branch_false: ...to here
openwsman-2.8.1/src/lib/wsman-soap.c:1974:32: call_function: calling ‘soap_get_op_doc’ from ‘wse_unsubscribe_stub’
openwsman-2.8.1/src/lib/wsman-soap.c:1974:32: return_function: returning to ‘wse_unsubscribe_stub’ from ‘soap_get_op_doc’
openwsman-2.8.1/src/lib/wsman-soap.c:1977:18: call_function: calling ‘ws_create_ep_context’ from ‘wse_unsubscribe_stub’
openwsman-2.8.1/src/lib/wsman-soap.c:1977:18: return_function: returning to ‘wse_unsubscribe_stub’ from ‘ws_create_ep_context’
openwsman-2.8.1/src/lib/wsman-soap.c:1978:9: call_function: calling ‘wsman_status_init’ from ‘wse_unsubscribe_stub’
openwsman-2.8.1/src/lib/wsman-soap.c:1978:9: return_function: returning to ‘wse_unsubscribe_stub’ from ‘wsman_status_init’
openwsman-2.8.1/src/lib/wsman-soap.c:1981:11: branch_true: following ‘true’ branch...
openwsman-2.8.1/src/lib/wsman-soap.c:1982:17: branch_true: ...to here
openwsman-2.8.1/src/lib/wsman-soap.c:2023:9: danger: dereference of NULL ‘ws_create_ep_context(soap_get_op_soap(op), soap_get_op_doc(op, 1))’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def132]
openwsman-2.8.1/src/lib/wsman-soap.c:2078:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘t’
openwsman-2.8.1/src/lib/wsman-soap.c:2037:1: enter_function: entry to ‘wse_renew_stub’
openwsman-2.8.1/src/lib/wsman-soap.c:2046:32: call_function: calling ‘soap_get_op_soap’ from ‘wse_renew_stub’
openwsman-2.8.1/src/lib/wsman-soap.c:2046:32: return_function: returning to ‘wse_renew_stub’ from ‘soap_get_op_soap’
openwsman-2.8.1/src/lib/wsman-soap.c:2048:12: branch_false: following ‘false’ branch...
openwsman-2.8.1/src/lib/wsman-soap.c:2053:31: branch_false: ...to here
openwsman-2.8.1/src/lib/wsman-soap.c:2060:32: call_function: calling ‘soap_get_op_doc’ from ‘wse_renew_stub’
openwsman-2.8.1/src/lib/wsman-soap.c:2060:32: return_function: returning to ‘wse_renew_stub’ from ‘soap_get_op_doc’
openwsman-2.8.1/src/lib/wsman-soap.c:2062:18: call_function: calling ‘ws_create_ep_context’ from ‘wse_renew_stub’
openwsman-2.8.1/src/lib/wsman-soap.c:2062:18: return_function: returning to ‘wse_renew_stub’ from ‘ws_create_ep_context’
openwsman-2.8.1/src/lib/wsman-soap.c:2068:11: branch_false: following ‘false’ branch...
openwsman-2.8.1/src/lib/wsman-soap.c:2074:9: branch_false: ...to here
openwsman-2.8.1/src/lib/wsman-soap.c:2076:11: branch_true: following ‘true’ branch...
openwsman-2.8.1/src/lib/wsman-soap.c:2077:21: branch_false: following ‘false’ branch...
openwsman-2.8.1/src/lib/wsman-soap.c:2078:17: branch_false: ...to here
openwsman-2.8.1/src/lib/wsman-soap.c:2078:17: danger: dereference of NULL ‘t’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def133]
openwsman-2.8.1/src/lib/wsman-soap.c:2127:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘ws_create_ep_context(soap_get_op_soap(op), soap_get_op_doc(op, 1))’
openwsman-2.8.1/src/lib/wsman-soap.c:2037:1: enter_function: entry to ‘wse_renew_stub’
openwsman-2.8.1/src/lib/wsman-soap.c:2046:32: call_function: calling ‘soap_get_op_soap’ from ‘wse_renew_stub’
openwsman-2.8.1/src/lib/wsman-soap.c:2046:32: return_function: returning to ‘wse_renew_stub’ from ‘soap_get_op_soap’
openwsman-2.8.1/src/lib/wsman-soap.c:2048:12: branch_false: following ‘false’ branch...
openwsman-2.8.1/src/lib/wsman-soap.c:2053:31: branch_false: ...to here
openwsman-2.8.1/src/lib/wsman-soap.c:2060:32: call_function: calling ‘soap_get_op_doc’ from ‘wse_renew_stub’
openwsman-2.8.1/src/lib/wsman-soap.c:2060:32: return_function: returning to ‘wse_renew_stub’ from ‘soap_get_op_doc’
openwsman-2.8.1/src/lib/wsman-soap.c:2062:18: call_function: calling ‘ws_create_ep_context’ from ‘wse_renew_stub’
openwsman-2.8.1/src/lib/wsman-soap.c:2062:18: return_function: returning to ‘wse_renew_stub’ from ‘ws_create_ep_context’
openwsman-2.8.1/src/lib/wsman-soap.c:2063:9: call_function: calling ‘wsman_status_init’ from ‘wse_renew_stub’
openwsman-2.8.1/src/lib/wsman-soap.c:2063:9: return_function: returning to ‘wse_renew_stub’ from ‘wsman_status_init’
openwsman-2.8.1/src/lib/wsman-soap.c:2127:9: danger: dereference of NULL ‘ws_create_ep_context(soap_get_op_soap(op), soap_get_op_doc(op, 1))’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def134]
openwsman-2.8.1/src/lib/wsman-subscription-repository.c:111:9: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(u_strdup_printf("%s/uuid:%s", uri_repository, uuid), "r")’
openwsman-2.8.1/src/lib/wsman-subscription-repository.c:102:12: branch_false: following ‘false’ branch...
openwsman-2.8.1/src/lib/wsman-subscription-repository.c:104:21: branch_false: ...to here
openwsman-2.8.1/src/lib/wsman-subscription-repository.c:105:14: acquire_resource: opened here
openwsman-2.8.1/src/lib/wsman-subscription-repository.c:106:12: branch_false: following ‘false’ branch...
openwsman-2.8.1/src/lib/wsman-subscription-repository.c:111:9: branch_false: ...to here
openwsman-2.8.1/src/lib/wsman-subscription-repository.c:111:9: throw: if ‘u_free’ throws an exception...
openwsman-2.8.1/src/lib/wsman-subscription-repository.c:111:9: danger: ‘fopen(u_strdup_printf("%s/uuid:%s", uri_repository, uuid), "r")’ leaks here; was opened at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def135]
openwsman-2.8.1/src/lib/wsman-subscription-repository.c:111:9: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(u_strdup_printf("%s/uuid:%s", uri_repository, uuid), "r")’
openwsman-2.8.1/src/lib/wsman-subscription-repository.c:102:12: branch_false: following ‘false’ branch...
openwsman-2.8.1/src/lib/wsman-subscription-repository.c:104:21: branch_false: ...to here
openwsman-2.8.1/src/lib/wsman-subscription-repository.c:105:14: acquire_memory: allocated here
openwsman-2.8.1/src/lib/wsman-subscription-repository.c:106:12: branch_false: following ‘false’ branch...
openwsman-2.8.1/src/lib/wsman-subscription-repository.c:111:9: branch_false: ...to here
openwsman-2.8.1/src/lib/wsman-subscription-repository.c:111:9: throw: if ‘u_free’ throws an exception...
openwsman-2.8.1/src/lib/wsman-subscription-repository.c:111:9: danger: ‘fopen(u_strdup_printf("%s/uuid:%s", uri_repository, uuid), "r")’ leaks here; was allocated at [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def136]
openwsman-2.8.1/src/lib/wsman-subscription-repository.c:116:13: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(u_strdup_printf("%s/uuid:%s", uri_repository, uuid), "r")’
openwsman-2.8.1/src/lib/wsman-subscription-repository.c:102:12: branch_false: following ‘false’ branch...
openwsman-2.8.1/src/lib/wsman-subscription-repository.c:104:21: branch_false: ...to here
openwsman-2.8.1/src/lib/wsman-subscription-repository.c:105:14: acquire_resource: opened here
openwsman-2.8.1/src/lib/wsman-subscription-repository.c:106:12: branch_false: following ‘false’ branch...
openwsman-2.8.1/src/lib/wsman-subscription-repository.c:111:9: branch_false: ...to here
openwsman-2.8.1/src/lib/wsman-subscription-repository.c:112:16: branch_true: following ‘true’ branch...
openwsman-2.8.1/src/lib/wsman-subscription-repository.c:113:11: branch_true: ...to here
openwsman-2.8.1/src/lib/wsman-subscription-repository.c:116:13: throw: if ‘debug_full’ throws an exception...
openwsman-2.8.1/src/lib/wsman-subscription-repository.c:116:13: danger: ‘fopen(u_strdup_printf("%s/uuid:%s", uri_repository, uuid), "r")’ leaks here; was opened at [(3)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def137]
openwsman-2.8.1/src/lib/wsman-subscription-repository.c:116:13: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(u_strdup_printf("%s/uuid:%s", uri_repository, uuid), "r")’
openwsman-2.8.1/src/lib/wsman-subscription-repository.c:102:12: branch_false: following ‘false’ branch...
openwsman-2.8.1/src/lib/wsman-subscription-repository.c:104:21: branch_false: ...to here
openwsman-2.8.1/src/lib/wsman-subscription-repository.c:105:14: acquire_memory: allocated here
openwsman-2.8.1/src/lib/wsman-subscription-repository.c:106:12: branch_false: following ‘false’ branch...
openwsman-2.8.1/src/lib/wsman-subscription-repository.c:111:9: branch_false: ...to here
openwsman-2.8.1/src/lib/wsman-subscription-repository.c:112:16: branch_true: following ‘true’ branch...
openwsman-2.8.1/src/lib/wsman-subscription-repository.c:113:11: branch_true: ...to here
openwsman-2.8.1/src/lib/wsman-subscription-repository.c:116:13: throw: if ‘debug_full’ throws an exception...
openwsman-2.8.1/src/lib/wsman-subscription-repository.c:116:13: danger: ‘fopen(u_strdup_printf("%s/uuid:%s", uri_repository, uuid), "r")’ leaks here; was allocated at [(3)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def138]
openwsman-2.8.1/src/lib/wsman-subscription-repository.c:119:13: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(u_strdup_printf("%s/uuid:%s", uri_repository, uuid), "r")’
openwsman-2.8.1/src/lib/wsman-subscription-repository.c:102:12: branch_false: following ‘false’ branch...
openwsman-2.8.1/src/lib/wsman-subscription-repository.c:104:21: branch_false: ...to here
openwsman-2.8.1/src/lib/wsman-subscription-repository.c:105:14: acquire_resource: opened here
openwsman-2.8.1/src/lib/wsman-subscription-repository.c:106:12: branch_false: following ‘false’ branch...
openwsman-2.8.1/src/lib/wsman-subscription-repository.c:111:9: branch_false: ...to here
openwsman-2.8.1/src/lib/wsman-subscription-repository.c:112:16: branch_true: following ‘true’ branch...
openwsman-2.8.1/src/lib/wsman-subscription-repository.c:113:11: branch_true: ...to here
openwsman-2.8.1/src/lib/wsman-subscription-repository.c:119:13: throw: if ‘debug_full’ throws an exception...
openwsman-2.8.1/src/lib/wsman-subscription-repository.c:119:13: danger: ‘fopen(u_strdup_printf("%s/uuid:%s", uri_repository, uuid), "r")’ leaks here; was opened at [(3)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def139]
openwsman-2.8.1/src/lib/wsman-subscription-repository.c:119:13: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(u_strdup_printf("%s/uuid:%s", uri_repository, uuid), "r")’
openwsman-2.8.1/src/lib/wsman-subscription-repository.c:102:12: branch_false: following ‘false’ branch...
openwsman-2.8.1/src/lib/wsman-subscription-repository.c:104:21: branch_false: ...to here
openwsman-2.8.1/src/lib/wsman-subscription-repository.c:105:14: acquire_memory: allocated here
openwsman-2.8.1/src/lib/wsman-subscription-repository.c:106:12: branch_false: following ‘false’ branch...
openwsman-2.8.1/src/lib/wsman-subscription-repository.c:111:9: branch_false: ...to here
openwsman-2.8.1/src/lib/wsman-subscription-repository.c:112:16: branch_true: following ‘true’ branch...
openwsman-2.8.1/src/lib/wsman-subscription-repository.c:113:11: branch_true: ...to here
openwsman-2.8.1/src/lib/wsman-subscription-repository.c:119:13: throw: if ‘debug_full’ throws an exception...
openwsman-2.8.1/src/lib/wsman-subscription-repository.c:119:13: danger: ‘fopen(u_strdup_printf("%s/uuid:%s", uri_repository, uuid), "r")’ leaks here; was allocated at [(3)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def140]
openwsman-2.8.1/src/lib/wsman-subscription-repository.c:120:35: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(u_strdup_printf("%s/uuid:%s", uri_repository, uuid), "r")’
openwsman-2.8.1/src/lib/wsman-subscription-repository.c:102:12: branch_false: following ‘false’ branch...
openwsman-2.8.1/src/lib/wsman-subscription-repository.c:104:21: branch_false: ...to here
openwsman-2.8.1/src/lib/wsman-subscription-repository.c:105:14: acquire_resource: opened here
openwsman-2.8.1/src/lib/wsman-subscription-repository.c:106:12: branch_false: following ‘false’ branch...
openwsman-2.8.1/src/lib/wsman-subscription-repository.c:111:9: branch_false: ...to here
openwsman-2.8.1/src/lib/wsman-subscription-repository.c:112:16: branch_true: following ‘true’ branch...
openwsman-2.8.1/src/lib/wsman-subscription-repository.c:113:11: branch_true: ...to here
openwsman-2.8.1/src/lib/wsman-subscription-repository.c:120:35: throw: if ‘u_realloc’ throws an exception...
openwsman-2.8.1/src/lib/wsman-subscription-repository.c:120:35: danger: ‘fopen(u_strdup_printf("%s/uuid:%s", uri_repository, uuid), "r")’ leaks here; was opened at [(3)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def141]
openwsman-2.8.1/src/lib/wsman-subscription-repository.c:120:35: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(u_strdup_printf("%s/uuid:%s", uri_repository, uuid), "r")’
openwsman-2.8.1/src/lib/wsman-subscription-repository.c:102:12: branch_false: following ‘false’ branch...
openwsman-2.8.1/src/lib/wsman-subscription-repository.c:104:21: branch_false: ...to here
openwsman-2.8.1/src/lib/wsman-subscription-repository.c:105:14: acquire_memory: allocated here
openwsman-2.8.1/src/lib/wsman-subscription-repository.c:106:12: branch_false: following ‘false’ branch...
openwsman-2.8.1/src/lib/wsman-subscription-repository.c:111:9: branch_false: ...to here
openwsman-2.8.1/src/lib/wsman-subscription-repository.c:112:16: branch_true: following ‘true’ branch...
openwsman-2.8.1/src/lib/wsman-subscription-repository.c:113:11: branch_true: ...to here
openwsman-2.8.1/src/lib/wsman-subscription-repository.c:120:35: throw: if ‘u_realloc’ throws an exception...
openwsman-2.8.1/src/lib/wsman-subscription-repository.c:120:35: danger: ‘fopen(u_strdup_printf("%s/uuid:%s", uri_repository, uuid), "r")’ leaks here; was allocated at [(3)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def142]
openwsman-2.8.1/src/lib/wsman-subscription-repository.c:149:9: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(u_strdup_printf("%s/uuid:%s", uri_repository, uuid), "r")’
openwsman-2.8.1/src/lib/wsman-subscription-repository.c:140:12: branch_false: following ‘false’ branch...
openwsman-2.8.1/src/lib/wsman-subscription-repository.c:142:21: branch_false: ...to here
openwsman-2.8.1/src/lib/wsman-subscription-repository.c:143:14: acquire_resource: opened here
openwsman-2.8.1/src/lib/wsman-subscription-repository.c:144:12: branch_false: following ‘false’ branch...
openwsman-2.8.1/src/lib/wsman-subscription-repository.c:149:9: branch_false: ...to here
openwsman-2.8.1/src/lib/wsman-subscription-repository.c:149:9: throw: if ‘u_free’ throws an exception...
openwsman-2.8.1/src/lib/wsman-subscription-repository.c:149:9: danger: ‘fopen(u_strdup_printf("%s/uuid:%s", uri_repository, uuid), "r")’ leaks here; was opened at [(3)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def143]
openwsman-2.8.1/src/lib/wsman-subscription-repository.c:149:9: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(u_strdup_printf("%s/uuid:%s", uri_repository, uuid), "r")’
openwsman-2.8.1/src/lib/wsman-subscription-repository.c:140:12: branch_false: following ‘false’ branch...
openwsman-2.8.1/src/lib/wsman-subscription-repository.c:142:21: branch_false: ...to here
openwsman-2.8.1/src/lib/wsman-subscription-repository.c:143:14: acquire_memory: allocated here
openwsman-2.8.1/src/lib/wsman-subscription-repository.c:144:12: branch_false: following ‘false’ branch...
openwsman-2.8.1/src/lib/wsman-subscription-repository.c:149:9: branch_false: ...to here
openwsman-2.8.1/src/lib/wsman-subscription-repository.c:149:9: throw: if ‘u_free’ throws an exception...
openwsman-2.8.1/src/lib/wsman-subscription-repository.c:149:9: danger: ‘fopen(u_strdup_printf("%s/uuid:%s", uri_repository, uuid), "r")’ leaks here; was allocated at [(3)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def144]
openwsman-2.8.1/src/lib/wsman-subscription-repository.c:186:25: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(u_strdup_printf("%s/%s", uri_repository, &**_5.d_name), "r")’
openwsman-2.8.1/src/lib/wsman-subscription-repository.c:162:12: branch_false: following ‘false’ branch...
openwsman-2.8.1/src/lib/wsman-subscription-repository.c:164:12: branch_false: ...to here
openwsman-2.8.1/src/lib/wsman-subscription-repository.c:164:12: branch_false: following ‘false’ branch (when ‘subscription_list’ is non-NULL)...
openwsman-2.8.1/src/lib/wsman-subscription-repository.c:166:22: branch_false: ...to here
openwsman-2.8.1/src/lib/wsman-subscription-repository.c:166:12: branch_false: following ‘false’ branch...
openwsman-2.8.1/src/lib/wsman-subscription-repository.c:166:12: branch_false: ...to here
openwsman-2.8.1/src/lib/wsman-subscription-repository.c:170:24: branch_true: following ‘true’ branch (when ‘n != 0’)...
openwsman-2.8.1/src/lib/wsman-subscription-repository.c:175:29: branch_true: ...to here
openwsman-2.8.1/src/lib/wsman-subscription-repository.c:175:28: branch_false: following ‘false’ branch...
openwsman-2.8.1/src/lib/wsman-subscription-repository.c:175:75: branch_false: ...to here
openwsman-2.8.1/src/lib/wsman-subscription-repository.c:180:32: acquire_resource: opened here
openwsman-2.8.1/src/lib/wsman-subscription-repository.c:181:28: branch_false: following ‘false’ branch...
openwsman-2.8.1/src/lib/wsman-subscription-repository.c:186:25: branch_false: ...to here
openwsman-2.8.1/src/lib/wsman-subscription-repository.c:186:25: throw: if ‘u_free’ throws an exception...
openwsman-2.8.1/src/lib/wsman-subscription-repository.c:186:25: danger: ‘fopen(u_strdup_printf("%s/%s", uri_repository, &**_5.d_name), "r")’ leaks here; was opened at [(12)](sarif:/runs/0/results/14/codeFlows/0/threadFlows/0/locations/11)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def145]
openwsman-2.8.1/src/lib/wsman-subscription-repository.c:186:25: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(u_strdup_printf("%s/%s", uri_repository, &**_5.d_name), "r")’
openwsman-2.8.1/src/lib/wsman-subscription-repository.c:162:12: branch_false: following ‘false’ branch...
openwsman-2.8.1/src/lib/wsman-subscription-repository.c:164:12: branch_false: ...to here
openwsman-2.8.1/src/lib/wsman-subscription-repository.c:164:12: branch_false: following ‘false’ branch (when ‘subscription_list’ is non-NULL)...
openwsman-2.8.1/src/lib/wsman-subscription-repository.c:166:22: branch_false: ...to here
openwsman-2.8.1/src/lib/wsman-subscription-repository.c:166:12: branch_false: following ‘false’ branch...
openwsman-2.8.1/src/lib/wsman-subscription-repository.c:166:12: branch_false: ...to here
openwsman-2.8.1/src/lib/wsman-subscription-repository.c:170:24: branch_true: following ‘true’ branch (when ‘n != 0’)...
openwsman-2.8.1/src/lib/wsman-subscription-repository.c:175:29: branch_true: ...to here
openwsman-2.8.1/src/lib/wsman-subscription-repository.c:175:28: branch_false: following ‘false’ branch...
openwsman-2.8.1/src/lib/wsman-subscription-repository.c:175:75: branch_false: ...to here
openwsman-2.8.1/src/lib/wsman-subscription-repository.c:180:32: acquire_memory: allocated here
openwsman-2.8.1/src/lib/wsman-subscription-repository.c:181:28: branch_false: following ‘false’ branch...
openwsman-2.8.1/src/lib/wsman-subscription-repository.c:186:25: branch_false: ...to here
openwsman-2.8.1/src/lib/wsman-subscription-repository.c:186:25: throw: if ‘u_free’ throws an exception...
openwsman-2.8.1/src/lib/wsman-subscription-repository.c:186:25: danger: ‘fopen(u_strdup_printf("%s/%s", uri_repository, &**_5.d_name), "r")’ leaks here; was allocated at [(12)](sarif:/runs/0/results/15/codeFlows/0/threadFlows/0/locations/11)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def146]
openwsman-2.8.1/src/lib/wsman-subscription-repository.c:195:63: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(u_strdup_printf("%s/%s", uri_repository, &**_5.d_name), "r")’
openwsman-2.8.1/src/lib/wsman-subscription-repository.c:162:12: branch_false: following ‘false’ branch...
openwsman-2.8.1/src/lib/wsman-subscription-repository.c:164:12: branch_false: ...to here
openwsman-2.8.1/src/lib/wsman-subscription-repository.c:164:12: branch_false: following ‘false’ branch (when ‘subscription_list’ is non-NULL)...
openwsman-2.8.1/src/lib/wsman-subscription-repository.c:166:22: branch_false: ...to here
openwsman-2.8.1/src/lib/wsman-subscription-repository.c:166:12: branch_false: following ‘false’ branch...
openwsman-2.8.1/src/lib/wsman-subscription-repository.c:166:12: branch_false: ...to here
openwsman-2.8.1/src/lib/wsman-subscription-repository.c:170:24: branch_true: following ‘true’ branch (when ‘n != 0’)...
openwsman-2.8.1/src/lib/wsman-subscription-repository.c:175:29: branch_true: ...to here
openwsman-2.8.1/src/lib/wsman-subscription-repository.c:175:28: branch_false: following ‘false’ branch...
openwsman-2.8.1/src/lib/wsman-subscription-repository.c:175:75: branch_false: ...to here
openwsman-2.8.1/src/lib/wsman-subscription-repository.c:180:32: acquire_resource: opened here
openwsman-2.8.1/src/lib/wsman-subscription-repository.c:181:28: branch_false: following ‘false’ branch...
openwsman-2.8.1/src/lib/wsman-subscription-repository.c:186:25: branch_false: ...to here
openwsman-2.8.1/src/lib/wsman-subscription-repository.c:189:32: branch_true: following ‘true’ branch...
openwsman-2.8.1/src/lib/wsman-subscription-repository.c:190:33: branch_true: ...to here
openwsman-2.8.1/src/lib/wsman-subscription-repository.c:195:63: throw: if ‘u_realloc’ throws an exception...
openwsman-2.8.1/src/lib/wsman-subscription-repository.c:195:63: danger: ‘fopen(u_strdup_printf("%s/%s", uri_repository, &**_5.d_name), "r")’ leaks here; was opened at [(12)](sarif:/runs/0/results/16/codeFlows/0/threadFlows/0/locations/11)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def147]
openwsman-2.8.1/src/lib/wsman-subscription-repository.c:195:63: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(u_strdup_printf("%s/%s", uri_repository, &**_5.d_name), "r")’
openwsman-2.8.1/src/lib/wsman-subscription-repository.c:162:12: branch_false: following ‘false’ branch...
openwsman-2.8.1/src/lib/wsman-subscription-repository.c:164:12: branch_false: ...to here
openwsman-2.8.1/src/lib/wsman-subscription-repository.c:164:12: branch_false: following ‘false’ branch (when ‘subscription_list’ is non-NULL)...
openwsman-2.8.1/src/lib/wsman-subscription-repository.c:166:22: branch_false: ...to here
openwsman-2.8.1/src/lib/wsman-subscription-repository.c:166:12: branch_false: following ‘false’ branch...
openwsman-2.8.1/src/lib/wsman-subscription-repository.c:166:12: branch_false: ...to here
openwsman-2.8.1/src/lib/wsman-subscription-repository.c:170:24: branch_true: following ‘true’ branch (when ‘n != 0’)...
openwsman-2.8.1/src/lib/wsman-subscription-repository.c:175:29: branch_true: ...to here
openwsman-2.8.1/src/lib/wsman-subscription-repository.c:175:28: branch_false: following ‘false’ branch...
openwsman-2.8.1/src/lib/wsman-subscription-repository.c:175:75: branch_false: ...to here
openwsman-2.8.1/src/lib/wsman-subscription-repository.c:180:32: acquire_memory: allocated here
openwsman-2.8.1/src/lib/wsman-subscription-repository.c:181:28: branch_false: following ‘false’ branch...
openwsman-2.8.1/src/lib/wsman-subscription-repository.c:186:25: branch_false: ...to here
openwsman-2.8.1/src/lib/wsman-subscription-repository.c:189:32: branch_true: following ‘true’ branch...
openwsman-2.8.1/src/lib/wsman-subscription-repository.c:190:33: branch_true: ...to here
openwsman-2.8.1/src/lib/wsman-subscription-repository.c:195:63: throw: if ‘u_realloc’ throws an exception...
openwsman-2.8.1/src/lib/wsman-subscription-repository.c:195:63: danger: ‘fopen(u_strdup_printf("%s/%s", uri_repository, &**_5.d_name), "r")’ leaks here; was allocated at [(12)](sarif:/runs/0/results/17/codeFlows/0/threadFlows/0/locations/11)
Error: GCC_ANALYZER_WARNING (CWE-688): [#def148]
openwsman-2.8.1/src/lib/wsman-xml.c:806:38: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
openwsman-2.8.1/src/lib/wsman-xml.c:795:5: enter_function: entry to ‘ws_xml_is_node_qname’
openwsman-2.8.1/src/lib/wsman-xml.c:806:20: branch_false: following ‘false’ branch (when ‘name’ is non-NULL)...
openwsman-2.8.1/src/lib/wsman-xml.c:806:51: branch_false: ...to here
openwsman-2.8.1/src/lib/wsman-xml.c:806:51: call_function: calling ‘ws_xml_get_node_local_name’ from ‘ws_xml_is_node_qname’
openwsman-2.8.1/src/lib/wsman-xml.c:806:51: return_function: returning to ‘ws_xml_is_node_qname’ from ‘ws_xml_get_node_local_name’
openwsman-2.8.1/src/lib/wsman-xml.c:806:38: danger: argument 2 (‘ws_xml_get_node_local_name(node)’) NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-476): [#def149]
openwsman-2.8.1/src/plugins/cim/sfcc-interface.c:601:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘argnode’
openwsman-2.8.1/src/plugins/cim/sfcc-interface.c:1784:1: enter_function: entry to ‘cim_invoke_method’
openwsman-2.8.1/src/plugins/cim/sfcc-interface.c:1801:20: branch_true: following ‘true’ branch...
openwsman-2.8.1/src/plugins/cim/sfcc-interface.c:1802:25: branch_true: ...to here
openwsman-2.8.1/src/plugins/cim/sfcc-interface.c:1802:25: call_function: inlined call to ‘cim_add_keys’ from ‘cim_invoke_method’
openwsman-2.8.1/src/plugins/cim/sfcc-interface.c:1805:12: branch_true: ...to here
openwsman-2.8.1/src/plugins/cim/sfcc-interface.c:1805:12: branch_true: following ‘true’ branch (when ‘objectpath’ is non-NULL)...
openwsman-2.8.1/src/plugins/cim/sfcc-interface.c:1809:17: branch_true: ...to here
openwsman-2.8.1/src/plugins/cim/sfcc-interface.c:1815:20: branch_true: following ‘true’ branch...
openwsman-2.8.1/src/plugins/cim/sfcc-interface.c:1817:34: call_function: calling ‘cim_add_args’ from ‘cim_invoke_method’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def150]
openwsman-2.8.1/src/plugins/cim/sfcc-interface.c:618:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘argnode’
openwsman-2.8.1/src/plugins/cim/sfcc-interface.c:1784:1: enter_function: entry to ‘cim_invoke_method’
openwsman-2.8.1/src/plugins/cim/sfcc-interface.c:1801:20: branch_true: following ‘true’ branch...
openwsman-2.8.1/src/plugins/cim/sfcc-interface.c:1802:25: branch_true: ...to here
openwsman-2.8.1/src/plugins/cim/sfcc-interface.c:1802:25: call_function: inlined call to ‘cim_add_keys’ from ‘cim_invoke_method’
openwsman-2.8.1/src/plugins/cim/sfcc-interface.c:1805:12: branch_true: ...to here
openwsman-2.8.1/src/plugins/cim/sfcc-interface.c:1805:12: branch_true: following ‘true’ branch (when ‘objectpath’ is non-NULL)...
openwsman-2.8.1/src/plugins/cim/sfcc-interface.c:1809:17: branch_true: ...to here
openwsman-2.8.1/src/plugins/cim/sfcc-interface.c:1815:20: branch_true: following ‘true’ branch...
openwsman-2.8.1/src/plugins/cim/sfcc-interface.c:1817:34: call_function: calling ‘cim_add_args’ from ‘cim_invoke_method’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def151]
openwsman-2.8.1/src/plugins/cim/sfcc-interface.c:629:51: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘t_anode’
openwsman-2.8.1/src/plugins/cim/sfcc-interface.c:1784:1: enter_function: entry to ‘cim_invoke_method’
openwsman-2.8.1/src/plugins/cim/sfcc-interface.c:1801:20: branch_true: following ‘true’ branch...
openwsman-2.8.1/src/plugins/cim/sfcc-interface.c:1802:25: branch_true: ...to here
openwsman-2.8.1/src/plugins/cim/sfcc-interface.c:1802:25: call_function: inlined call to ‘cim_add_keys’ from ‘cim_invoke_method’
openwsman-2.8.1/src/plugins/cim/sfcc-interface.c:1805:12: branch_true: ...to here
openwsman-2.8.1/src/plugins/cim/sfcc-interface.c:1805:12: branch_true: following ‘true’ branch (when ‘objectpath’ is non-NULL)...
openwsman-2.8.1/src/plugins/cim/sfcc-interface.c:1809:17: branch_true: ...to here
openwsman-2.8.1/src/plugins/cim/sfcc-interface.c:1815:20: branch_true: following ‘true’ branch...
openwsman-2.8.1/src/plugins/cim/sfcc-interface.c:1817:34: call_function: calling ‘cim_add_args’ from ‘cim_invoke_method’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def152]
openwsman-2.8.1/src/plugins/cim/sfcc-interface.c:658:51: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘argnode’
openwsman-2.8.1/src/plugins/cim/sfcc-interface.c:1784:1: enter_function: entry to ‘cim_invoke_method’
openwsman-2.8.1/src/plugins/cim/sfcc-interface.c:1801:20: branch_true: following ‘true’ branch...
openwsman-2.8.1/src/plugins/cim/sfcc-interface.c:1802:25: branch_true: ...to here
openwsman-2.8.1/src/plugins/cim/sfcc-interface.c:1802:25: call_function: inlined call to ‘cim_add_keys’ from ‘cim_invoke_method’
openwsman-2.8.1/src/plugins/cim/sfcc-interface.c:1805:12: branch_true: ...to here
openwsman-2.8.1/src/plugins/cim/sfcc-interface.c:1805:12: branch_true: following ‘true’ branch (when ‘objectpath’ is non-NULL)...
openwsman-2.8.1/src/plugins/cim/sfcc-interface.c:1809:17: branch_true: ...to here
openwsman-2.8.1/src/plugins/cim/sfcc-interface.c:1815:20: branch_true: following ‘true’ branch...
openwsman-2.8.1/src/plugins/cim/sfcc-interface.c:1817:34: call_function: calling ‘cim_add_args’ from ‘cim_invoke_method’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def153]
openwsman-2.8.1/src/plugins/cim/sfcc-interface.c:991:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘_class’
openwsman-2.8.1/src/plugins/cim/sfcc-interface.c:1265:1: enter_function: entry to ‘cim_getElementAt’
openwsman-2.8.1/src/plugins/cim/sfcc-interface.c:1289:12: branch_true: following ‘true’ branch (when ‘retval != 0’)...
openwsman-2.8.1/src/plugins/cim/sfcc-interface.c:1290:17: branch_true: ...to here
openwsman-2.8.1/src/plugins/cim/sfcc-interface.c:1290:17: call_function: calling ‘instance2xml’ from ‘cim_getElementAt’
Error: COMPILER_WARNING: [#def154]
openwsman-2.8.1/src/plugins/cim/sfcc-interface.c: scope_hint: In function ‘instance2xml’
openwsman-2.8.1/src/plugins/cim/sfcc-interface.c:1012:19: warning[-Wunused-but-set-variable=]: variable ‘ttime’ set but not used
Error: COMPILER_WARNING (CWE-563): [#def155]
openwsman-2.8.1/src/plugins/redirect/redirect.c: scope_hint: In function ‘set_namespaces’
openwsman-2.8.1/src/plugins/redirect/redirect.c:65:9: warning[-Wunused-variable]: unused variable ‘i’
Error: COMPILER_WARNING (CWE-1164): [#def156]
openwsman-2.8.1/src/plugins/redirect/redirect.c:96:12: warning[-Wunused-function]: ‘init’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def157]
openwsman-2.8.1/src/plugins/redirect/redirect.c:144:13: warning[-Wunused-function]: ‘cleanup’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def158]
openwsman-2.8.1/src/plugins/redirect/redirect.c:150:13: warning[-Wunused-function]: ‘set_config’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def159]
openwsman-2.8.1/src/plugins/redirect/redirect.c:238:14: warning[-Wunused-function]: ‘get_remote_namespace’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def160]
openwsman-2.8.1/src/plugins/redirect/redirect.c: scope_hint: At top level
openwsman-2.8.1/src/plugins/redirect/redirect.c:249:14: warning[-Wunused-function]: ‘get_remote_cim_namespace’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def161]
openwsman-2.8.1/src/plugins/redirect/redirect_stubs.c:31: included_from: Included from here.
openwsman-2.8.1/src/plugins/redirect/redirect.h: scope_hint: At top level
openwsman-2.8.1/src/plugins/redirect/redirect.h:82:14: warning[-Wunused-function]: ‘get_remote_server’ declared ‘static’ but never defined
Error: COMPILER_WARNING (CWE-1164): [#def162]
openwsman-2.8.1/src/plugins/redirect/redirect.h:83:14: warning[-Wunused-function]: ‘get_remote_username’ declared ‘static’ but never defined
Error: COMPILER_WARNING (CWE-1164): [#def163]
openwsman-2.8.1/src/plugins/redirect/redirect.h:84:14: warning[-Wunused-function]: ‘get_remote_password’ declared ‘static’ but never defined
Error: COMPILER_WARNING (CWE-1164): [#def164]
openwsman-2.8.1/src/plugins/redirect/redirect.h:85:14: warning[-Wunused-function]: ‘get_remote_url_path’ declared ‘static’ but never defined
Error: COMPILER_WARNING (CWE-1164): [#def165]
openwsman-2.8.1/src/plugins/redirect/redirect.h:86:14: warning[-Wunused-function]: ‘get_remote_authentication_method’ declared ‘static’ but never defined
Error: COMPILER_WARNING (CWE-1164): [#def166]
openwsman-2.8.1/src/plugins/redirect/redirect.h:87:14: warning[-Wunused-function]: ‘get_remote_cim_namespace’ declared ‘static’ but never defined
Error: COMPILER_WARNING (CWE-1164): [#def167]
openwsman-2.8.1/src/plugins/redirect/redirect.h:88:14: warning[-Wunused-function]: ‘get_remote_cainfo’ declared ‘static’ but never defined
Error: COMPILER_WARNING (CWE-1164): [#def168]
openwsman-2.8.1/src/plugins/redirect/redirect.h:89:12: warning[-Wunused-function]: ‘get_remote_server_port’ declared ‘static’ but never defined
Error: COMPILER_WARNING (CWE-1164): [#def169]
openwsman-2.8.1/src/plugins/redirect/redirect.h:90:12: warning[-Wunused-function]: ‘get_remote_noverifypeer’ declared ‘static’ but never defined
Error: COMPILER_WARNING (CWE-1164): [#def170]
openwsman-2.8.1/src/plugins/redirect/redirect.h:91:12: warning[-Wunused-function]: ‘get_remote_noverifyhost’ declared ‘static’ but never defined
Error: COMPILER_WARNING (CWE-1164): [#def171]
openwsman-2.8.1/src/plugins/redirect/redirect.h:92:14: warning[-Wunused-function]: ‘get_remote_sslkey’ declared ‘static’ but never defined
Error: COMPILER_WARNING (CWE-1164): [#def172]
openwsman-2.8.1/src/plugins/redirect/redirect.h:93:14: warning[-Wunused-function]: ‘get_remote_cl_cert’ declared ‘static’ but never defined
Error: COMPILER_WARNING (CWE-563): [#def173]
openwsman-2.8.1/src/plugins/redirect/redirect_stubs.c:125:11: warning[-Wunused-variable]: unused variable ‘resource_uri’
Error: COMPILER_WARNING (CWE-563): [#def174]
openwsman-2.8.1/src/plugins/redirect/redirect_stubs.c: scope_hint: In function ‘Redirect_Enumerate_EP’
openwsman-2.8.1/src/plugins/redirect/redirect_stubs.c:126:9: warning[-Wunused-variable]: unused variable ‘op’
Error: COMPILER_WARNING: [#def175]
openwsman-2.8.1/src/plugins/redirect/redirect_stubs.c: scope_hint: In function ‘Redirect_Enumerate_EP’
openwsman-2.8.1/src/plugins/redirect/redirect_stubs.c:197:13: warning[-Wstringop-truncation]: ‘__strncpy_chk’ specified bound depends on the length of the source argument
openwsman-2.8.1/src/plugins/redirect/redirect_stubs.c:197:59: note: length computed here
Error: COMPILER_WARNING: [#def176]
openwsman-2.8.1/src/plugins/redirect/redirect_stubs.c:206:13: warning[-Wstringop-truncation]: ‘__strncpy_chk’ specified bound depends on the length of the source argument
openwsman-2.8.1/src/plugins/redirect/redirect_stubs.c:206:59: note: length computed here
Error: COMPILER_WARNING (CWE-563): [#def177]
openwsman-2.8.1/src/plugins/redirect/redirect_stubs.c: scope_hint: In function ‘Redirect_Pull_EP’
openwsman-2.8.1/src/plugins/redirect/redirect_stubs.c:247:15: warning[-Wunused-variable]: unused variable ‘doc’
Error: COMPILER_WARNING (CWE-1164): [#def178]
openwsman-2.8.1/src/plugins/redirect/redirect_stubs.c:304:13: warning[-Wunused-function]: ‘xml_print’ defined but not used
Error: CPPCHECK_WARNING (CWE-476): [#def179]
openwsman-2.8.1/src/plugins/redirect/redirect_stubs.c:330: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: fault_msg
Error: GCC_ANALYZER_WARNING (CWE-688): [#def180]
openwsman-2.8.1/src/plugins/redirect/redirect_stubs.c:330:5: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘fault_msg’ where non-null expected
openwsman-2.8.1/src/plugins/redirect/redirect_stubs.c:328:22: acquire_memory: this call could return NULL
openwsman-2.8.1/src/plugins/redirect/redirect_stubs.c:330:5: danger: argument 1 (‘fault_msg’) from [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0) could be NULL where non-null expected
Error: COMPILER_WARNING: [#def181]
openwsman-2.8.1/src/plugins/redirect/redirect_stubs.c: scope_hint: In function ‘redirect_fault_msg’
openwsman-2.8.1/src/plugins/redirect/redirect_stubs.c:330:5: warning[-Wstringop-truncation]: ‘strncpy’ output truncated before terminating nul copying 17 bytes from a string of the same length
Error: CPPCHECK_WARNING (CWE-476): [#def182]
openwsman-2.8.1/src/plugins/redirect/redirect_stubs.c:331: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: fault_msg
Error: COMPILER_WARNING: [#def183]
openwsman-2.8.1/src/plugins/redirect/redirect_stubs.c:331:5: note[note]: length computed here
Error: COMPILER_WARNING: [#def184]
openwsman-2.8.1/src/plugins/redirect/redirect_stubs.c: scope_hint: In function ‘redirect_fault_msg’
openwsman-2.8.1/src/plugins/redirect/redirect_stubs.c:331:5: warning[-Wstringop-overflow=]: ‘__builtin___strncat_chk’ specified bound depends on the length of the source argument
openwsman-2.8.1/src/plugins/redirect/redirect_stubs.c:331:43: note: length computed here
Error: COMPILER_WARNING: [#def185]
openwsman-2.8.1/src/plugins/redirect/redirect_stubs.c:331:5: warning[-Wstringop-overflow=]: ‘__strncat_chk’ specified bound depends on the length of the source argument
openwsman-2.8.1/src/plugins/redirect/redirect_stubs.c:331:43: note: length computed here
Error: COMPILER_WARNING: [#def186]
openwsman-2.8.1/src/plugins/redirect/redirect_stubs.c:331:5: warning[-Wstringop-overflow=]: ‘strncat’ specified bound depends on the length of the source argument
Error: COMPILER_WARNING (CWE-1164): [#def187]
openwsman-2.8.1/src/plugins/swig/src/swig-plugin.c:78:1: warning[-Wunused-function]: ‘string2target’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def188]
openwsman-2.8.1/src/plugins/swig/src/swig-plugin.c:99:1: warning[-Wunused-function]: ‘proplist2target’ defined but not used
Error: COMPILER_WARNING (CWE-563): [#def189]
openwsman-2.8.1/src/plugins/swig/src/swig-plugin.c:168:12: warning[-Wunused-variable]: ‘_PLUGIN_COUNT’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def190]
openwsman-2.8.1/build/src/plugins/swig/ruby/swig_wrap.c:2223: included_from: Included from here.
openwsman-2.8.1/src/plugins/swig/src/swig-plugin.c: scope_hint: At top level
openwsman-2.8.1/src/plugins/swig/src/swig-plugin.c:350:1: warning[-Wunused-function]: ‘Swig_SubscriptionCancel_EP’ defined but not used
Error: GCC_ANALYZER_WARNING (CWE-775): [#def191]
openwsman-2.8.1/src/server/shttpd/auth.c:42:9: warning[-Wanalyzer-file-leak]: leak of FILE ‘fp2’
openwsman-2.8.1/src/server/shttpd/auth.c:420:1: enter_function: entry to ‘_shttpd_edit_passwords’
openwsman-2.8.1/src/server/shttpd/auth.c:435:12: branch_false: following ‘false’ branch...
openwsman-2.8.1/src/server/shttpd/auth.c:438:25: branch_false: ...to here
openwsman-2.8.1/src/server/shttpd/auth.c:438:25: acquire_resource: opened here
openwsman-2.8.1/src/server/shttpd/auth.c:438:17: branch_false: following ‘false’ branch...
openwsman-2.8.1/src/server/shttpd/auth.c:442:9: branch_false: ...to here
openwsman-2.8.1/src/server/shttpd/auth.c:469:12: branch_true: following ‘true’ branch (when ‘found == 0’)...
openwsman-2.8.1/src/server/shttpd/auth.c:470:17: branch_true: ...to here
openwsman-2.8.1/src/server/shttpd/auth.c:472:17: call_function: calling ‘md5’ from ‘_shttpd_edit_passwords’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def192]
openwsman-2.8.1/src/server/shttpd/auth.c:42:9: warning[-Wanalyzer-malloc-leak]: leak of ‘fp2’
openwsman-2.8.1/src/server/shttpd/auth.c:420:1: enter_function: entry to ‘_shttpd_edit_passwords’
openwsman-2.8.1/src/server/shttpd/auth.c:435:12: branch_false: following ‘false’ branch...
openwsman-2.8.1/src/server/shttpd/auth.c:438:25: branch_false: ...to here
openwsman-2.8.1/src/server/shttpd/auth.c:438:25: acquire_memory: allocated here
openwsman-2.8.1/src/server/shttpd/auth.c:438:17: branch_false: following ‘false’ branch...
openwsman-2.8.1/src/server/shttpd/auth.c:442:9: branch_false: ...to here
openwsman-2.8.1/src/server/shttpd/auth.c:469:12: branch_true: following ‘true’ branch (when ‘found == 0’)...
openwsman-2.8.1/src/server/shttpd/auth.c:470:17: branch_true: ...to here
openwsman-2.8.1/src/server/shttpd/auth.c:472:17: call_function: calling ‘md5’ from ‘_shttpd_edit_passwords’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def193]
openwsman-2.8.1/src/server/shttpd/auth.c:50:25: warning[-Wanalyzer-file-leak]: leak of FILE ‘fp2’
openwsman-2.8.1/src/server/shttpd/auth.c:420:1: enter_function: entry to ‘_shttpd_edit_passwords’
openwsman-2.8.1/src/server/shttpd/auth.c:435:12: branch_false: following ‘false’ branch...
openwsman-2.8.1/src/server/shttpd/auth.c:438:25: branch_false: ...to here
openwsman-2.8.1/src/server/shttpd/auth.c:438:25: acquire_resource: opened here
openwsman-2.8.1/src/server/shttpd/auth.c:438:17: branch_false: following ‘false’ branch...
openwsman-2.8.1/src/server/shttpd/auth.c:442:9: branch_false: ...to here
openwsman-2.8.1/src/server/shttpd/auth.c:469:12: branch_true: following ‘true’ branch (when ‘found == 0’)...
openwsman-2.8.1/src/server/shttpd/auth.c:470:17: branch_true: ...to here
openwsman-2.8.1/src/server/shttpd/auth.c:472:17: call_function: calling ‘md5’ from ‘_shttpd_edit_passwords’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def194]
openwsman-2.8.1/src/server/shttpd/auth.c:50:25: warning[-Wanalyzer-malloc-leak]: leak of ‘fp2’
openwsman-2.8.1/src/server/shttpd/auth.c:420:1: enter_function: entry to ‘_shttpd_edit_passwords’
openwsman-2.8.1/src/server/shttpd/auth.c:435:12: branch_false: following ‘false’ branch...
openwsman-2.8.1/src/server/shttpd/auth.c:438:25: branch_false: ...to here
openwsman-2.8.1/src/server/shttpd/auth.c:438:25: acquire_memory: allocated here
openwsman-2.8.1/src/server/shttpd/auth.c:438:17: branch_false: following ‘false’ branch...
openwsman-2.8.1/src/server/shttpd/auth.c:442:9: branch_false: ...to here
openwsman-2.8.1/src/server/shttpd/auth.c:469:12: branch_true: following ‘true’ branch (when ‘found == 0’)...
openwsman-2.8.1/src/server/shttpd/auth.c:470:17: branch_true: ...to here
openwsman-2.8.1/src/server/shttpd/auth.c:472:17: call_function: calling ‘md5’ from ‘_shttpd_edit_passwords’
Error: GCC_ANALYZER_WARNING (CWE-404): [#def195]
openwsman-2.8.1/src/server/shttpd/auth.c:50:25: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
openwsman-2.8.1/src/server/shttpd/auth.c:420:1: enter_function: entry to ‘_shttpd_edit_passwords’
openwsman-2.8.1/src/server/shttpd/auth.c:435:12: branch_false: following ‘false’ branch...
openwsman-2.8.1/src/server/shttpd/auth.c:438:25: branch_false: ...to here
openwsman-2.8.1/src/server/shttpd/auth.c:438:17: branch_false: following ‘false’ branch...
openwsman-2.8.1/src/server/shttpd/auth.c:442:9: branch_false: ...to here
openwsman-2.8.1/src/server/shttpd/auth.c:469:12: branch_true: following ‘true’ branch (when ‘found == 0’)...
openwsman-2.8.1/src/server/shttpd/auth.c:470:17: branch_true: ...to here
openwsman-2.8.1/src/server/shttpd/auth.c:472:17: call_function: calling ‘md5’ from ‘_shttpd_edit_passwords’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def196]
openwsman-2.8.1/src/server/shttpd/auth.c:51:17: warning[-Wanalyzer-file-leak]: leak of FILE ‘fp2’
openwsman-2.8.1/src/server/shttpd/auth.c:420:1: enter_function: entry to ‘_shttpd_edit_passwords’
openwsman-2.8.1/src/server/shttpd/auth.c:435:12: branch_false: following ‘false’ branch...
openwsman-2.8.1/src/server/shttpd/auth.c:438:25: branch_false: ...to here
openwsman-2.8.1/src/server/shttpd/auth.c:438:25: acquire_resource: opened here
openwsman-2.8.1/src/server/shttpd/auth.c:438:17: branch_false: following ‘false’ branch...
openwsman-2.8.1/src/server/shttpd/auth.c:442:9: branch_false: ...to here
openwsman-2.8.1/src/server/shttpd/auth.c:469:12: branch_true: following ‘true’ branch (when ‘found == 0’)...
openwsman-2.8.1/src/server/shttpd/auth.c:470:17: branch_true: ...to here
openwsman-2.8.1/src/server/shttpd/auth.c:472:17: call_function: calling ‘md5’ from ‘_shttpd_edit_passwords’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def197]
openwsman-2.8.1/src/server/shttpd/auth.c:51:17: warning[-Wanalyzer-malloc-leak]: leak of ‘fp2’
openwsman-2.8.1/src/server/shttpd/auth.c:420:1: enter_function: entry to ‘_shttpd_edit_passwords’
openwsman-2.8.1/src/server/shttpd/auth.c:435:12: branch_false: following ‘false’ branch...
openwsman-2.8.1/src/server/shttpd/auth.c:438:25: branch_false: ...to here
openwsman-2.8.1/src/server/shttpd/auth.c:438:25: acquire_memory: allocated here
openwsman-2.8.1/src/server/shttpd/auth.c:438:17: branch_false: following ‘false’ branch...
openwsman-2.8.1/src/server/shttpd/auth.c:442:9: branch_false: ...to here
openwsman-2.8.1/src/server/shttpd/auth.c:469:12: branch_true: following ‘true’ branch (when ‘found == 0’)...
openwsman-2.8.1/src/server/shttpd/auth.c:470:17: branch_true: ...to here
openwsman-2.8.1/src/server/shttpd/auth.c:472:17: call_function: calling ‘md5’ from ‘_shttpd_edit_passwords’
Error: GCC_ANALYZER_WARNING (CWE-404): [#def198]
openwsman-2.8.1/src/server/shttpd/auth.c:51:17: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
openwsman-2.8.1/src/server/shttpd/auth.c:420:1: enter_function: entry to ‘_shttpd_edit_passwords’
openwsman-2.8.1/src/server/shttpd/auth.c:435:12: branch_false: following ‘false’ branch...
openwsman-2.8.1/src/server/shttpd/auth.c:438:25: branch_false: ...to here
openwsman-2.8.1/src/server/shttpd/auth.c:438:17: branch_false: following ‘false’ branch...
openwsman-2.8.1/src/server/shttpd/auth.c:442:9: branch_false: ...to here
openwsman-2.8.1/src/server/shttpd/auth.c:469:12: branch_true: following ‘true’ branch (when ‘found == 0’)...
openwsman-2.8.1/src/server/shttpd/auth.c:470:17: branch_true: ...to here
openwsman-2.8.1/src/server/shttpd/auth.c:472:17: call_function: calling ‘md5’ from ‘_shttpd_edit_passwords’
Error: COMPILER_WARNING (CWE-1164): [#def199]
openwsman-2.8.1/src/server/shttpd/auth.c:174:1: warning[-Wunused-function]: ‘open_auth_file’ defined but not used
Error: GCC_ANALYZER_WARNING (CWE-775): [#def200]
openwsman-2.8.1/src/server/shttpd/auth.c:439:17: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(fname, "r")’
openwsman-2.8.1/src/server/shttpd/auth.c:435:19: acquire_resource: opened here
openwsman-2.8.1/src/server/shttpd/auth.c:435:12: branch_false: following ‘false’ branch...
openwsman-2.8.1/src/server/shttpd/auth.c:438:25: branch_false: ...to here
openwsman-2.8.1/src/server/shttpd/auth.c:438:17: branch_true: following ‘true’ branch...
openwsman-2.8.1/src/server/shttpd/auth.c:440:57: branch_true: ...to here
openwsman-2.8.1/src/server/shttpd/auth.c:439:17: throw: if ‘_shttpd_elog’ throws an exception...
openwsman-2.8.1/src/server/shttpd/auth.c:439:17: danger: ‘fopen(fname, "r")’ leaks here; was opened at [(1)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def201]
openwsman-2.8.1/src/server/shttpd/auth.c:439:17: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(fname, "r")’
openwsman-2.8.1/src/server/shttpd/auth.c:435:19: acquire_memory: allocated here
openwsman-2.8.1/src/server/shttpd/auth.c:435:12: branch_false: following ‘false’ branch...
openwsman-2.8.1/src/server/shttpd/auth.c:438:25: branch_false: ...to here
openwsman-2.8.1/src/server/shttpd/auth.c:438:17: branch_true: following ‘true’ branch...
openwsman-2.8.1/src/server/shttpd/auth.c:440:57: branch_true: ...to here
openwsman-2.8.1/src/server/shttpd/auth.c:439:17: throw: if ‘_shttpd_elog’ throws an exception...
openwsman-2.8.1/src/server/shttpd/auth.c:439:17: danger: ‘fopen(fname, "r")’ leaks here; was allocated at [(1)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def202]
openwsman-2.8.1/src/server/shttpd/auth.c:443:9: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(fname, "r")’
openwsman-2.8.1/src/server/shttpd/auth.c:420:1: enter_function: entry to ‘_shttpd_edit_passwords’
openwsman-2.8.1/src/server/shttpd/auth.c:435:19: acquire_resource: opened here
openwsman-2.8.1/src/server/shttpd/auth.c:435:12: branch_false: following ‘false’ branch...
openwsman-2.8.1/src/server/shttpd/auth.c:438:25: branch_false: ...to here
openwsman-2.8.1/src/server/shttpd/auth.c:438:17: branch_false: following ‘false’ branch...
openwsman-2.8.1/src/server/shttpd/auth.c:442:9: branch_false: ...to here
openwsman-2.8.1/src/server/shttpd/auth.c:469:12: branch_true: following ‘true’ branch (when ‘found == 0’)...
openwsman-2.8.1/src/server/shttpd/auth.c:470:17: branch_true: ...to here
openwsman-2.8.1/src/server/shttpd/auth.c:472:17: call_function: calling ‘md5’ from ‘_shttpd_edit_passwords’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def203]
openwsman-2.8.1/src/server/shttpd/auth.c:443:9: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(fname, "r")’
openwsman-2.8.1/src/server/shttpd/auth.c:420:1: enter_function: entry to ‘_shttpd_edit_passwords’
openwsman-2.8.1/src/server/shttpd/auth.c:435:19: acquire_memory: allocated here
openwsman-2.8.1/src/server/shttpd/auth.c:435:12: branch_false: following ‘false’ branch...
openwsman-2.8.1/src/server/shttpd/auth.c:438:25: branch_false: ...to here
openwsman-2.8.1/src/server/shttpd/auth.c:438:17: branch_false: following ‘false’ branch...
openwsman-2.8.1/src/server/shttpd/auth.c:442:9: branch_false: ...to here
openwsman-2.8.1/src/server/shttpd/auth.c:469:12: branch_true: following ‘true’ branch (when ‘found == 0’)...
openwsman-2.8.1/src/server/shttpd/auth.c:470:17: branch_true: ...to here
openwsman-2.8.1/src/server/shttpd/auth.c:472:17: call_function: calling ‘md5’ from ‘_shttpd_edit_passwords’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def204]
openwsman-2.8.1/src/server/shttpd/auth.c:446:16: warning[-Wanalyzer-null-argument]: use of NULL ‘fopen(fname, "r")’ where non-null expected
openwsman-2.8.1/src/server/shttpd/auth.c:435:19: acquire_memory: allocated here
openwsman-2.8.1/src/server/shttpd/auth.c:435:12: release_memory: assuming ‘fopen(fname, "r")’ is NULL
openwsman-2.8.1/src/server/shttpd/auth.c:435:12: branch_true: following ‘true’ branch...
openwsman-2.8.1/src/server/shttpd/auth.c:437:59: branch_true: ...to here
openwsman-2.8.1/src/server/shttpd/auth.c:446:16: danger: argument 3 (‘fopen(fname, "r")’) NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-688): [#def205]
openwsman-2.8.1/src/server/shttpd/auth.c:464:32: warning[-Wanalyzer-null-argument]: use of NULL ‘fp2’ where non-null expected
openwsman-2.8.1/src/server/shttpd/auth.c:435:12: branch_false: following ‘false’ branch...
openwsman-2.8.1/src/server/shttpd/auth.c:438:25: branch_false: ...to here
openwsman-2.8.1/src/server/shttpd/auth.c:438:17: branch_true: following ‘true’ branch...
openwsman-2.8.1/src/server/shttpd/auth.c:440:57: branch_true: ...to here
openwsman-2.8.1/src/server/shttpd/auth.c:446:16: branch_true: following ‘true’ branch...
openwsman-2.8.1/src/server/shttpd/auth.c:447:17: branch_true: ...to here
openwsman-2.8.1/src/server/shttpd/auth.c:448:20: branch_false: following ‘false’ branch...
openwsman-2.8.1/src/server/shttpd/auth.c:450:25: branch_false: ...to here
openwsman-2.8.1/src/server/shttpd/auth.c:452:20: branch_false: following ‘false’ branch...
openwsman-2.8.1/src/server/shttpd/auth.c:454:25: branch_false: ...to here
openwsman-2.8.1/src/server/shttpd/auth.c:464:32: danger: argument 2 (‘fp2’) NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-401): [#def206]
openwsman-2.8.1/src/server/shttpd/io_emb.c:178:43: warning[-Wanalyzer-malloc-leak]: leak of ‘e’
openwsman-2.8.1/src/server/shttpd/io_emb.c:177:18: acquire_memory: allocated here
openwsman-2.8.1/src/server/shttpd/io_emb.c:177:12: branch_true: following ‘true’ branch (when ‘e’ is non-NULL)...
openwsman-2.8.1/src/server/shttpd/io_emb.c:178:43: branch_true: ...to here
openwsman-2.8.1/src/server/shttpd/io_emb.c:178:43: throw: if ‘_shttpd_strdup’ throws an exception...
openwsman-2.8.1/src/server/shttpd/io_emb.c:178:43: danger: ‘e’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-401): [#def207]
openwsman-2.8.1/src/server/shttpd/io_emb.c:211: error[memleak]: Memory leak: auth.file_name
Error: CPPCHECK_WARNING (CWE-401): [#def208]
openwsman-2.8.1/src/server/shttpd/io_emb.c:211: error[memleak]: Memory leak: auth.uri
Error: COMPILER_WARNING (CWE-1164): [#def209]
openwsman-2.8.1/src/server/shttpd/shttpd.c:500:1: warning[-Wunused-function]: ‘find_index_file’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def210]
openwsman-2.8.1/src/server/shttpd/shttpd.c: scope_hint: At top level
openwsman-2.8.1/src/server/shttpd/shttpd.c:525:1: warning[-Wunused-function]: ‘get_path_info’ defined but not used
Error: COMPILER_WARNING (CWE-563): [#def211]
openwsman-2.8.1/src/server/shttpd/shttpd.c:553:40: warning[-Wunused-variable]: unused variable ‘buf’
Error: COMPILER_WARNING (CWE-563): [#def212]
openwsman-2.8.1/src/server/shttpd/shttpd.c:555:25: warning[-Wunused-variable]: unused variable ‘st’
Error: COMPILER_WARNING (CWE-563): [#def213]
openwsman-2.8.1/src/server/shttpd/shttpd.c: scope_hint: In function ‘decide_what_to_do’
openwsman-2.8.1/src/server/shttpd/shttpd.c:556:25: warning[-Wunused-variable]: unused variable ‘rc’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def214]
openwsman-2.8.1/src/server/shttpd/shttpd.c:825:17: warning[-Wanalyzer-malloc-leak]: leak of ‘c’
openwsman-2.8.1/src/server/shttpd/shttpd.c:1424:1: enter_function: entry to ‘set_inetd’
openwsman-2.8.1/src/server/shttpd/shttpd.c:1429:17: call_function: calling ‘shttpd_set_option’ from ‘set_inetd’
openwsman-2.8.1/src/server/shttpd/shttpd.c:1429:17: return_function: returning to ‘set_inetd’ from ‘shttpd_set_option’
openwsman-2.8.1/src/server/shttpd/shttpd.c:1431:17: call_function: calling ‘add_socket’ from ‘set_inetd’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def215]
openwsman-2.8.1/src/server/shttpd/shttpd.c:842:25: warning[-Wanalyzer-malloc-leak]: leak of ‘c’
openwsman-2.8.1/src/server/shttpd/shttpd.c:1678:1: enter_function: entry to ‘worker_function’
openwsman-2.8.1/src/server/shttpd/shttpd.c:1682:16: branch_true: following ‘true’ branch...
openwsman-2.8.1/src/server/shttpd/shttpd.c:1683:17: branch_true: ...to here
openwsman-2.8.1/src/server/shttpd/shttpd.c:1683:17: call_function: calling ‘poll_worker’ from ‘worker_function’
Error: CPPCHECK_WARNING (CWE-476): [#def216]
openwsman-2.8.1/src/server/shttpd/shttpd.c:858: error[ctunullpointer]: Null pointer dereference: ctx
Error: CPPCHECK_WARNING (CWE-476): [#def217]
openwsman-2.8.1/src/server/shttpd/shttpd.c:858: warning[nullPointer]: Possible null pointer dereference: ctx
Error: GCC_ANALYZER_WARNING (CWE-775): [#def218]
openwsman-2.8.1/src/server/shttpd/shttpd.c:1404:32: warning[-Wanalyzer-fd-leak]: leak of file descriptor
openwsman-2.8.1/src/server/shttpd/shttpd.c:1690:1: enter_function: entry to ‘set_workers’
openwsman-2.8.1/src/server/shttpd/shttpd.c:1701:12: branch_true: following ‘true’ branch...
openwsman-2.8.1/src/server/shttpd/shttpd.c:1702:20: branch_true: ...to here
openwsman-2.8.1/src/server/shttpd/shttpd.c:1710:24: call_function: calling ‘add_worker’ from ‘set_workers’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def219]
openwsman-2.8.1/src/server/shttpd/shttpd.c:1404:32: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sock’
openwsman-2.8.1/src/server/shttpd/shttpd.c:1690:1: enter_function: entry to ‘set_workers’
openwsman-2.8.1/src/server/shttpd/shttpd.c:1701:12: branch_true: following ‘true’ branch...
openwsman-2.8.1/src/server/shttpd/shttpd.c:1702:20: branch_true: ...to here
openwsman-2.8.1/src/server/shttpd/shttpd.c:1710:24: call_function: calling ‘add_worker’ from ‘set_workers’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def220]
openwsman-2.8.1/src/server/shttpd/shttpd.c:1404:32: warning[-Wanalyzer-malloc-leak]: leak of ‘worker’
openwsman-2.8.1/src/server/shttpd/shttpd.c:1690:1: enter_function: entry to ‘set_workers’
openwsman-2.8.1/src/server/shttpd/shttpd.c:1701:12: branch_true: following ‘true’ branch...
openwsman-2.8.1/src/server/shttpd/shttpd.c:1702:20: branch_true: ...to here
openwsman-2.8.1/src/server/shttpd/shttpd.c:1710:24: call_function: calling ‘add_worker’ from ‘set_workers’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def221]
openwsman-2.8.1/src/server/shttpd/shttpd.c:1409:16: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sock’
openwsman-2.8.1/src/server/shttpd/shttpd.c:1690:1: enter_function: entry to ‘set_workers’
openwsman-2.8.1/src/server/shttpd/shttpd.c:1701:12: branch_true: following ‘true’ branch...
openwsman-2.8.1/src/server/shttpd/shttpd.c:1702:20: branch_true: ...to here
openwsman-2.8.1/src/server/shttpd/shttpd.c:1710:24: call_function: calling ‘add_worker’ from ‘set_workers’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def222]
openwsman-2.8.1/src/server/shttpd/shttpd.c:1409:16: warning[-Wanalyzer-malloc-leak]: leak of ‘worker’
openwsman-2.8.1/src/server/shttpd/shttpd.c:1690:1: enter_function: entry to ‘set_workers’
openwsman-2.8.1/src/server/shttpd/shttpd.c:1701:12: branch_true: following ‘true’ branch...
openwsman-2.8.1/src/server/shttpd/shttpd.c:1702:20: branch_true: ...to here
openwsman-2.8.1/src/server/shttpd/shttpd.c:1710:24: call_function: calling ‘add_worker’ from ‘set_workers’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def223]
openwsman-2.8.1/src/server/shttpd/shttpd.c:1410:16: warning[-Wanalyzer-malloc-leak]: leak of ‘worker’
openwsman-2.8.1/src/server/shttpd/shttpd.c:1690:1: enter_function: entry to ‘set_workers’
openwsman-2.8.1/src/server/shttpd/shttpd.c:1701:12: branch_true: following ‘true’ branch...
openwsman-2.8.1/src/server/shttpd/shttpd.c:1702:20: branch_true: ...to here
openwsman-2.8.1/src/server/shttpd/shttpd.c:1710:24: call_function: calling ‘add_worker’ from ‘set_workers’
Error: COMPILER_WARNING (CWE-252): [#def224]
openwsman-2.8.1/src/server/shttpd/shttpd.c: scope_hint: In function ‘set_inetd’
openwsman-2.8.1/src/server/shttpd/shttpd.c:1430:24: warning[-Wunused-result]: ignoring return value of ‘freopen’ declared with attribute ‘warn_unused_result’
Error: COMPILER_WARNING (CWE-563): [#def225]
openwsman-2.8.1/src/server/shttpd/shttpd.c:1506:26: warning[-Wunused-variable]: unused variable ‘lib’
Error: COMPILER_WARNING (CWE-563): [#def226]
openwsman-2.8.1/src/server/shttpd/shttpd.c: scope_hint: In function ‘set_ssl’
openwsman-2.8.1/src/server/shttpd/shttpd.c:1507:26: warning[-Wunused-variable]: unused variable ‘fp’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def227]
openwsman-2.8.1/src/server/shttpd/shttpd.c:1651:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘worker’
openwsman-2.8.1/src/server/shttpd/shttpd.c:1690:1: enter_function: entry to ‘set_workers’
openwsman-2.8.1/src/server/shttpd/shttpd.c:1701:12: branch_true: following ‘true’ branch...
openwsman-2.8.1/src/server/shttpd/shttpd.c:1702:20: branch_true: ...to here
openwsman-2.8.1/src/server/shttpd/shttpd.c:1710:24: call_function: calling ‘add_worker’ from ‘set_workers’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def228]
openwsman-2.8.1/src/server/shttpd/shttpd.c:1793:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
openwsman-2.8.1/src/server/shttpd/shttpd.c:1787:1: enter_function: entry to ‘shttpd_set_option’
openwsman-2.8.1/src/server/shttpd/shttpd.c:1789:38: call_function: calling ‘find_opt’ from ‘shttpd_set_option’
openwsman-2.8.1/src/server/shttpd/shttpd.c:1789:38: return_function: returning to ‘shttpd_set_option’ from ‘find_opt’
openwsman-2.8.1/src/server/shttpd/shttpd.c:1793:13: danger: dereference of NULL ‘find_opt(opt)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def229]
openwsman-2.8.1/src/server/shttpd/shttpd.c:1883:26: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
openwsman-2.8.1/src/server/shttpd/shttpd.c:1878:1: enter_function: entry to ‘set_opt’
openwsman-2.8.1/src/server/shttpd/shttpd.c:1882:13: call_function: calling ‘find_opt’ from ‘set_opt’
openwsman-2.8.1/src/server/shttpd/shttpd.c:1882:13: return_function: returning to ‘set_opt’ from ‘find_opt’
openwsman-2.8.1/src/server/shttpd/shttpd.c:1883:26: danger: dereference of NULL ‘find_opt(opt)’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def230]
openwsman-2.8.1/src/server/shttpd/shttpd.c:1926:17: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(config_file, "r")’
openwsman-2.8.1/src/server/shttpd/shttpd.c:1902:12: branch_false: following ‘false’ branch...
openwsman-2.8.1/src/server/shttpd/shttpd.c:1905:19: branch_false: ...to here
openwsman-2.8.1/src/server/shttpd/shttpd.c:1905:19: branch_false: following ‘false’ branch...
openwsman-2.8.1/src/server/shttpd/shttpd.c:1910:26: branch_false: ...to here
openwsman-2.8.1/src/server/shttpd/shttpd.c:1917:14: acquire_resource: opened here
openwsman-2.8.1/src/server/shttpd/shttpd.c:1920:12: branch_false: following ‘false’ branch...
openwsman-2.8.1/src/server/shttpd/shttpd.c:1926:17: branch_false: ...to here
openwsman-2.8.1/src/server/shttpd/shttpd.c:1926:17: throw: if ‘_shttpd_elog’ throws an exception...
openwsman-2.8.1/src/server/shttpd/shttpd.c:1926:17: danger: ‘fopen(config_file, "r")’ leaks here; was opened at [(5)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def231]
openwsman-2.8.1/src/server/shttpd/shttpd.c:1926:17: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(config_file, "r")’
openwsman-2.8.1/src/server/shttpd/shttpd.c:1902:12: branch_false: following ‘false’ branch...
openwsman-2.8.1/src/server/shttpd/shttpd.c:1905:19: branch_false: ...to here
openwsman-2.8.1/src/server/shttpd/shttpd.c:1905:19: branch_false: following ‘false’ branch...
openwsman-2.8.1/src/server/shttpd/shttpd.c:1910:26: branch_false: ...to here
openwsman-2.8.1/src/server/shttpd/shttpd.c:1917:14: acquire_memory: allocated here
openwsman-2.8.1/src/server/shttpd/shttpd.c:1920:12: branch_false: following ‘false’ branch...
openwsman-2.8.1/src/server/shttpd/shttpd.c:1926:17: branch_false: ...to here
openwsman-2.8.1/src/server/shttpd/shttpd.c:1926:17: throw: if ‘_shttpd_elog’ throws an exception...
openwsman-2.8.1/src/server/shttpd/shttpd.c:1926:17: danger: ‘fopen(config_file, "r")’ leaks here; was allocated at [(5)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def232]
openwsman-2.8.1/src/server/shttpd/shttpd.c:1934:29: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(config_file, "r")’
openwsman-2.8.1/src/server/shttpd/shttpd.c:1902:12: branch_false: following ‘false’ branch...
openwsman-2.8.1/src/server/shttpd/shttpd.c:1905:19: branch_false: ...to here
openwsman-2.8.1/src/server/shttpd/shttpd.c:1905:19: branch_false: following ‘false’ branch...
openwsman-2.8.1/src/server/shttpd/shttpd.c:1910:26: branch_false: ...to here
openwsman-2.8.1/src/server/shttpd/shttpd.c:1917:14: acquire_resource: opened here
openwsman-2.8.1/src/server/shttpd/shttpd.c:1920:12: branch_false: following ‘false’ branch...
openwsman-2.8.1/src/server/shttpd/shttpd.c:1926:17: branch_false: ...to here
openwsman-2.8.1/src/server/shttpd/shttpd.c:1929:24: branch_true: following ‘true’ branch...
openwsman-2.8.1/src/server/shttpd/shttpd.c:1931:25: branch_true: ...to here
openwsman-2.8.1/src/server/shttpd/shttpd.c:1938:33: throw: if ‘_shttpd_elog’ throws an exception...
openwsman-2.8.1/src/server/shttpd/shttpd.c:1934:29: danger: ‘fopen(config_file, "r")’ leaks here; was opened at [(5)](sarif:/runs/0/results/14/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def233]
openwsman-2.8.1/src/server/shttpd/shttpd.c:1934:29: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(config_file, "r")’
openwsman-2.8.1/src/server/shttpd/shttpd.c:1902:12: branch_false: following ‘false’ branch...
openwsman-2.8.1/src/server/shttpd/shttpd.c:1905:19: branch_false: ...to here
openwsman-2.8.1/src/server/shttpd/shttpd.c:1905:19: branch_false: following ‘false’ branch...
openwsman-2.8.1/src/server/shttpd/shttpd.c:1910:26: branch_false: ...to here
openwsman-2.8.1/src/server/shttpd/shttpd.c:1917:14: acquire_memory: allocated here
openwsman-2.8.1/src/server/shttpd/shttpd.c:1920:12: branch_false: following ‘false’ branch...
openwsman-2.8.1/src/server/shttpd/shttpd.c:1926:17: branch_false: ...to here
openwsman-2.8.1/src/server/shttpd/shttpd.c:1929:24: branch_true: following ‘true’ branch...
openwsman-2.8.1/src/server/shttpd/shttpd.c:1931:25: branch_true: ...to here
openwsman-2.8.1/src/server/shttpd/shttpd.c:1938:33: throw: if ‘_shttpd_elog’ throws an exception...
openwsman-2.8.1/src/server/shttpd/shttpd.c:1934:29: danger: ‘fopen(config_file, "r")’ leaks here; was allocated at [(5)](sarif:/runs/0/results/15/codeFlows/0/threadFlows/0/locations/4)
Error: COMPILER_WARNING: [#def234]
openwsman-2.8.1/src/server/shttpd/shttpd.c: scope_hint: In function ‘shttpd_init’
openwsman-2.8.1/src/server/shttpd/shttpd.c:1956:34: warning[-Wunused-but-set-variable=]: variable ‘tm’ set but not used
Error: GCC_ANALYZER_WARNING (CWE-401): [#def235]
openwsman-2.8.1/src/server/shttpd/shttpd.c:1973:25: warning[-Wanalyzer-malloc-leak]: leak of ‘ctx’
openwsman-2.8.1/src/server/shttpd/shttpd.c:1959:20: acquire_memory: allocated here
openwsman-2.8.1/src/server/shttpd/shttpd.c:1959:12: branch_false: following ‘false’ branch (when ‘ctx’ is non-NULL)...
openwsman-2.8.1/src/server/shttpd/shttpd.c:1962:9: branch_false: ...to here
openwsman-2.8.1/src/server/shttpd/shttpd.c:1971:33: branch_true: following ‘true’ branch...
openwsman-2.8.1/src/server/shttpd/shttpd.c:1972:42: branch_true: ...to here
openwsman-2.8.1/src/server/shttpd/shttpd.c:1972:42: branch_true: following ‘true’ branch...
openwsman-2.8.1/src/server/shttpd/shttpd.c:1973:25: branch_true: ...to here
openwsman-2.8.1/src/server/shttpd/shttpd.c:1973:25: throw: if ‘_shttpd_strdup’ throws an exception...
openwsman-2.8.1/src/server/shttpd/shttpd.c:1973:25: danger: ‘ctx’ leaks here; was allocated at [(1)](sarif:/runs/0/results/20/codeFlows/0/threadFlows/0/locations/0)
Error: COMPILER_WARNING (CWE-563): [#def236]
openwsman-2.8.1/src/server/wsmand-listener.c: scope_hint: At top level
openwsman-2.8.1/src/server/wsmand-listener.c:96:26: warning[-Wunused-variable]: ‘threads’ defined but not used
Error: COMPILER_WARNING (CWE-704): [#def237]
openwsman-2.8.1/src/server/wsmand-listener.c: scope_hint: In function ‘get_request_encoding’
openwsman-2.8.1/src/server/wsmand-listener.c:132:24: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def238]
openwsman-2.8.1/src/server/wsmand-listener.c:132:24: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: CPPCHECK_WARNING (CWE-476): [#def239]
openwsman-2.8.1/src/server/wsmand-listener.c:179: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: state
Error: CPPCHECK_WARNING (CWE-476): [#def240]
openwsman-2.8.1/src/server/wsmand-listener.c:482: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: tmps
Error: GCC_ANALYZER_WARNING (CWE-401): [#def241]
openwsman-2.8.1/src/server/wsmand-listener.c:482:45: warning[-Wanalyzer-malloc-leak]: leak of ‘tmps’
openwsman-2.8.1/src/server/wsmand-listener.c:473:12: branch_false: following ‘false’ branch...
openwsman-2.8.1/src/server/wsmand-listener.c:476:13: branch_false: ...to here
openwsman-2.8.1/src/server/wsmand-listener.c:481:16: acquire_memory: allocated here
openwsman-2.8.1/src/server/wsmand-listener.c:482:45: throw: if ‘wsmand_options_get_use_ssl’ throws an exception...
openwsman-2.8.1/src/server/wsmand-listener.c:482:45: danger: ‘tmps’ leaks here; was allocated at [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2)
Error: CPPCHECK_WARNING (CWE-758): [#def242]
openwsman-2.8.1/src/server/wsmand-listener.c:638: error[missingReturn]: Found an exit path from function with non-void return type that has missing return statement
Error: COMPILER_WARNING (CWE-563): [#def243]
openwsman-2.8.1/src/server/wsmand-listener.c:644:13: warning[-Wunused-variable]: unused variable ‘lsn’
Error: COMPILER_WARNING (CWE-563): [#def244]
openwsman-2.8.1/src/server/wsmand-listener.c:644:24: warning[-Wunused-variable]: unused variable ‘sock’
Error: COMPILER_WARNING (CWE-563): [#def245]
openwsman-2.8.1/src/server/wsmand-listener.c:645:30: warning[-Wunused-variable]: unused variable ‘thread’
Error: COMPILER_WARNING (CWE-563): [#def246]
openwsman-2.8.1/src/server/wsmand-listener.c:651:13: warning[-Wunused-variable]: unused variable ‘use_ssl’
Error: COMPILER_WARNING (CWE-563): [#def247]
openwsman-2.8.1/src/server/wsmand-listener.c: scope_hint: In function ‘wsmand_start_server’
openwsman-2.8.1/src/server/wsmand-listener.c:657:13: warning[-Wunused-variable]: unused variable ‘num_threads’
Error: GCC_ANALYZER_WARNING (CWE-910): [#def248]
openwsman-2.8.1/src/server/wsmand.c:156:22: warning[-Wanalyzer-fd-use-after-close]: ‘dup’ on closed file descriptor ‘1’
openwsman-2.8.1/src/server/wsmand.c:147:17: release_resource: closed here
openwsman-2.8.1/src/server/wsmand.c:152:17: branch_true: following ‘true’ branch...
openwsman-2.8.1/src/server/wsmand.c:154:17: branch_true: ...to here
openwsman-2.8.1/src/server/wsmand.c:156:22: danger: ‘dup’ on closed file descriptor ‘1’; ‘close’ was at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def249]
openwsman-2.8.1/src/server/wsmand.c:172:33: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
openwsman-2.8.1/src/server/wsmand.c:194:13: enter_function: entry to ‘daemonize’
openwsman-2.8.1/src/server/wsmand.c:203:9: branch_true: following ‘true’ branch (when ‘i == 0’)...
openwsman-2.8.1/src/server/wsmand.c:205:13: branch_true: ...to here
openwsman-2.8.1/src/server/wsmand.c:205:12: branch_false: following ‘false’ branch...
openwsman-2.8.1/src/server/wsmand.c:209:19: branch_false: ...to here
openwsman-2.8.1/src/server/wsmand.c:214:12: branch_false: following ‘false’ branch (when ‘fork_rv <= 0’)...
openwsman-2.8.1/src/server/wsmand.c:218:9: branch_false: ...to here
openwsman-2.8.1/src/server/wsmand.c:226:9: branch_true: following ‘true’ branch...
openwsman-2.8.1/src/server/wsmand.c:230:14: branch_true: ...to here
openwsman-2.8.1/src/server/wsmand.c:232:9: branch_true: following ‘true’ branch...
openwsman-2.8.1/src/server/wsmand.c:234:14: branch_true: ...to here
openwsman-2.8.1/src/server/wsmand.c:234:14: acquire_resource: opened here
openwsman-2.8.1/src/server/wsmand.c:235:9: branch_true: following ‘true’ branch (when ‘fd == 2’)...
openwsman-2.8.1/src/server/wsmand.c:237:19: branch_true: ...to here
openwsman-2.8.1/src/server/wsmand.c:240:9: call_function: calling ‘rc_write’ from ‘daemonize’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def250]
openwsman-2.8.1/src/server/wsmand.c:237:14: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
openwsman-2.8.1/src/server/wsmand.c:203:9: branch_true: following ‘true’ branch (when ‘i == 0’)...
openwsman-2.8.1/src/server/wsmand.c:205:13: branch_true: ...to here
openwsman-2.8.1/src/server/wsmand.c:205:12: branch_false: following ‘false’ branch...
openwsman-2.8.1/src/server/wsmand.c:209:19: branch_false: ...to here
openwsman-2.8.1/src/server/wsmand.c:214:12: branch_false: following ‘false’ branch (when ‘fork_rv <= 0’)...
openwsman-2.8.1/src/server/wsmand.c:218:9: branch_false: ...to here
openwsman-2.8.1/src/server/wsmand.c:226:9: branch_true: following ‘true’ branch...
openwsman-2.8.1/src/server/wsmand.c:230:14: branch_true: ...to here
openwsman-2.8.1/src/server/wsmand.c:232:9: branch_true: following ‘true’ branch...
openwsman-2.8.1/src/server/wsmand.c:234:14: branch_true: ...to here
openwsman-2.8.1/src/server/wsmand.c:234:14: acquire_resource: opened here
openwsman-2.8.1/src/server/wsmand.c:235:9: branch_true: following ‘true’ branch (when ‘fd == 2’)...
openwsman-2.8.1/src/server/wsmand.c:237:19: branch_true: ...to here
openwsman-2.8.1/src/server/wsmand.c:237:14: throw: if ‘open’ throws an exception...
openwsman-2.8.1/src/server/wsmand.c:237:14: danger: ‘fd’ leaks here; was opened at [(11)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def251]
openwsman-2.8.1/src/server/wsmand.c:237:19: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
openwsman-2.8.1/src/server/wsmand.c:203:9: branch_true: following ‘true’ branch (when ‘i == 0’)...
openwsman-2.8.1/src/server/wsmand.c:205:13: branch_true: ...to here
openwsman-2.8.1/src/server/wsmand.c:205:12: branch_false: following ‘false’ branch...
openwsman-2.8.1/src/server/wsmand.c:209:19: branch_false: ...to here
openwsman-2.8.1/src/server/wsmand.c:214:12: branch_false: following ‘false’ branch (when ‘fork_rv <= 0’)...
openwsman-2.8.1/src/server/wsmand.c:218:9: branch_false: ...to here
openwsman-2.8.1/src/server/wsmand.c:226:9: branch_true: following ‘true’ branch...
openwsman-2.8.1/src/server/wsmand.c:230:14: branch_true: ...to here
openwsman-2.8.1/src/server/wsmand.c:232:9: branch_true: following ‘true’ branch...
openwsman-2.8.1/src/server/wsmand.c:234:14: branch_true: ...to here
openwsman-2.8.1/src/server/wsmand.c:234:14: acquire_resource: opened here
openwsman-2.8.1/src/server/wsmand.c:235:9: branch_true: following ‘true’ branch (when ‘fd == 2’)...
openwsman-2.8.1/src/server/wsmand.c:237:19: branch_true: ...to here
openwsman-2.8.1/src/server/wsmand.c:237:19: throw: if ‘wsmand_options_get_pid_file’ throws an exception...
openwsman-2.8.1/src/server/wsmand.c:237:19: danger: ‘fd’ leaks here; was opened at [(11)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def252]
openwsman-2.8.1/src/server/wsmand.c:239:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
openwsman-2.8.1/src/server/wsmand.c:203:9: branch_true: following ‘true’ branch (when ‘i == 0’)...
openwsman-2.8.1/src/server/wsmand.c:205:13: branch_true: ...to here
openwsman-2.8.1/src/server/wsmand.c:205:12: branch_false: following ‘false’ branch...
openwsman-2.8.1/src/server/wsmand.c:209:19: branch_false: ...to here
openwsman-2.8.1/src/server/wsmand.c:214:12: branch_false: following ‘false’ branch (when ‘fork_rv <= 0’)...
openwsman-2.8.1/src/server/wsmand.c:218:9: branch_false: ...to here
openwsman-2.8.1/src/server/wsmand.c:226:9: branch_true: following ‘true’ branch...
openwsman-2.8.1/src/server/wsmand.c:230:14: branch_true: ...to here
openwsman-2.8.1/src/server/wsmand.c:232:9: branch_true: following ‘true’ branch...
openwsman-2.8.1/src/server/wsmand.c:234:14: branch_true: ...to here
openwsman-2.8.1/src/server/wsmand.c:234:14: acquire_resource: opened here
openwsman-2.8.1/src/server/wsmand.c:235:9: branch_true: following ‘true’ branch (when ‘fd == 2’)...
openwsman-2.8.1/src/server/wsmand.c:237:19: branch_true: ...to here
openwsman-2.8.1/src/server/wsmand.c:239:15: throw: if ‘u_strdup_printf’ throws an exception...
openwsman-2.8.1/src/server/wsmand.c:239:15: danger: ‘fd’ leaks here; was opened at [(11)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def253]
openwsman-2.8.1/src/server/wsmand.c:241:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
openwsman-2.8.1/src/server/wsmand.c:203:9: branch_true: following ‘true’ branch (when ‘i == 0’)...
openwsman-2.8.1/src/server/wsmand.c:205:13: branch_true: ...to here
openwsman-2.8.1/src/server/wsmand.c:205:12: branch_false: following ‘false’ branch...
openwsman-2.8.1/src/server/wsmand.c:209:19: branch_false: ...to here
openwsman-2.8.1/src/server/wsmand.c:214:12: branch_false: following ‘false’ branch (when ‘fork_rv <= 0’)...
openwsman-2.8.1/src/server/wsmand.c:218:9: branch_false: ...to here
openwsman-2.8.1/src/server/wsmand.c:226:9: branch_true: following ‘true’ branch...
openwsman-2.8.1/src/server/wsmand.c:230:14: branch_true: ...to here
openwsman-2.8.1/src/server/wsmand.c:232:9: branch_true: following ‘true’ branch...
openwsman-2.8.1/src/server/wsmand.c:234:14: branch_true: ...to here
openwsman-2.8.1/src/server/wsmand.c:234:14: acquire_resource: opened here
openwsman-2.8.1/src/server/wsmand.c:235:9: branch_true: following ‘true’ branch (when ‘fd == 2’)...
openwsman-2.8.1/src/server/wsmand.c:237:19: branch_true: ...to here
openwsman-2.8.1/src/server/wsmand.c:241:9: throw: if ‘u_free’ throws an exception...
openwsman-2.8.1/src/server/wsmand.c:241:9: danger: ‘fd’ leaks here; was opened at [(11)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def254]
openwsman-2.8.1/src/server/wsmand.c:242:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
openwsman-2.8.1/src/server/wsmand.c:203:9: branch_true: following ‘true’ branch (when ‘i == 0’)...
openwsman-2.8.1/src/server/wsmand.c:205:13: branch_true: ...to here
openwsman-2.8.1/src/server/wsmand.c:205:12: branch_false: following ‘false’ branch...
openwsman-2.8.1/src/server/wsmand.c:209:19: branch_false: ...to here
openwsman-2.8.1/src/server/wsmand.c:214:12: branch_false: following ‘false’ branch (when ‘fork_rv <= 0’)...
openwsman-2.8.1/src/server/wsmand.c:218:9: branch_false: ...to here
openwsman-2.8.1/src/server/wsmand.c:226:9: branch_true: following ‘true’ branch...
openwsman-2.8.1/src/server/wsmand.c:230:14: branch_true: ...to here
openwsman-2.8.1/src/server/wsmand.c:232:9: branch_true: following ‘true’ branch...
openwsman-2.8.1/src/server/wsmand.c:234:14: branch_true: ...to here
openwsman-2.8.1/src/server/wsmand.c:234:14: acquire_resource: opened here
openwsman-2.8.1/src/server/wsmand.c:235:9: branch_true: following ‘true’ branch (when ‘fd == 2’)...
openwsman-2.8.1/src/server/wsmand.c:237:19: branch_true: ...to here
openwsman-2.8.1/src/server/wsmand.c:242:9: throw: if ‘close’ throws an exception...
openwsman-2.8.1/src/server/wsmand.c:242:9: danger: ‘fd’ leaks here; was opened at [(11)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def255]
openwsman-2.8.1/src/server/wsmand.c:247:1: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
openwsman-2.8.1/src/server/wsmand.c:203:9: branch_true: following ‘true’ branch (when ‘i == 0’)...
openwsman-2.8.1/src/server/wsmand.c:205:13: branch_true: ...to here
openwsman-2.8.1/src/server/wsmand.c:205:12: branch_false: following ‘false’ branch...
openwsman-2.8.1/src/server/wsmand.c:209:19: branch_false: ...to here
openwsman-2.8.1/src/server/wsmand.c:214:12: branch_false: following ‘false’ branch (when ‘fork_rv <= 0’)...
openwsman-2.8.1/src/server/wsmand.c:218:9: branch_false: ...to here
openwsman-2.8.1/src/server/wsmand.c:226:9: branch_true: following ‘true’ branch...
openwsman-2.8.1/src/server/wsmand.c:230:14: branch_true: ...to here
openwsman-2.8.1/src/server/wsmand.c:232:9: branch_true: following ‘true’ branch...
openwsman-2.8.1/src/server/wsmand.c:234:14: branch_true: ...to here
openwsman-2.8.1/src/server/wsmand.c:234:14: acquire_resource: opened here
openwsman-2.8.1/src/server/wsmand.c:235:9: branch_true: following ‘true’ branch (when ‘fd == 2’)...
openwsman-2.8.1/src/server/wsmand.c:237:19: branch_true: ...to here
openwsman-2.8.1/src/server/wsmand.c:247:1: danger: ‘fd’ leaks here; was opened at [(11)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/10)
Scan Properties
| analyzer-version-clippy | 1.92.0 |
| analyzer-version-cppcheck | 2.19.1 |
| analyzer-version-gcc | 16.0.0 |
| analyzer-version-gcc-analyzer | 16.0.0 |
| analyzer-version-shellcheck | 0.11.0 |
| analyzer-version-unicontrol | 0.0.2 |
| enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
| exit-code | 0 |
| host | ip-172-16-1-50.us-west-2.compute.internal |
| known-false-positives | /usr/share/csmock/known-false-positives.js |
| known-false-positives-rpm | known-false-positives-0.0.0.20250521.132812.g8eff701.main-1.el9.noarch |
| mock-config | fedora-rawhide-x86_64 |
| project-name | openwsman-2.8.1-11.fc44 |
| store-results-to | /tmp/tmpudk5va4p/openwsman-2.8.1-11.fc44.tar.xz |
| time-created | 2026-01-08 20:11:45 |
| time-finished | 2026-01-08 20:15:13 |
| tool | csmock |
| tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,cppcheck,clippy,shellcheck,unicontrol' '-o' '/tmp/tmpudk5va4p/openwsman-2.8.1-11.fc44.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpudk5va4p/openwsman-2.8.1-11.fc44.src.rpm' |
| tool-version | csmock-3.8.3.20251215.161544.g62de9a5-1.el9 |