rdma-core-59.0-4.fc44
List of Findings
Error: SHELLCHECK_WARNING (CWE-88): [#def1]
/usr/bin/dump_lfts.sh:8:19: error[SC2068]: Double quote array expansions to avoid re-splitting elements.
Error: SHELLCHECK_WARNING (CWE-88): [#def2]
/usr/bin/dump_mfts.sh:8:22: error[SC2068]: Double quote array expansions to avoid re-splitting elements.
Error: SHELLCHECK_WARNING (CWE-156): [#def3]
/usr/bin/ibcheckerrors:6:14: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING: [#def4]
/usr/bin/ibcheckerrors:16:17: warning[SC3048]: In POSIX sh, prefixing signal names with 'SIG' is undefined.
Error: SHELLCHECK_WARNING (CWE-563): [#def5]
/usr/bin/ibcheckerrors:22:1: warning[SC2034]: ntype appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def6]
/usr/bin/ibcheckerrors:23:1: warning[SC2034]: nodeguid appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-156): [#def7]
/usr/bin/ibcheckerrs:6:14: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING: [#def8]
/usr/bin/ibcheckerrs:20:8: warning[SC3037]: In POSIX sh, echo flags are undefined.
Error: SHELLCHECK_WARNING: [#def9]
/usr/bin/ibcheckerrs:29:7: warning[SC3037]: In POSIX sh, echo flags are undefined.
Error: SHELLCHECK_WARNING: [#def10]
/usr/bin/ibcheckerrs:143:15: warning[SC3037]: In POSIX sh, echo flags are undefined.
Error: SHELLCHECK_WARNING: [#def11]
/usr/bin/ibcheckerrs:148:8: warning[SC3037]: In POSIX sh, echo flags are undefined.
Error: SHELLCHECK_WARNING (CWE-563): [#def12]
/usr/bin/ibcheckerrs:152:2: warning[SC2034]: guid appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def13]
/usr/bin/ibcheckerrs:155:7: warning[SC2034]: temp appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING: [#def14]
/usr/bin/ibcheckerrs:156:8: warning[SC3037]: In POSIX sh, echo flags are undefined.
Error: SHELLCHECK_WARNING: [#def15]
/usr/bin/ibcheckerrs:168:8: warning[SC3037]: In POSIX sh, echo flags are undefined.
Error: SHELLCHECK_WARNING: [#def16]
/usr/bin/ibcheckerrs:231:8: warning[SC3037]: In POSIX sh, echo flags are undefined.
Error: SHELLCHECK_WARNING: [#def17]
/usr/bin/ibcheckerrs:236:7: warning[SC3037]: In POSIX sh, echo flags are undefined.
Error: SHELLCHECK_WARNING (CWE-156): [#def18]
/usr/bin/ibchecknet:6:14: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING: [#def19]
/usr/bin/ibchecknet:16:17: warning[SC3048]: In POSIX sh, prefixing signal names with 'SIG' is undefined.
Error: SHELLCHECK_WARNING (CWE-563): [#def20]
/usr/bin/ibchecknet:21:1: warning[SC2034]: oldlid appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-457): [#def21]
/usr/bin/ibchecknet:82:74: warning[SC2154]: brief is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-156): [#def22]
/usr/bin/ibchecknode:6:14: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING: [#def23]
/usr/bin/ibchecknode:19:8: warning[SC3037]: In POSIX sh, echo flags are undefined.
Error: SHELLCHECK_WARNING: [#def24]
/usr/bin/ibchecknode:28:7: warning[SC3037]: In POSIX sh, echo flags are undefined.
Error: SHELLCHECK_WARNING: [#def25]
/usr/bin/ibchecknode:78:15: warning[SC3037]: In POSIX sh, echo flags are undefined.
Error: SHELLCHECK_WARNING: [#def26]
/usr/bin/ibchecknode:83:8: warning[SC3037]: In POSIX sh, echo flags are undefined.
Error: SHELLCHECK_WARNING (CWE-563): [#def27]
/usr/bin/ibchecknode:89:7: warning[SC2034]: temp appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING: [#def28]
/usr/bin/ibchecknode:90:8: warning[SC3037]: In POSIX sh, echo flags are undefined.
Error: SHELLCHECK_WARNING: [#def29]
/usr/bin/ibchecknode:100:8: warning[SC3037]: In POSIX sh, echo flags are undefined.
Error: SHELLCHECK_WARNING: [#def30]
/usr/bin/ibchecknode:105:7: warning[SC3037]: In POSIX sh, echo flags are undefined.
Error: SHELLCHECK_WARNING (CWE-156): [#def31]
/usr/bin/ibcheckport:6:14: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING: [#def32]
/usr/bin/ibcheckport:19:8: warning[SC3037]: In POSIX sh, echo flags are undefined.
Error: SHELLCHECK_WARNING: [#def33]
/usr/bin/ibcheckport:28:7: warning[SC3037]: In POSIX sh, echo flags are undefined.
Error: SHELLCHECK_WARNING: [#def34]
/usr/bin/ibcheckport:80:15: warning[SC3037]: In POSIX sh, echo flags are undefined.
Error: SHELLCHECK_WARNING: [#def35]
/usr/bin/ibcheckport:85:8: warning[SC3037]: In POSIX sh, echo flags are undefined.
Error: SHELLCHECK_WARNING (CWE-563): [#def36]
/usr/bin/ibcheckport:89:2: warning[SC2034]: guid appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def37]
/usr/bin/ibcheckport:92:7: warning[SC2034]: temp appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING: [#def38]
/usr/bin/ibcheckport:93:8: warning[SC3037]: In POSIX sh, echo flags are undefined.
Error: SHELLCHECK_WARNING (CWE-477): [#def39]
/usr/bin/ibcheckport:101:19: warning[SC2166]: Prefer [ p ] && [ q ] as [ p -a q ] is not well defined.
Error: SHELLCHECK_WARNING: [#def40]
/usr/bin/ibcheckport:101:33: warning[SC3014]: In POSIX sh, == in place of = is undefined.
Error: SHELLCHECK_WARNING: [#def41]
/usr/bin/ibcheckport:149:8: warning[SC3037]: In POSIX sh, echo flags are undefined.
Error: SHELLCHECK_WARNING: [#def42]
/usr/bin/ibcheckport:154:7: warning[SC3037]: In POSIX sh, echo flags are undefined.
Error: SHELLCHECK_WARNING (CWE-156): [#def43]
/usr/bin/ibcheckportstate:6:14: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING: [#def44]
/usr/bin/ibcheckportstate:19:8: warning[SC3037]: In POSIX sh, echo flags are undefined.
Error: SHELLCHECK_WARNING: [#def45]
/usr/bin/ibcheckportstate:28:7: warning[SC3037]: In POSIX sh, echo flags are undefined.
Error: SHELLCHECK_WARNING: [#def46]
/usr/bin/ibcheckportstate:80:15: warning[SC3037]: In POSIX sh, echo flags are undefined.
Error: SHELLCHECK_WARNING: [#def47]
/usr/bin/ibcheckportstate:85:8: warning[SC3037]: In POSIX sh, echo flags are undefined.
Error: SHELLCHECK_WARNING (CWE-563): [#def48]
/usr/bin/ibcheckportstate:89:2: warning[SC2034]: guid appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def49]
/usr/bin/ibcheckportstate:92:7: warning[SC2034]: temp appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING: [#def50]
/usr/bin/ibcheckportstate:93:8: warning[SC3037]: In POSIX sh, echo flags are undefined.
Error: SHELLCHECK_WARNING: [#def51]
/usr/bin/ibcheckportstate:136:8: warning[SC3037]: In POSIX sh, echo flags are undefined.
Error: SHELLCHECK_WARNING: [#def52]
/usr/bin/ibcheckportstate:141:7: warning[SC3037]: In POSIX sh, echo flags are undefined.
Error: SHELLCHECK_WARNING (CWE-156): [#def53]
/usr/bin/ibcheckportwidth:6:14: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING: [#def54]
/usr/bin/ibcheckportwidth:19:8: warning[SC3037]: In POSIX sh, echo flags are undefined.
Error: SHELLCHECK_WARNING: [#def55]
/usr/bin/ibcheckportwidth:28:7: warning[SC3037]: In POSIX sh, echo flags are undefined.
Error: SHELLCHECK_WARNING: [#def56]
/usr/bin/ibcheckportwidth:80:15: warning[SC3037]: In POSIX sh, echo flags are undefined.
Error: SHELLCHECK_WARNING: [#def57]
/usr/bin/ibcheckportwidth:85:8: warning[SC3037]: In POSIX sh, echo flags are undefined.
Error: SHELLCHECK_WARNING (CWE-563): [#def58]
/usr/bin/ibcheckportwidth:89:2: warning[SC2034]: guid appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def59]
/usr/bin/ibcheckportwidth:92:7: warning[SC2034]: temp appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING: [#def60]
/usr/bin/ibcheckportwidth:93:8: warning[SC3037]: In POSIX sh, echo flags are undefined.
Error: SHELLCHECK_WARNING: [#def61]
/usr/bin/ibcheckportwidth:134:8: warning[SC3037]: In POSIX sh, echo flags are undefined.
Error: SHELLCHECK_WARNING: [#def62]
/usr/bin/ibcheckportwidth:139:7: warning[SC3037]: In POSIX sh, echo flags are undefined.
Error: SHELLCHECK_WARNING (CWE-156): [#def63]
/usr/bin/ibcheckstate:6:14: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING: [#def64]
/usr/bin/ibcheckstate:16:17: warning[SC3048]: In POSIX sh, prefixing signal names with 'SIG' is undefined.
Error: SHELLCHECK_WARNING (CWE-563): [#def65]
/usr/bin/ibcheckstate:21:1: warning[SC2034]: ntype appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def66]
/usr/bin/ibcheckstate:22:1: warning[SC2034]: nodeguid appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def67]
/usr/bin/ibcheckstate:23:1: warning[SC2034]: oldlid appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-156): [#def68]
/usr/bin/ibcheckwidth:6:14: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING: [#def69]
/usr/bin/ibcheckwidth:16:17: warning[SC3048]: In POSIX sh, prefixing signal names with 'SIG' is undefined.
Error: SHELLCHECK_WARNING (CWE-563): [#def70]
/usr/bin/ibcheckwidth:21:1: warning[SC2034]: ntype appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def71]
/usr/bin/ibcheckwidth:22:1: warning[SC2034]: nodeguid appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def72]
/usr/bin/ibcheckwidth:23:1: warning[SC2034]: oldlid appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-156): [#def73]
/usr/bin/ibclearcounters:6:14: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING: [#def74]
/usr/bin/ibclearcounters:16:17: warning[SC3048]: In POSIX sh, prefixing signal names with 'SIG' is undefined.
Error: SHELLCHECK_WARNING (CWE-563): [#def75]
/usr/bin/ibclearcounters:19:1: warning[SC2034]: verbose appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def76]
/usr/bin/ibclearcounters:20:1: warning[SC2034]: v appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-156): [#def77]
/usr/bin/ibclearerrors:6:14: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING: [#def78]
/usr/bin/ibclearerrors:16:17: warning[SC3048]: In POSIX sh, prefixing signal names with 'SIG' is undefined.
Error: SHELLCHECK_WARNING (CWE-563): [#def79]
/usr/bin/ibclearerrors:19:1: warning[SC2034]: verbose appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def80]
/usr/bin/ibclearerrors:20:1: warning[SC2034]: v appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def81]
/usr/bin/ibclearerrors:21:1: warning[SC2034]: oldlid appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-156): [#def82]
/usr/bin/ibdatacounters:6:14: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING: [#def83]
/usr/bin/ibdatacounters:16:17: warning[SC3048]: In POSIX sh, prefixing signal names with 'SIG' is undefined.
Error: SHELLCHECK_WARNING (CWE-563): [#def84]
/usr/bin/ibdatacounters:22:1: warning[SC2034]: ntype appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def85]
/usr/bin/ibdatacounters:23:1: warning[SC2034]: nodeguid appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-156): [#def86]
/usr/bin/ibdatacounts:6:14: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING: [#def87]
/usr/bin/ibdatacounts:20:8: warning[SC3037]: In POSIX sh, echo flags are undefined.
Error: SHELLCHECK_WARNING: [#def88]
/usr/bin/ibdatacounts:29:7: warning[SC3037]: In POSIX sh, echo flags are undefined.
Error: SHELLCHECK_WARNING: [#def89]
/usr/bin/ibdatacounts:99:8: warning[SC3037]: In POSIX sh, echo flags are undefined.
Error: SHELLCHECK_WARNING (CWE-563): [#def90]
/usr/bin/ibdatacounts:103:2: warning[SC2034]: guid appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def91]
/usr/bin/ibdatacounts:106:7: warning[SC2034]: temp appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING: [#def92]
/usr/bin/ibdatacounts:107:8: warning[SC3037]: In POSIX sh, echo flags are undefined.
Error: SHELLCHECK_WARNING: [#def93]
/usr/bin/ibdatacounts:116:15: warning[SC3037]: In POSIX sh, echo flags are undefined.
Error: SHELLCHECK_WARNING: [#def94]
/usr/bin/ibdatacounts:164:8: warning[SC3037]: In POSIX sh, echo flags are undefined.
Error: SHELLCHECK_WARNING: [#def95]
/usr/bin/ibdatacounts:169:7: warning[SC3037]: In POSIX sh, echo flags are undefined.
Error: SHELLCHECK_WARNING (CWE-156): [#def96]
/usr/bin/ibhosts:6:14: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-88): [#def97]
/usr/bin/ibnodes:5:17: error[SC2068]: Double quote array expansions to avoid re-splitting elements.
Error: SHELLCHECK_WARNING (CWE-88): [#def98]
/usr/bin/ibnodes:5:40: error[SC2068]: Double quote array expansions to avoid re-splitting elements.
Error: SHELLCHECK_WARNING (CWE-156): [#def99]
/usr/bin/ibrouters:6:14: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-569): [#def100]
/usr/bin/ibstatus:20:23: warning[SC2048]: Use "$@" (with quotes) to prevent whitespace problems.
Error: SHELLCHECK_WARNING (CWE-156): [#def101]
/usr/bin/ibstatus:28:24: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-156): [#def102]
/usr/bin/ibstatus:29:21: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-156): [#def103]
/usr/bin/ibstatus:30:20: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-156): [#def104]
/usr/bin/ibstatus:31:19: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-156): [#def105]
/usr/bin/ibstatus:32:23: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-156): [#def106]
/usr/bin/ibstatus:33:18: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-156): [#def107]
/usr/bin/ibstatus:34:23: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-156): [#def108]
/usr/bin/ibswitches:6:14: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING: [#def109]
/usr/bin/set_nodedesc.sh:8:10: warning[SC3028]: In POSIX sh, HOSTNAME is undefined.
Error: SHELLCHECK_WARNING (CWE-398): [#def110]
/usr/bin/set_nodedesc.sh:14:1: warning[SC2113]: 'function' keyword is non-standard. Use 'foo()' instead of 'function foo'.
Error: SHELLCHECK_WARNING: [#def111]
/usr/bin/set_nodedesc.sh:21:48: warning[SC3028]: In POSIX sh, HOSTNAME is undefined.
Error: SHELLCHECK_WARNING (CWE-398): [#def112]
/usr/bin/set_nodedesc.sh:25:1: warning[SC2113]: 'function' keyword is non-standard. Use 'foo()' instead of 'function foo'.
Error: SHELLCHECK_WARNING (CWE-398): [#def113]
/usr/bin/set_nodedesc.sh:27:15: error[SC2045]: Iterating over ls output is fragile. Use globs.
Error: SHELLCHECK_WARNING: [#def114]
/usr/bin/set_nodedesc.sh:29:15: warning[SC3037]: In POSIX sh, echo flags are undefined.
Error: SHELLCHECK_WARNING: [#def115]
/usr/bin/set_nodedesc.sh:40:4: warning[SC2220]: Invalid flags are not handled. Add a *) case.
Error: SHELLCHECK_WARNING (CWE-398): [#def116]
/usr/bin/set_nodedesc.sh:52:12: error[SC2045]: Iterating over ls output is fragile. Use globs.
Error: SHELLCHECK_WARNING: [#def117]
/usr/bin/set_nodedesc.sh:54:12: warning[SC3037]: In POSIX sh, echo flags are undefined.
Error: SHELLCHECK_WARNING (CWE-477): [#def118]
/usr/lib/dracut/modules.d/05rdma/module-setup.sh:4:19: warning[SC2166]: Prefer [ p ] && [ q ] as [ p -a q ] is not well defined.
Error: SHELLCHECK_WARNING (CWE-457): [#def119]
/usr/lib/dracut/modules.d/05rdma/module-setup.sh:26:19: warning[SC2154]: systemdsystemunitdir is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-457): [#def120]
/usr/lib/dracut/modules.d/05rdma/module-setup.sh:33:25: warning[SC2154]: initdir is referenced but not assigned.
Error: SHELLCHECK_WARNING: [#def121]
/usr/lib/dracut/modules.d/05rdma/module-setup.sh:38:23: error[SC2283]: Remove spaces around = to assign (or use [ ] to compare, or quote '=' if literal).
Error: SHELLCHECK_WARNING (CWE-252): [#def122]
/usr/libexec/mlx4-setup.sh:4:1: warning[SC2164]: Use 'pushd ... || exit' or 'pushd ... || return' in case pushd fails.
Error: SHELLCHECK_WARNING (CWE-252): [#def123]
/usr/libexec/mlx4-setup.sh:10:2: warning[SC2164]: Use 'pushd ... || exit' or 'pushd ... || return' in case pushd fails.
Error: SHELLCHECK_WARNING (CWE-252): [#def124]
/usr/libexec/mlx4-setup.sh:20:4: warning[SC2164]: Use 'popd ... || exit' or 'popd ... || return' in case popd fails.
Error: SHELLCHECK_WARNING (CWE-477): [#def125]
/usr/libexec/mlx4-setup.sh:23:27: warning[SC2166]: Prefer [ p ] && [ q ] as [ p -a q ] is not well defined.
Error: SHELLCHECK_WARNING (CWE-477): [#def126]
/usr/libexec/mlx4-setup.sh:28:31: warning[SC2166]: Prefer [ p ] && [ q ] as [ p -a q ] is not well defined.
Error: SHELLCHECK_WARNING (CWE-477): [#def127]
/usr/libexec/mlx4-setup.sh:28:60: warning[SC2166]: Prefer [ p ] && [ q ] as [ p -a q ] is not well defined.
Error: SHELLCHECK_WARNING (CWE-477): [#def128]
/usr/libexec/mlx4-setup.sh:33:28: warning[SC2166]: Prefer [ p ] && [ q ] as [ p -a q ] is not well defined.
Error: SHELLCHECK_WARNING (CWE-252): [#def129]
/usr/libexec/mlx4-setup.sh:35:5: warning[SC2164]: Use 'popd ... || exit' or 'popd ... || return' in case popd fails.
Error: SHELLCHECK_WARNING (CWE-477): [#def130]
/usr/libexec/mlx4-setup.sh:39:27: warning[SC2166]: Prefer [ p ] && [ q ] as [ p -a q ] is not well defined.
Error: SHELLCHECK_WARNING (CWE-477): [#def131]
/usr/libexec/mlx4-setup.sh:44:31: warning[SC2166]: Prefer [ p ] && [ q ] as [ p -a q ] is not well defined.
Error: SHELLCHECK_WARNING (CWE-477): [#def132]
/usr/libexec/mlx4-setup.sh:44:60: warning[SC2166]: Prefer [ p ] && [ q ] as [ p -a q ] is not well defined.
Error: SHELLCHECK_WARNING (CWE-477): [#def133]
/usr/libexec/mlx4-setup.sh:49:28: warning[SC2166]: Prefer [ p ] && [ q ] as [ p -a q ] is not well defined.
Error: SHELLCHECK_WARNING (CWE-252): [#def134]
/usr/libexec/mlx4-setup.sh:53:3: warning[SC2164]: Use 'popd ... || exit' or 'popd ... || return' in case popd fails.
Error: SHELLCHECK_WARNING (CWE-477): [#def135]
/usr/libexec/mlx4-setup.sh:60:29: warning[SC2166]: Prefer [ p ] || [ q ] as [ p -o q ] is not well defined.
Error: SHELLCHECK_WARNING (CWE-477): [#def136]
/usr/libexec/mlx4-setup.sh:68:29: warning[SC2166]: Prefer [ p ] || [ q ] as [ p -o q ] is not well defined.
Error: SHELLCHECK_WARNING (CWE-477): [#def137]
/usr/libexec/mlx4-setup.sh:76:29: warning[SC2166]: Prefer [ p ] || [ q ] as [ p -o q ] is not well defined.
Error: SHELLCHECK_WARNING (CWE-252): [#def138]
/usr/libexec/mlx4-setup.sh:80:2: warning[SC2164]: Use 'popd ... || exit' or 'popd ... || return' in case popd fails.
Error: SHELLCHECK_WARNING (CWE-477): [#def139]
/usr/libexec/mlx4-setup.sh:88:28: warning[SC2166]: Prefer [ p ] && [ q ] as [ p -a q ] is not well defined.
Error: SHELLCHECK_WARNING (CWE-252): [#def140]
/usr/libexec/mlx4-setup.sh:91:1: warning[SC2164]: Use 'popd ... || exit' or 'popd ... || return' in case popd fails.
Error: SHELLCHECK_WARNING (CWE-138): [#def141]
/usr/libexec/truescale-serdes.cmds:61:15: error[SC2145]: Argument mixes string and array. Use * or separate argument.
Error: SHELLCHECK_WARNING (CWE-563): [#def142]
/usr/libexec/truescale-serdes.cmds:69:19: warning[SC2034]: bay_h1 appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-140): [#def143]
/usr/libexec/truescale-serdes.cmds:100:11: warning[SC2207]: Prefer mapfile or read -a to split command output (or quote to avoid splitting).
Error: SHELLCHECK_WARNING (CWE-457): [#def144]
/usr/libexec/truescale-serdes.cmds:169:38: warning[SC2154]: mez1_bus is referenced but not assigned (did you mean 'mez1bus'?).
Error: SHELLCHECK_WARNING (CWE-457): [#def145]
/usr/libexec/truescale-serdes.cmds:169:50: warning[SC2154]: mez2_bus is referenced but not assigned (did you mean 'mez2bus'?).
Error: SHELLCHECK_WARNING (CWE-457): [#def146]
/usr/libexec/truescale-serdes.cmds:169:62: warning[SC2154]: mez3_bus is referenced but not assigned (did you mean 'mez3bus'?).
Error: SHELLCHECK_WARNING (CWE-563): [#def147]
/usr/libexec/truescale-serdes.cmds:186:5: warning[SC2034]: bp0_idx appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def148]
/usr/libexec/truescale-serdes.cmds:188:5: warning[SC2034]: bp1_idx appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-140): [#def149]
/usr/libexec/truescale-serdes.cmds:202:12: warning[SC2207]: Prefer mapfile or read -a to split command output (or quote to avoid splitting).
Error: SHELLCHECK_WARNING (CWE-477): [#def150]
/usr/libexec/truescale-serdes.cmds:207:22: warning[SC2166]: Prefer [ p ] && [ q ] as [ p -a q ] is not well defined.
Error: GCC_ANALYZER_WARNING (CWE-775): [#def151]
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:341:17: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(&addr_data_file, "r")’
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2288:13: enter_function: entry to ‘acmp_parse_hosts_file’
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2298:19: acquire_resource: opened here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2298:12: branch_false: following ‘false’ branch...
branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2303:16: branch_true: following ‘true’ branch...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2304:21: branch_true: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2327:24: call_function: calling ‘acmp_acquire_dest’ from ‘acmp_parse_hosts_file’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def152]
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:341:17: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(&route_data_file, "r")’
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2262:12: enter_function: entry to ‘acmp_parse_osm_fullv1’
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2268:19: acquire_resource: opened here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2268:12: branch_false: following ‘false’ branch...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2273:20: branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2274:12: branch_false: following ‘false’ branch (when ‘lid2guid’ is non-NULL)...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2279:9: branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2281:15: call_function: calling ‘acmp_parse_osm_fullv1_paths’ from ‘acmp_parse_osm_fullv1’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def153]
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:341:17: warning[-Wanalyzer-malloc-leak]: leak of ‘addr_ctx’
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2387:12: enter_function: entry to ‘__acmp_add_addr’
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2416:20: acquire_memory: allocated here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2417:12: branch_false: following ‘false’ branch (when ‘addr_ctx’ is non-NULL)...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2421:9: branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2424:12: branch_false: following ‘false’ branch...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2429:61: branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2429:16: call_function: calling ‘acmp_acquire_dest’ from ‘__acmp_add_addr’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def154]
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:341:17: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(&addr_data_file, "r")’
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2288:13: enter_function: entry to ‘acmp_parse_hosts_file’
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2298:19: acquire_memory: allocated here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2298:12: branch_false: following ‘false’ branch...
branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2303:16: branch_true: following ‘true’ branch...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2304:21: branch_true: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2327:24: call_function: calling ‘acmp_acquire_dest’ from ‘acmp_parse_hosts_file’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def155]
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:341:17: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(&route_data_file, "r")’
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2262:12: enter_function: entry to ‘acmp_parse_osm_fullv1’
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2268:19: acquire_memory: allocated here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2268:12: branch_false: following ‘false’ branch...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2273:20: branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2274:12: branch_false: following ‘false’ branch (when ‘lid2guid’ is non-NULL)...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2279:9: branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2281:15: call_function: calling ‘acmp_parse_osm_fullv1_paths’ from ‘acmp_parse_osm_fullv1’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def156]
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:341:17: warning[-Wanalyzer-malloc-leak]: leak of ‘lid2guid’
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2262:12: enter_function: entry to ‘acmp_parse_osm_fullv1’
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2268:12: branch_false: following ‘false’ branch...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2273:20: branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2273:20: acquire_memory: allocated here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2274:12: branch_false: following ‘false’ branch (when ‘lid2guid’ is non-NULL)...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2279:9: branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2281:15: call_function: calling ‘acmp_parse_osm_fullv1_paths’ from ‘acmp_parse_osm_fullv1’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def157]
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:345:17: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(&addr_data_file, "r")’
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2288:13: enter_function: entry to ‘acmp_parse_hosts_file’
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2298:19: acquire_resource: opened here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2298:12: branch_false: following ‘false’ branch...
branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2303:16: branch_true: following ‘true’ branch...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2304:21: branch_true: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2327:24: call_function: calling ‘acmp_acquire_dest’ from ‘acmp_parse_hosts_file’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def158]
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:345:17: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(&route_data_file, "r")’
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2262:12: enter_function: entry to ‘acmp_parse_osm_fullv1’
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2268:19: acquire_resource: opened here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2268:12: branch_false: following ‘false’ branch...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2273:20: branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2274:12: branch_false: following ‘false’ branch (when ‘lid2guid’ is non-NULL)...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2279:9: branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2281:15: call_function: calling ‘acmp_parse_osm_fullv1_paths’ from ‘acmp_parse_osm_fullv1’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def159]
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:345:17: warning[-Wanalyzer-malloc-leak]: leak of ‘addr_ctx’
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2387:12: enter_function: entry to ‘__acmp_add_addr’
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2416:20: acquire_memory: allocated here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2417:12: branch_false: following ‘false’ branch (when ‘addr_ctx’ is non-NULL)...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2421:9: branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2424:12: branch_false: following ‘false’ branch...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2429:61: branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2429:16: call_function: calling ‘acmp_acquire_dest’ from ‘__acmp_add_addr’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def160]
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:345:17: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(&addr_data_file, "r")’
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2288:13: enter_function: entry to ‘acmp_parse_hosts_file’
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2298:19: acquire_memory: allocated here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2298:12: branch_false: following ‘false’ branch...
branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2303:16: branch_true: following ‘true’ branch...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2304:21: branch_true: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2327:24: call_function: calling ‘acmp_acquire_dest’ from ‘acmp_parse_hosts_file’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def161]
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:345:17: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(&route_data_file, "r")’
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2262:12: enter_function: entry to ‘acmp_parse_osm_fullv1’
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2268:19: acquire_memory: allocated here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2268:12: branch_false: following ‘false’ branch...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2273:20: branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2274:12: branch_false: following ‘false’ branch (when ‘lid2guid’ is non-NULL)...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2279:9: branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2281:15: call_function: calling ‘acmp_parse_osm_fullv1_paths’ from ‘acmp_parse_osm_fullv1’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def162]
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:345:17: warning[-Wanalyzer-malloc-leak]: leak of ‘lid2guid’
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2262:12: enter_function: entry to ‘acmp_parse_osm_fullv1’
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2268:12: branch_false: following ‘false’ branch...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2273:20: branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2273:20: acquire_memory: allocated here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2274:12: branch_false: following ‘false’ branch (when ‘lid2guid’ is non-NULL)...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2279:9: branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2281:15: call_function: calling ‘acmp_parse_osm_fullv1_paths’ from ‘acmp_parse_osm_fullv1’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def163]
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:348:17: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(&addr_data_file, "r")’
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2288:13: enter_function: entry to ‘acmp_parse_hosts_file’
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2298:19: acquire_resource: opened here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2298:12: branch_false: following ‘false’ branch...
branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2303:16: branch_true: following ‘true’ branch...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2304:21: branch_true: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2327:24: call_function: calling ‘acmp_acquire_dest’ from ‘acmp_parse_hosts_file’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def164]
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:348:17: warning[-Wanalyzer-malloc-leak]: leak of ‘addr_ctx’
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2387:12: enter_function: entry to ‘__acmp_add_addr’
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2416:20: acquire_memory: allocated here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2417:12: branch_false: following ‘false’ branch (when ‘addr_ctx’ is non-NULL)...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2421:9: branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2424:12: branch_false: following ‘false’ branch...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2429:61: branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2429:16: call_function: calling ‘acmp_acquire_dest’ from ‘__acmp_add_addr’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def165]
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:348:17: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(&addr_data_file, "r")’
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2288:13: enter_function: entry to ‘acmp_parse_hosts_file’
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2298:19: acquire_memory: allocated here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2298:12: branch_false: following ‘false’ branch...
branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2303:16: branch_true: following ‘true’ branch...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2304:21: branch_true: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2327:24: call_function: calling ‘acmp_acquire_dest’ from ‘acmp_parse_hosts_file’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def166]
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:350:17: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(&addr_data_file, "r")’
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2288:13: enter_function: entry to ‘acmp_parse_hosts_file’
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2298:19: acquire_resource: opened here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2298:12: branch_false: following ‘false’ branch...
branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2303:16: branch_true: following ‘true’ branch...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2304:21: branch_true: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2327:24: call_function: calling ‘acmp_acquire_dest’ from ‘acmp_parse_hosts_file’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def167]
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:350:17: warning[-Wanalyzer-malloc-leak]: leak of ‘addr_ctx’
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2387:12: enter_function: entry to ‘__acmp_add_addr’
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2416:20: acquire_memory: allocated here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2417:12: branch_false: following ‘false’ branch (when ‘addr_ctx’ is non-NULL)...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2421:9: branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2424:12: branch_false: following ‘false’ branch...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2429:61: branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2429:16: call_function: calling ‘acmp_acquire_dest’ from ‘__acmp_add_addr’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def168]
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:350:17: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(&addr_data_file, "r")’
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2288:13: enter_function: entry to ‘acmp_parse_hosts_file’
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2298:19: acquire_memory: allocated here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2298:12: branch_false: following ‘false’ branch...
branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2303:16: branch_true: following ‘true’ branch...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2304:21: branch_true: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2327:24: call_function: calling ‘acmp_acquire_dest’ from ‘acmp_parse_hosts_file’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def169]
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:368:9: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(&addr_data_file, "r")’
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2288:13: enter_function: entry to ‘acmp_parse_hosts_file’
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2298:19: acquire_resource: opened here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2298:12: branch_false: following ‘false’ branch...
branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2303:16: branch_true: following ‘true’ branch...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2304:21: branch_true: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2327:24: call_function: calling ‘acmp_acquire_dest’ from ‘acmp_parse_hosts_file’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def170]
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:368:9: warning[-Wanalyzer-malloc-leak]: leak of ‘addr_ctx’
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2387:12: enter_function: entry to ‘__acmp_add_addr’
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2416:20: acquire_memory: allocated here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2417:12: branch_false: following ‘false’ branch (when ‘addr_ctx’ is non-NULL)...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2421:9: branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2424:12: branch_false: following ‘false’ branch...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2429:61: branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2429:16: call_function: calling ‘acmp_acquire_dest’ from ‘__acmp_add_addr’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def171]
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:368:9: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(&addr_data_file, "r")’
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2288:13: enter_function: entry to ‘acmp_parse_hosts_file’
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2298:19: acquire_memory: allocated here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2298:12: branch_false: following ‘false’ branch...
branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2303:16: branch_true: following ‘true’ branch...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2304:21: branch_true: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2327:24: call_function: calling ‘acmp_acquire_dest’ from ‘acmp_parse_hosts_file’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def172]
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:382:9: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(&addr_data_file, "r")’
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2288:13: enter_function: entry to ‘acmp_parse_hosts_file’
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2298:19: acquire_resource: opened here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2298:12: branch_false: following ‘false’ branch...
branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2303:16: branch_true: following ‘true’ branch...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2304:21: branch_true: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2327:24: call_function: calling ‘acmp_acquire_dest’ from ‘acmp_parse_hosts_file’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def173]
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:382:9: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(&route_data_file, "r")’
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2262:12: enter_function: entry to ‘acmp_parse_osm_fullv1’
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2268:19: acquire_resource: opened here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2268:12: branch_false: following ‘false’ branch...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2273:20: branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2274:12: branch_false: following ‘false’ branch (when ‘lid2guid’ is non-NULL)...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2279:9: branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2281:15: call_function: calling ‘acmp_parse_osm_fullv1_paths’ from ‘acmp_parse_osm_fullv1’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def174]
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:382:9: warning[-Wanalyzer-malloc-leak]: leak of ‘addr_ctx’
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2387:12: enter_function: entry to ‘__acmp_add_addr’
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2416:20: acquire_memory: allocated here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2417:12: branch_false: following ‘false’ branch (when ‘addr_ctx’ is non-NULL)...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2421:9: branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2424:12: branch_false: following ‘false’ branch...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2429:61: branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2429:16: call_function: calling ‘acmp_acquire_dest’ from ‘__acmp_add_addr’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def175]
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:382:9: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(&addr_data_file, "r")’
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2288:13: enter_function: entry to ‘acmp_parse_hosts_file’
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2298:19: acquire_memory: allocated here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2298:12: branch_false: following ‘false’ branch...
branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2303:16: branch_true: following ‘true’ branch...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2304:21: branch_true: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2327:24: call_function: calling ‘acmp_acquire_dest’ from ‘acmp_parse_hosts_file’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def176]
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:382:9: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(&route_data_file, "r")’
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2262:12: enter_function: entry to ‘acmp_parse_osm_fullv1’
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2268:19: acquire_memory: allocated here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2268:12: branch_false: following ‘false’ branch...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2273:20: branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2274:12: branch_false: following ‘false’ branch (when ‘lid2guid’ is non-NULL)...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2279:9: branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2281:15: call_function: calling ‘acmp_parse_osm_fullv1_paths’ from ‘acmp_parse_osm_fullv1’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def177]
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:382:9: warning[-Wanalyzer-malloc-leak]: leak of ‘lid2guid’
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2262:12: enter_function: entry to ‘acmp_parse_osm_fullv1’
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2268:12: branch_false: following ‘false’ branch...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2273:20: branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2273:20: acquire_memory: allocated here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2274:12: branch_false: following ‘false’ branch (when ‘lid2guid’ is non-NULL)...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2279:9: branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2281:15: call_function: calling ‘acmp_parse_osm_fullv1_paths’ from ‘acmp_parse_osm_fullv1’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def178]
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:384:9: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(&addr_data_file, "r")’
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2288:13: enter_function: entry to ‘acmp_parse_hosts_file’
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2298:19: acquire_resource: opened here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2298:12: branch_false: following ‘false’ branch...
branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2303:16: branch_true: following ‘true’ branch...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2304:21: branch_true: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2327:24: call_function: calling ‘acmp_acquire_dest’ from ‘acmp_parse_hosts_file’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def179]
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:384:9: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(&route_data_file, "r")’
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2262:12: enter_function: entry to ‘acmp_parse_osm_fullv1’
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2268:19: acquire_resource: opened here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2268:12: branch_false: following ‘false’ branch...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2273:20: branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2274:12: branch_false: following ‘false’ branch (when ‘lid2guid’ is non-NULL)...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2279:9: branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2281:15: call_function: calling ‘acmp_parse_osm_fullv1_paths’ from ‘acmp_parse_osm_fullv1’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def180]
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:384:9: warning[-Wanalyzer-malloc-leak]: leak of ‘addr_ctx’
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2387:12: enter_function: entry to ‘__acmp_add_addr’
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2416:20: acquire_memory: allocated here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2417:12: branch_false: following ‘false’ branch (when ‘addr_ctx’ is non-NULL)...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2421:9: branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2424:12: branch_false: following ‘false’ branch...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2429:61: branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2429:16: call_function: calling ‘acmp_acquire_dest’ from ‘__acmp_add_addr’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def181]
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:384:9: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(&addr_data_file, "r")’
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2288:13: enter_function: entry to ‘acmp_parse_hosts_file’
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2298:19: acquire_memory: allocated here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2298:12: branch_false: following ‘false’ branch...
branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2303:16: branch_true: following ‘true’ branch...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2304:21: branch_true: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2327:24: call_function: calling ‘acmp_acquire_dest’ from ‘acmp_parse_hosts_file’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def182]
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:384:9: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(&route_data_file, "r")’
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2262:12: enter_function: entry to ‘acmp_parse_osm_fullv1’
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2268:19: acquire_memory: allocated here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2268:12: branch_false: following ‘false’ branch...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2273:20: branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2274:12: branch_false: following ‘false’ branch (when ‘lid2guid’ is non-NULL)...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2279:9: branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2281:15: call_function: calling ‘acmp_parse_osm_fullv1_paths’ from ‘acmp_parse_osm_fullv1’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def183]
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:384:9: warning[-Wanalyzer-malloc-leak]: leak of ‘lid2guid’
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2262:12: enter_function: entry to ‘acmp_parse_osm_fullv1’
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2268:12: branch_false: following ‘false’ branch...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2273:20: branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2273:20: acquire_memory: allocated here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2274:12: branch_false: following ‘false’ branch (when ‘lid2guid’ is non-NULL)...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2279:9: branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2281:15: call_function: calling ‘acmp_parse_osm_fullv1_paths’ from ‘acmp_parse_osm_fullv1’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def184]
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:391:25: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(&addr_data_file, "r")’
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2288:13: enter_function: entry to ‘acmp_parse_hosts_file’
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2298:19: acquire_resource: opened here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2298:12: branch_false: following ‘false’ branch...
branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2303:16: branch_true: following ‘true’ branch...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2304:21: branch_true: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2327:24: call_function: calling ‘acmp_acquire_dest’ from ‘acmp_parse_hosts_file’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def185]
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:391:25: warning[-Wanalyzer-malloc-leak]: leak of ‘addr_ctx’
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2387:12: enter_function: entry to ‘__acmp_add_addr’
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2416:20: acquire_memory: allocated here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2417:12: branch_false: following ‘false’ branch (when ‘addr_ctx’ is non-NULL)...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2421:9: branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2424:12: branch_false: following ‘false’ branch...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2429:61: branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2429:16: call_function: calling ‘acmp_acquire_dest’ from ‘__acmp_add_addr’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def186]
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:391:25: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(&addr_data_file, "r")’
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2288:13: enter_function: entry to ‘acmp_parse_hosts_file’
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2298:19: acquire_memory: allocated here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2298:12: branch_false: following ‘false’ branch...
branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2303:16: branch_true: following ‘true’ branch...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2304:21: branch_true: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2327:24: call_function: calling ‘acmp_acquire_dest’ from ‘acmp_parse_hosts_file’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def187]
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:423:9: warning[-Wanalyzer-malloc-leak]: leak of ‘req’
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:1728:16: enter_function: entry to ‘acmp_queue_req’
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:1733:15: call_function: calling ‘acmp_alloc_req’ from ‘acmp_queue_req’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def188]
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2114:25: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(&route_data_file, "r")’
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2262:12: enter_function: entry to ‘acmp_parse_osm_fullv1’
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2268:19: acquire_resource: opened here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2268:12: branch_false: following ‘false’ branch...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2273:20: branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2274:12: branch_false: following ‘false’ branch (when ‘lid2guid’ is non-NULL)...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2279:9: branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2279:9: call_function: calling ‘acmp_parse_osm_fullv1_lid2guid’ from ‘acmp_parse_osm_fullv1’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def189]
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2114:25: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(&route_data_file, "r")’
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2262:12: enter_function: entry to ‘acmp_parse_osm_fullv1’
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2268:19: acquire_memory: allocated here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2268:12: branch_false: following ‘false’ branch...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2273:20: branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2274:12: branch_false: following ‘false’ branch (when ‘lid2guid’ is non-NULL)...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2279:9: branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2279:9: call_function: calling ‘acmp_parse_osm_fullv1_lid2guid’ from ‘acmp_parse_osm_fullv1’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def190]
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2114:25: warning[-Wanalyzer-malloc-leak]: leak of ‘lid2guid’
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2262:12: enter_function: entry to ‘acmp_parse_osm_fullv1’
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2268:12: branch_false: following ‘false’ branch...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2273:20: branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2273:20: acquire_memory: allocated here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2274:12: branch_false: following ‘false’ branch (when ‘lid2guid’ is non-NULL)...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2279:9: branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2279:9: call_function: calling ‘acmp_parse_osm_fullv1_lid2guid’ from ‘acmp_parse_osm_fullv1’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def191]
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2136:9: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(&route_data_file, "r")’
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2262:12: enter_function: entry to ‘acmp_parse_osm_fullv1’
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2268:19: acquire_resource: opened here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2268:12: branch_false: following ‘false’ branch...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2273:20: branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2274:12: branch_false: following ‘false’ branch (when ‘lid2guid’ is non-NULL)...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2279:9: branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2281:15: call_function: calling ‘acmp_parse_osm_fullv1_paths’ from ‘acmp_parse_osm_fullv1’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def192]
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2136:9: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(&route_data_file, "r")’
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2262:12: enter_function: entry to ‘acmp_parse_osm_fullv1’
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2268:19: acquire_memory: allocated here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2268:12: branch_false: following ‘false’ branch...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2273:20: branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2274:12: branch_false: following ‘false’ branch (when ‘lid2guid’ is non-NULL)...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2279:9: branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2281:15: call_function: calling ‘acmp_parse_osm_fullv1_paths’ from ‘acmp_parse_osm_fullv1’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def193]
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2136:9: warning[-Wanalyzer-malloc-leak]: leak of ‘lid2guid’
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2262:12: enter_function: entry to ‘acmp_parse_osm_fullv1’
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2268:12: branch_false: following ‘false’ branch...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2273:20: branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2273:20: acquire_memory: allocated here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2274:12: branch_false: following ‘false’ branch (when ‘lid2guid’ is non-NULL)...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2279:9: branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2281:15: call_function: calling ‘acmp_parse_osm_fullv1_paths’ from ‘acmp_parse_osm_fullv1’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def194]
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2213:25: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(&route_data_file, "r")’
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2262:12: enter_function: entry to ‘acmp_parse_osm_fullv1’
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2268:19: acquire_resource: opened here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2268:12: branch_false: following ‘false’ branch...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2273:20: branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2274:12: branch_false: following ‘false’ branch (when ‘lid2guid’ is non-NULL)...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2279:9: branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2281:15: call_function: calling ‘acmp_parse_osm_fullv1_paths’ from ‘acmp_parse_osm_fullv1’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def195]
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2213:25: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(&route_data_file, "r")’
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2262:12: enter_function: entry to ‘acmp_parse_osm_fullv1’
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2268:19: acquire_memory: allocated here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2268:12: branch_false: following ‘false’ branch...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2273:20: branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2274:12: branch_false: following ‘false’ branch (when ‘lid2guid’ is non-NULL)...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2279:9: branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2281:15: call_function: calling ‘acmp_parse_osm_fullv1_paths’ from ‘acmp_parse_osm_fullv1’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def196]
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2213:25: warning[-Wanalyzer-malloc-leak]: leak of ‘lid2guid’
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2262:12: enter_function: entry to ‘acmp_parse_osm_fullv1’
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2268:12: branch_false: following ‘false’ branch...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2273:20: branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2273:20: acquire_memory: allocated here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2274:12: branch_false: following ‘false’ branch (when ‘lid2guid’ is non-NULL)...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2279:9: branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2281:15: call_function: calling ‘acmp_parse_osm_fullv1_paths’ from ‘acmp_parse_osm_fullv1’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def197]
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2275:17: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(&route_data_file, "r")’
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2268:19: acquire_resource: opened here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2268:12: branch_false: following ‘false’ branch...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2273:20: branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2274:12: branch_true: following ‘true’ branch (when ‘lid2guid’ is NULL)...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2275:17: branch_true: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2275:17: danger: ‘fopen(&route_data_file, "r")’ leaks here; was opened at [(1)](sarif:/runs/0/results/54/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def198]
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2275:17: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(&route_data_file, "r")’
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2268:19: acquire_memory: allocated here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2268:12: branch_false: following ‘false’ branch...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2273:20: branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2274:12: branch_true: following ‘true’ branch (when ‘lid2guid’ is NULL)...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2275:17: branch_true: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2275:17: danger: ‘fopen(&route_data_file, "r")’ leaks here; was allocated at [(1)](sarif:/runs/0/results/55/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def199]
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2280:9: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(&route_data_file, "r")’
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2268:19: acquire_resource: opened here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2268:12: branch_false: following ‘false’ branch...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2273:20: branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2274:12: branch_false: following ‘false’ branch (when ‘lid2guid’ is non-NULL)...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2279:9: branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2280:9: danger: ‘fopen(&route_data_file, "r")’ leaks here; was opened at [(1)](sarif:/runs/0/results/56/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def200]
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2280:9: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(&route_data_file, "r")’
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2268:19: acquire_memory: allocated here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2268:12: branch_false: following ‘false’ branch...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2273:20: branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2274:12: branch_false: following ‘false’ branch (when ‘lid2guid’ is non-NULL)...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2279:9: branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2280:9: danger: ‘fopen(&route_data_file, "r")’ leaks here; was allocated at [(1)](sarif:/runs/0/results/58/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def201]
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2280:9: warning[-Wanalyzer-malloc-leak]: leak of ‘lid2guid’
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2268:12: branch_false: following ‘false’ branch...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2273:20: branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2273:20: acquire_memory: allocated here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2274:12: branch_false: following ‘false’ branch (when ‘lid2guid’ is non-NULL)...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2279:9: branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2280:9: danger: ‘lid2guid’ leaks here; was allocated at [(3)](sarif:/runs/0/results/57/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def202]
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2310:17: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(&addr_data_file, "r")’
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2298:19: acquire_resource: opened here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2298:12: branch_false: following ‘false’ branch...
branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2303:16: branch_true: following ‘true’ branch...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2304:21: branch_true: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2304:20: branch_false: following ‘false’ branch...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2307:21: branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2307:20: branch_false: following ‘false’ branch...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2310:17: branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2310:17: danger: ‘fopen(&addr_data_file, "r")’ leaks here; was opened at [(1)](sarif:/runs/0/results/59/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def203]
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2310:17: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(&addr_data_file, "r")’
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2298:19: acquire_memory: allocated here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2298:12: branch_false: following ‘false’ branch...
branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2303:16: branch_true: following ‘true’ branch...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2304:21: branch_true: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2304:20: branch_false: following ‘false’ branch...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2307:21: branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2307:20: branch_false: following ‘false’ branch...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2310:17: branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2310:17: danger: ‘fopen(&addr_data_file, "r")’ leaks here; was allocated at [(1)](sarif:/runs/0/results/60/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def204]
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2312:25: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(&addr_data_file, "r")’
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2298:19: acquire_resource: opened here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2298:12: branch_false: following ‘false’ branch...
branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2303:16: branch_true: following ‘true’ branch...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2304:21: branch_true: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2311:20: branch_true: following ‘true’ branch...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2312:25: branch_true: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2312:25: danger: ‘fopen(&addr_data_file, "r")’ leaks here; was opened at [(1)](sarif:/runs/0/results/61/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def205]
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2312:25: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(&addr_data_file, "r")’
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2298:19: acquire_memory: allocated here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2298:12: branch_false: following ‘false’ branch...
branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2303:16: branch_true: following ‘true’ branch...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2304:21: branch_true: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2311:20: branch_true: following ‘true’ branch...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2312:25: branch_true: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2312:25: danger: ‘fopen(&addr_data_file, "r")’ leaks here; was allocated at [(1)](sarif:/runs/0/results/62/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-126): [#def206]
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2324:25: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2298:12: branch_false: following ‘false’ branch...
branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2303:16: branch_true: following ‘true’ branch...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2304:21: branch_true: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2316:20: branch_false: following ‘false’ branch...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2319:28: branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2319:27: branch_false: following ‘false’ branch...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2324:25: branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2324:25: danger: out-of-bounds read from byte 46 till byte 63 but ‘addr’ ends at byte 46
Error: GCC_ANALYZER_WARNING (CWE-401): [#def207]
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2833:9: warning[-Wanalyzer-malloc-leak]: leak of ‘dev’
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2842:12: enter_function: entry to ‘acmp_open_dev’
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2870:12: branch_false: following ‘false’ branch...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2876:15: branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2877:12: branch_false: following ‘false’ branch...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2883:58: branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2884:38: acquire_memory: allocated here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2885:12: branch_false: following ‘false’ branch (when ‘dev’ is non-NULL)...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2888:9: branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2893:12: branch_false: following ‘false’ branch...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2898:24: branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2899:12: branch_false: following ‘false’ branch...
branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2904:21: branch_true: following ‘true’ branch...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2905:17: branch_true: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2905:17: call_function: calling ‘acmp_init_port’ from ‘acmp_open_dev’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def208]
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2892:19: warning[-Wanalyzer-malloc-leak]: leak of ‘dev’
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2870:12: branch_false: following ‘false’ branch...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2876:15: branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2877:12: branch_false: following ‘false’ branch...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2883:58: branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2884:38: acquire_memory: allocated here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2885:12: branch_false: following ‘false’ branch (when ‘dev’ is non-NULL)...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2888:9: branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2892:19: danger: ‘dev’ leaks here; was allocated at [(5)](sarif:/runs/0/results/67/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def209]
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2894:17: warning[-Wanalyzer-malloc-leak]: leak of ‘dev’
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2870:12: branch_false: following ‘false’ branch...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2876:15: branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2877:12: branch_false: following ‘false’ branch...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2883:58: branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2884:38: acquire_memory: allocated here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2885:12: branch_false: following ‘false’ branch (when ‘dev’ is non-NULL)...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2888:9: branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2893:12: branch_true: following ‘true’ branch...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2894:17: branch_true: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2894:17: danger: ‘dev’ leaks here; was allocated at [(5)](sarif:/runs/0/results/68/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def210]
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2898:24: warning[-Wanalyzer-malloc-leak]: leak of ‘dev’
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2870:12: branch_false: following ‘false’ branch...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2876:15: branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2877:12: branch_false: following ‘false’ branch...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2883:58: branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2884:38: acquire_memory: allocated here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2885:12: branch_false: following ‘false’ branch (when ‘dev’ is non-NULL)...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2888:9: branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2893:12: branch_false: following ‘false’ branch...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2898:24: branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2898:24: danger: ‘dev’ leaks here; was allocated at [(5)](sarif:/runs/0/results/69/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def211]
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2900:17: warning[-Wanalyzer-malloc-leak]: leak of ‘dev’
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2870:12: branch_false: following ‘false’ branch...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2876:15: branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2877:12: branch_false: following ‘false’ branch...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2883:58: branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2884:38: acquire_memory: allocated here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2885:12: branch_false: following ‘false’ branch (when ‘dev’ is non-NULL)...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2888:9: branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2893:12: branch_false: following ‘false’ branch...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2898:24: branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2899:12: branch_true: following ‘true’ branch...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2900:17: branch_true: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2900:17: danger: ‘dev’ leaks here; was allocated at [(5)](sarif:/runs/0/results/70/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def212]
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2926:9: warning[-Wanalyzer-malloc-leak]: leak of ‘dev’
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2870:12: branch_false: following ‘false’ branch...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2876:15: branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2877:12: branch_false: following ‘false’ branch...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2883:58: branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2884:38: acquire_memory: allocated here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2885:12: branch_false: following ‘false’ branch (when ‘dev’ is non-NULL)...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2888:9: branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2893:12: branch_false: following ‘false’ branch...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2898:24: branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2899:12: branch_true: following ‘true’ branch...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2900:17: branch_true: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2926:9: danger: ‘dev’ leaks here; was allocated at [(5)](sarif:/runs/0/results/71/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def213]
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2979:35: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(acm_get_opts_file(), "r")’
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2941:13: enter_function: entry to ‘acmp_set_options’
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2948:19: acquire_resource: opened here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2948:12: branch_false: following ‘false’ branch...
branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2951:16: branch_true: following ‘true’ branch...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2952:21: branch_true: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2952:20: branch_false: following ‘false’ branch...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2955:21: branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2955:20: branch_false: following ‘false’ branch...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2958:22: branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2958:20: branch_false: following ‘false’ branch...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2960:27: branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2960:25: branch_false: following ‘false’ branch...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2962:27: branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2962:25: branch_false: following ‘false’ branch...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2964:27: branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2964:25: branch_false: following ‘false’ branch (when the strings are non-equal)...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2966:27: branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2966:25: branch_false: following ‘false’ branch...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2968:27: branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2968:25: branch_false: following ‘false’ branch...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2970:27: branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2970:25: branch_false: following ‘false’ branch...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2972:27: branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2972:25: branch_false: following ‘false’ branch...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2974:27: branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2974:25: branch_false: following ‘false’ branch...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2976:27: branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2976:25: branch_false: following ‘false’ branch...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2978:27: branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2978:25: branch_true: following ‘true’ branch...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2979:35: call_function: inlined call to ‘atoi’ from ‘acmp_set_options’
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2979:35: danger: ‘fopen(acm_get_opts_file(), "r")’ leaks here; was opened at [(2)](sarif:/runs/0/results/72/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def214]
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2979:35: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(acm_get_opts_file(), "r")’
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2941:13: enter_function: entry to ‘acmp_set_options’
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2948:19: acquire_memory: allocated here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2948:12: branch_false: following ‘false’ branch...
branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2951:16: branch_true: following ‘true’ branch...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2952:21: branch_true: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2952:20: branch_false: following ‘false’ branch...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2955:21: branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2955:20: branch_false: following ‘false’ branch...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2958:22: branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2958:20: branch_false: following ‘false’ branch...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2960:27: branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2960:25: branch_false: following ‘false’ branch...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2962:27: branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2962:25: branch_false: following ‘false’ branch...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2964:27: branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2964:25: branch_false: following ‘false’ branch (when the strings are non-equal)...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2966:27: branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2966:25: branch_false: following ‘false’ branch...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2968:27: branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2968:25: branch_false: following ‘false’ branch...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2970:27: branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2970:25: branch_false: following ‘false’ branch...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2972:27: branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2972:25: branch_false: following ‘false’ branch...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2974:27: branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2974:25: branch_false: following ‘false’ branch...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2976:27: branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2976:25: branch_false: following ‘false’ branch...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2978:27: branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2978:25: branch_true: following ‘true’ branch...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2979:35: call_function: inlined call to ‘atoi’ from ‘acmp_set_options’
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2979:35: danger: ‘fopen(acm_get_opts_file(), "r")’ leaks here; was allocated at [(2)](sarif:/runs/0/results/73/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def215]
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2981:36: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(acm_get_opts_file(), "r")’
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2941:13: enter_function: entry to ‘acmp_set_options’
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2948:19: acquire_resource: opened here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2948:12: branch_false: following ‘false’ branch...
branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2951:16: branch_true: following ‘true’ branch...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2952:21: branch_true: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2952:20: branch_false: following ‘false’ branch...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2955:21: branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2955:20: branch_false: following ‘false’ branch...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2958:22: branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2958:20: branch_false: following ‘false’ branch...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2960:27: branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2960:25: branch_false: following ‘false’ branch...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2962:27: branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2962:25: branch_false: following ‘false’ branch...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2964:27: branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2964:25: branch_false: following ‘false’ branch (when the strings are non-equal)...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2966:27: branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2966:25: branch_false: following ‘false’ branch...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2968:27: branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2968:25: branch_false: following ‘false’ branch...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2970:27: branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2970:25: branch_false: following ‘false’ branch...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2972:27: branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2972:25: branch_false: following ‘false’ branch...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2974:27: branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2974:25: branch_false: following ‘false’ branch...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2976:27: branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2976:25: branch_false: following ‘false’ branch...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2978:27: branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2978:25: branch_false: following ‘false’ branch...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2980:27: branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2980:25: branch_true: following ‘true’ branch...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2981:36: call_function: inlined call to ‘atoi’ from ‘acmp_set_options’
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2981:36: danger: ‘fopen(acm_get_opts_file(), "r")’ leaks here; was opened at [(2)](sarif:/runs/0/results/74/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def216]
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2981:36: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(acm_get_opts_file(), "r")’
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2941:13: enter_function: entry to ‘acmp_set_options’
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2948:19: acquire_memory: allocated here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2948:12: branch_false: following ‘false’ branch...
branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2951:16: branch_true: following ‘true’ branch...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2952:21: branch_true: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2952:20: branch_false: following ‘false’ branch...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2955:21: branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2955:20: branch_false: following ‘false’ branch...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2958:22: branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2958:20: branch_false: following ‘false’ branch...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2960:27: branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2960:25: branch_false: following ‘false’ branch...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2962:27: branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2962:25: branch_false: following ‘false’ branch...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2964:27: branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2964:25: branch_false: following ‘false’ branch (when the strings are non-equal)...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2966:27: branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2966:25: branch_false: following ‘false’ branch...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2968:27: branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2968:25: branch_false: following ‘false’ branch...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2970:27: branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2970:25: branch_false: following ‘false’ branch...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2972:27: branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2972:25: branch_false: following ‘false’ branch...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2974:27: branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2974:25: branch_false: following ‘false’ branch...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2976:27: branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2976:25: branch_false: following ‘false’ branch...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2978:27: branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2978:25: branch_false: following ‘false’ branch...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2980:27: branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2980:25: branch_true: following ‘true’ branch...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2981:36: call_function: inlined call to ‘atoi’ from ‘acmp_set_options’
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2981:36: danger: ‘fopen(acm_get_opts_file(), "r")’ leaks here; was allocated at [(2)](sarif:/runs/0/results/75/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def217]
rdma-core-59.0/ibacm/src/acm_util.c:65:17: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(&buf, "r")’
rdma-core-59.0/ibacm/src/acm_util.c:55:13: acquire_resource: opened here
rdma-core-59.0/ibacm/src/acm_util.c:56:12: branch_false: following ‘false’ branch...
rdma-core-59.0/ibacm/src/acm_util.c:61:13: branch_false: ...to here
rdma-core-59.0/ibacm/src/acm_util.c:61:12: branch_false: following ‘false’ branch...
rdma-core-59.0/ibacm/src/acm_util.c:65:17: branch_false: ...to here
rdma-core-59.0/ibacm/src/acm_util.c:65:17: danger: ‘fopen(&buf, "r")’ leaks here; was opened at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def218]
rdma-core-59.0/ibacm/src/acm_util.c:65:17: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(&buf, "r")’
rdma-core-59.0/ibacm/src/acm_util.c:55:13: acquire_memory: allocated here
rdma-core-59.0/ibacm/src/acm_util.c:56:12: branch_false: following ‘false’ branch...
rdma-core-59.0/ibacm/src/acm_util.c:61:13: branch_false: ...to here
rdma-core-59.0/ibacm/src/acm_util.c:61:12: branch_false: following ‘false’ branch...
rdma-core-59.0/ibacm/src/acm_util.c:65:17: branch_false: ...to here
rdma-core-59.0/ibacm/src/acm_util.c:65:17: danger: ‘fopen(&buf, "r")’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def219]
rdma-core-59.0/ibacm/src/acm_util.c:93:17: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(&buf, "r")’
rdma-core-59.0/ibacm/src/acm_util.c:80:13: acquire_resource: opened here
rdma-core-59.0/ibacm/src/acm_util.c:81:12: branch_false: following ‘false’ branch...
rdma-core-59.0/ibacm/src/acm_util.c:86:13: branch_false: ...to here
rdma-core-59.0/ibacm/src/acm_util.c:86:12: branch_false: following ‘false’ branch...
rdma-core-59.0/ibacm/src/acm_util.c:93:17: branch_false: ...to here
rdma-core-59.0/ibacm/src/acm_util.c:93:17: danger: ‘fopen(&buf, "r")’ leaks here; was opened at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def220]
rdma-core-59.0/ibacm/src/acm_util.c:93:17: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(&buf, "r")’
rdma-core-59.0/ibacm/src/acm_util.c:80:13: acquire_memory: allocated here
rdma-core-59.0/ibacm/src/acm_util.c:81:12: branch_false: following ‘false’ branch...
rdma-core-59.0/ibacm/src/acm_util.c:86:13: branch_false: ...to here
rdma-core-59.0/ibacm/src/acm_util.c:86:12: branch_false: following ‘false’ branch...
rdma-core-59.0/ibacm/src/acm_util.c:93:17: branch_false: ...to here
rdma-core-59.0/ibacm/src/acm_util.c:93:17: danger: ‘fopen(&buf, "r")’ leaks here; was allocated at [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-457): [#def221]
rdma-core-59.0/ibacm/src/acme.c:608:25: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘src.ss_family’
rdma-core-59.0/ibacm/src/acme.c:978:12: enter_function: entry to ‘query_svcs’
rdma-core-59.0/ibacm/src/acme.c:984:12: branch_false: following ‘false’ branch...
branch_false: ...to here
rdma-core-59.0/ibacm/src/acme.c:989:21: branch_true: following ‘true’ branch...
rdma-core-59.0/ibacm/src/acme.c:990:23: branch_true: ...to here
rdma-core-59.0/ibacm/src/acme.c:991:20: branch_false: following ‘false’ branch...
rdma-core-59.0/ibacm/src/acme.c:997:21: branch_false: ...to here
rdma-core-59.0/ibacm/src/acme.c:997:20: branch_true: following ‘true’ branch...
rdma-core-59.0/ibacm/src/acme.c:998:31: branch_true: ...to here
rdma-core-59.0/ibacm/src/acme.c:998:31: call_function: calling ‘resolve’ from ‘query_svcs’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def222]
rdma-core-59.0/ibacm/src/acme.c:1026:14: warning[-Wanalyzer-null-argument]: use of NULL ‘arg’ where non-null expected
rdma-core-59.0/ibacm/src/acme.c:1041:5: enter_function: entry to ‘main’
rdma-core-59.0/ibacm/src/acme.c:1047:16: branch_true: following ‘true’ branch (when ‘op != -1’)...
rdma-core-59.0/ibacm/src/acme.c:1048:17: branch_true: ...to here
rdma-core-59.0/ibacm/src/acme.c:1086:29: call_function: inlined call to ‘opt_arg’ from ‘main’
rdma-core-59.0/ibacm/src/acme.c:1086:29: call_function: inlined call to ‘opt_arg’ from ‘main’
rdma-core-59.0/ibacm/src/acme.c:1086:28: branch_true: following ‘true’ branch...
rdma-core-59.0/ibacm/src/acme.c:1087:33: call_function: inlined call to ‘opt_arg’ from ‘main’
branch_false: ...to here
rdma-core-59.0/ibacm/src/acme.c:1087:33: call_function: calling ‘parse_perf_arg’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def223]
rdma-core-59.0/ibacm/src/libacm.c:435:15: warning[-Wanalyzer-malloc-leak]: leak of ‘host_edata’
rdma-core-59.0/ibacm/src/libacm.c:413:12: branch_false: following ‘false’ branch (when ‘ret == 16’)...
rdma-core-59.0/ibacm/src/libacm.c:416:15: branch_false: ...to here
rdma-core-59.0/ibacm/src/libacm.c:417:12: branch_false: following ‘false’ branch (when ‘ret == 16’)...
rdma-core-59.0/ibacm/src/libacm.c:422:13: branch_false: ...to here
rdma-core-59.0/ibacm/src/libacm.c:422:12: branch_false: following ‘false’ branch...
rdma-core-59.0/ibacm/src/libacm.c:427:15: branch_false: ...to here
rdma-core-59.0/ibacm/src/libacm.c:429:22: acquire_memory: allocated here
rdma-core-59.0/ibacm/src/libacm.c:430:12: branch_false: following ‘false’ branch...
rdma-core-59.0/ibacm/src/libacm.c:435:15: branch_false: ...to here
rdma-core-59.0/ibacm/src/libacm.c:435:15: danger: ‘host_edata’ leaks here; was allocated at [(7)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def224]
rdma-core-59.0/ibacm/src/libacm.c:435:15: warning[-Wanalyzer-malloc-leak]: leak of ‘netw_edata’
rdma-core-59.0/ibacm/src/libacm.c:413:12: branch_false: following ‘false’ branch (when ‘ret == 16’)...
rdma-core-59.0/ibacm/src/libacm.c:416:15: branch_false: ...to here
rdma-core-59.0/ibacm/src/libacm.c:417:12: branch_false: following ‘false’ branch (when ‘ret == 16’)...
rdma-core-59.0/ibacm/src/libacm.c:422:13: branch_false: ...to here
rdma-core-59.0/ibacm/src/libacm.c:422:12: branch_false: following ‘false’ branch...
rdma-core-59.0/ibacm/src/libacm.c:427:15: branch_false: ...to here
rdma-core-59.0/ibacm/src/libacm.c:428:22: acquire_memory: allocated here
rdma-core-59.0/ibacm/src/libacm.c:430:12: branch_false: following ‘false’ branch...
rdma-core-59.0/ibacm/src/libacm.c:435:15: branch_false: ...to here
rdma-core-59.0/ibacm/src/libacm.c:435:15: danger: ‘netw_edata’ leaks here; was allocated at [(7)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-688): [#def225]
rdma-core-59.0/ibacm/src/parse.c:58:25: warning[-Wanalyzer-null-argument]: use of NULL ‘str_buf’ where non-null expected
rdma-core-59.0/ibacm/src/parse.c:73:8: enter_function: entry to ‘parse’
rdma-core-59.0/ibacm/src/parse.c:82:12: branch_false: following ‘false’ branch (when ‘cpy’ is non-NULL)...
rdma-core-59.0/ibacm/src/parse.c:85:13: branch_false: ...to here
rdma-core-59.0/ibacm/src/parse.c:85:12: branch_true: following ‘true’ branch...
rdma-core-59.0/ibacm/src/parse.c:86:17: branch_true: ...to here
rdma-core-59.0/ibacm/src/parse.c:94:12: branch_false: following ‘false’ branch (when ‘next’ is non-NULL)...
rdma-core-59.0/ibacm/src/parse.c:103:27: branch_false: ...to here
rdma-core-59.0/ibacm/src/parse.c:103:27: call_function: calling ‘expand’ from ‘parse’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def226]
rdma-core-59.0/ibacm/src/parse.c:62:25: warning[-Wanalyzer-malloc-leak]: leak of ‘str_buf’
rdma-core-59.0/ibacm/src/parse.c:73:8: enter_function: entry to ‘parse’
rdma-core-59.0/ibacm/src/parse.c:82:12: branch_false: following ‘false’ branch (when ‘cpy’ is non-NULL)...
rdma-core-59.0/ibacm/src/parse.c:85:13: branch_false: ...to here
rdma-core-59.0/ibacm/src/parse.c:85:12: branch_true: following ‘true’ branch...
rdma-core-59.0/ibacm/src/parse.c:86:17: branch_true: ...to here
rdma-core-59.0/ibacm/src/parse.c:94:12: branch_false: following ‘false’ branch (when ‘next’ is non-NULL)...
rdma-core-59.0/ibacm/src/parse.c:103:27: branch_false: ...to here
rdma-core-59.0/ibacm/src/parse.c:103:27: call_function: calling ‘expand’ from ‘parse’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def227]
rdma-core-59.0/ibacm/src/parse.c:95:28: warning[-Wanalyzer-null-argument]: use of NULL ‘token’ where non-null expected
rdma-core-59.0/ibacm/src/parse.c:82:12: branch_false: following ‘false’ branch (when ‘cpy’ is non-NULL)...
rdma-core-59.0/ibacm/src/parse.c:85:13: branch_false: ...to here
rdma-core-59.0/ibacm/src/parse.c:85:12: branch_false: following ‘false’ branch...
rdma-core-59.0/ibacm/src/parse.c:90:25: branch_false: ...to here
rdma-core-59.0/ibacm/src/parse.c:94:12: branch_true: following ‘true’ branch (when ‘next’ is NULL)...
rdma-core-59.0/ibacm/src/parse.c:95:28: branch_true: ...to here
rdma-core-59.0/ibacm/src/parse.c:95:28: danger: argument 1 (‘token’) NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-131): [#def228]
rdma-core-59.0/ibacm/src/parse.c:106:16: warning[-Wanalyzer-allocation-size]: allocated buffer size is not a multiple of the pointee's size
rdma-core-59.0/ibacm/src/parse.c:82:12: branch_false: following ‘false’ branch (when ‘cpy’ is non-NULL)...
rdma-core-59.0/ibacm/src/parse.c:85:13: branch_false: ...to here
rdma-core-59.0/ibacm/src/parse.c:85:12: branch_true: following ‘true’ branch...
rdma-core-59.0/ibacm/src/parse.c:86:17: branch_true: ...to here
rdma-core-59.0/ibacm/src/parse.c:94:12: branch_true: following ‘true’ branch (when ‘next’ is NULL)...
rdma-core-59.0/ibacm/src/parse.c:95:28: branch_true: ...to here
rdma-core-59.0/ibacm/src/parse.c:97:20: branch_false: following ‘false’ branch (when ‘str_buf’ is non-NULL)...
rdma-core-59.0/ibacm/src/parse.c:100:17: branch_false: ...to here
rdma-core-59.0/ibacm/src/parse.c:106:16: danger: allocated 17 bytes and assigned to ‘char **’ here; ‘sizeof (char *)’ is ‘8’
Error: GCC_ANALYZER_WARNING (CWE-122): [#def229]
rdma-core-59.0/ibacm/src/parse.c:115:9: warning[-Wanalyzer-out-of-bounds]: heap-based buffer overflow
rdma-core-59.0/ibacm/src/parse.c:73:8: enter_function: entry to ‘parse’
rdma-core-59.0/ibacm/src/parse.c:82:12: branch_false: following ‘false’ branch (when ‘cpy’ is non-NULL)...
rdma-core-59.0/ibacm/src/parse.c:85:13: branch_false: ...to here
rdma-core-59.0/ibacm/src/parse.c:85:12: branch_true: following ‘true’ branch...
rdma-core-59.0/ibacm/src/parse.c:86:17: branch_true: ...to here
rdma-core-59.0/ibacm/src/parse.c:94:12: branch_false: following ‘false’ branch (when ‘next’ is non-NULL)...
rdma-core-59.0/ibacm/src/parse.c:103:27: branch_false: ...to here
rdma-core-59.0/ibacm/src/parse.c:103:27: call_function: calling ‘expand’ from ‘parse’
rdma-core-59.0/ibacm/src/parse.c:103:27: return_function: returning to ‘parse’ from ‘expand’
rdma-core-59.0/ibacm/src/parse.c:107:12: branch_false: following ‘false’ branch (when ‘ptrs’ is non-NULL)...
rdma-core-59.0/ibacm/src/parse.c:110:22: branch_false: ...to here
rdma-core-59.0/ibacm/src/parse.c:113:21: branch_false: following ‘false’ branch...
rdma-core-59.0/ibacm/src/parse.c:115:13: branch_false: ...to here
rdma-core-59.0/ibacm/src/parse.c:115:9: danger: out-of-bounds write from byte 8 till byte 15 but region ends at byte 8
Error: CPPCHECK_WARNING (CWE-457): [#def230]
rdma-core-59.0/infiniband-diags/dump_fts.c:166: error[uninitvar]: Uninitialized variable: str
Error: GCC_ANALYZER_WARNING (CWE-404): [#def231]
rdma-core-59.0/infiniband-diags/ibdiag_common.c:885:15: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
rdma-core-59.0/infiniband-diags/ibdiag_common.c:902:5: enter_function: entry to ‘snprint_field’
rdma-core-59.0/infiniband-diags/ibdiag_common.c:908:9: acquire_resource: ‘va_start’ called here
rdma-core-59.0/infiniband-diags/ibdiag_common.c:909:15: call_function: calling ‘vsnprint_field’ from ‘snprint_field’
Error: GCC_ANALYZER_WARNING (CWE-404): [#def232]
rdma-core-59.0/infiniband-diags/ibdiag_common.c:889:22: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
rdma-core-59.0/infiniband-diags/ibdiag_common.c:902:5: enter_function: entry to ‘snprint_field’
rdma-core-59.0/infiniband-diags/ibdiag_common.c:908:9: acquire_resource: ‘va_start’ called here
rdma-core-59.0/infiniband-diags/ibdiag_common.c:909:15: call_function: calling ‘vsnprint_field’ from ‘snprint_field’
Error: GCC_ANALYZER_WARNING (CWE-121): [#def233]
rdma-core-59.0/infiniband-diags/ibdiag_common.c:897:17: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
rdma-core-59.0/infiniband-diags/ibdiag_common.c:915:6: enter_function: entry to ‘dump_portinfo’
rdma-core-59.0/infiniband-diags/ibdiag_common.c:921:39: branch_true: following ‘true’ branch (when ‘field != 74’)...
branch_true: ...to here
rdma-core-59.0/infiniband-diags/ibdiag_common.c:924:20: branch_true: following ‘true’ branch...
rdma-core-59.0/infiniband-diags/ibdiag_common.c:925:25: call_function: calling ‘snprint_field’ from ‘dump_portinfo’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def234]
rdma-core-59.0/infiniband-diags/ibdiag_sa.c:60:9: warning[-Wanalyzer-malloc-leak]: leak of ‘handle’
rdma-core-59.0/infiniband-diags/ibdiag_sa.c:54:18: acquire_memory: allocated here
rdma-core-59.0/infiniband-diags/ibdiag_sa.c:55:12: branch_false: following ‘false’ branch (when ‘handle’ is non-NULL)...
rdma-core-59.0/infiniband-diags/ibdiag_sa.c:58:22: branch_false: ...to here
rdma-core-59.0/infiniband-diags/ibdiag_sa.c:60:9: danger: ‘handle’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def235]
rdma-core-59.0/infiniband-diags/ibdiag_sa.c:123:9: warning[-Wanalyzer-malloc-leak]: leak of ‘umad’
rdma-core-59.0/infiniband-diags/ibdiag_sa.c:119:16: acquire_memory: allocated here
rdma-core-59.0/infiniband-diags/ibdiag_sa.c:120:12: branch_false: following ‘false’ branch (when ‘umad’ is non-NULL)...
rdma-core-59.0/infiniband-diags/ibdiag_sa.c:123:9: branch_false: ...to here
rdma-core-59.0/infiniband-diags/ibdiag_sa.c:123:9: danger: ‘umad’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def236]
rdma-core-59.0/infiniband-diags/ibdiag_sa.c:139:15: warning[-Wanalyzer-malloc-leak]: leak of ‘umad’
rdma-core-59.0/infiniband-diags/ibdiag_sa.c:120:12: branch_false: following ‘false’ branch (when ‘umad’ is non-NULL)...
rdma-core-59.0/infiniband-diags/ibdiag_sa.c:123:9: branch_false: ...to here
rdma-core-59.0/infiniband-diags/ibdiag_sa.c:131:12: branch_false: following ‘false’ branch...
branch_false: ...to here
rdma-core-59.0/infiniband-diags/ibdiag_sa.c:140:12: branch_true: following ‘true’ branch...
rdma-core-59.0/infiniband-diags/ibdiag_sa.c:141:21: branch_true: ...to here
rdma-core-59.0/infiniband-diags/ibdiag_sa.c:141:20: branch_true: following ‘true’ branch...
rdma-core-59.0/infiniband-diags/ibdiag_sa.c:142:50: branch_true: ...to here
rdma-core-59.0/infiniband-diags/ibdiag_sa.c:143:28: branch_false: following ‘false’ branch (when ‘new_umad’ is non-NULL)...
rdma-core-59.0/infiniband-diags/ibdiag_sa.c:149:25: branch_false: ...to here
rdma-core-59.0/infiniband-diags/ibdiag_sa.c:139:15: danger: ‘umad’ leaks here; was allocated at [(9)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def237]
rdma-core-59.0/infiniband-diags/iblinkinfo.c:293:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘out_header_flag’
rdma-core-59.0/infiniband-diags/iblinkinfo.c:454:12: enter_function: entry to ‘diff_node’
rdma-core-59.0/infiniband-diags/iblinkinfo.c:464:12: branch_true: following ‘true’ branch (when ‘node’ is non-NULL)...
rdma-core-59.0/infiniband-diags/iblinkinfo.c:465:17: branch_true: ...to here
rdma-core-59.0/infiniband-diags/iblinkinfo.c:465:17: call_function: calling ‘diff_node_iter’ from ‘diff_node’
Error: GCC_ANALYZER_WARNING (CWE-787): [#def238]
rdma-core-59.0/infiniband-diags/ibnetdiscover.c:179:9: warning[-Wanalyzer-out-of-bounds]: buffer overflow
rdma-core-59.0/infiniband-diags/ibnetdiscover.c:427:13: enter_function: entry to ‘out_ca_port’
rdma-core-59.0/infiniband-diags/ibnetdiscover.c:444:9: call_function: calling ‘node_name’ from ‘out_ca_port’
Error: GCC_ANALYZER_WARNING (CWE-479): [#def239]
rdma-core-59.0/infiniband-diags/ibping.c:153:9: warning[-Wanalyzer-unsafe-call-within-signal-handler]: call to ‘fprintf’ from within signal handler
rdma-core-59.0/infiniband-diags/ibping.c:195:5: enter_function: entry to ‘main’
rdma-core-59.0/infiniband-diags/ibping.c:221:12: branch_false: following ‘false’ branch...
rdma-core-59.0/infiniband-diags/ibping.c:224:19: branch_false: ...to here
rdma-core-59.0/infiniband-diags/ibping.c:225:12: branch_false: following ‘false’ branch...
rdma-core-59.0/infiniband-diags/ibping.c:228:13: branch_false: ...to here
rdma-core-59.0/infiniband-diags/ibping.c:228:12: branch_false: following ‘false’ branch...
rdma-core-59.0/infiniband-diags/ibping.c:240:13: branch_false: ...to here
rdma-core-59.0/infiniband-diags/ibping.c:240:12: branch_false: following ‘false’ branch...
rdma-core-59.0/infiniband-diags/ibping.c:244:13: branch_false: ...to here
rdma-core-59.0/infiniband-diags/ibping.c:244:12: branch_false: following ‘false’ branch...
rdma-core-59.0/infiniband-diags/ibping.c:248:9: branch_false: ...to here
rdma-core-59.0/infiniband-diags/ibping.c:149:13: enter_function: entry to ‘report’
rdma-core-59.0/infiniband-diags/ibping.c:153:9: branch_true: following ‘true’ branch...
rdma-core-59.0/infiniband-diags/ibping.c:153:9: branch_true: ...to here
rdma-core-59.0/infiniband-diags/ibping.c:153:9: danger: call to ‘fprintf’ from within signal handler
Error: GCC_ANALYZER_WARNING (CWE-479): [#def240]
rdma-core-59.0/infiniband-diags/ibping.c:155:9: warning[-Wanalyzer-unsafe-call-within-signal-handler]: call to ‘printf’ from within signal handler
rdma-core-59.0/infiniband-diags/ibping.c:195:5: enter_function: entry to ‘main’
rdma-core-59.0/infiniband-diags/ibping.c:221:12: branch_false: following ‘false’ branch...
rdma-core-59.0/infiniband-diags/ibping.c:224:19: branch_false: ...to here
rdma-core-59.0/infiniband-diags/ibping.c:225:12: branch_false: following ‘false’ branch...
rdma-core-59.0/infiniband-diags/ibping.c:228:13: branch_false: ...to here
rdma-core-59.0/infiniband-diags/ibping.c:228:12: branch_false: following ‘false’ branch...
rdma-core-59.0/infiniband-diags/ibping.c:240:13: branch_false: ...to here
rdma-core-59.0/infiniband-diags/ibping.c:240:12: branch_false: following ‘false’ branch...
rdma-core-59.0/infiniband-diags/ibping.c:244:13: branch_false: ...to here
rdma-core-59.0/infiniband-diags/ibping.c:244:12: branch_false: following ‘false’ branch...
rdma-core-59.0/infiniband-diags/ibping.c:248:9: branch_false: ...to here
rdma-core-59.0/infiniband-diags/ibping.c:149:13: enter_function: entry to ‘report’
rdma-core-59.0/infiniband-diags/ibping.c:155:9: danger: call to ‘printf’ from within signal handler
Error: GCC_ANALYZER_WARNING (CWE-479): [#def241]
rdma-core-59.0/infiniband-diags/ibping.c:157:9: warning[-Wanalyzer-unsafe-call-within-signal-handler]: call to ‘printf’ from within signal handler
rdma-core-59.0/infiniband-diags/ibping.c:195:5: enter_function: entry to ‘main’
rdma-core-59.0/infiniband-diags/ibping.c:221:12: branch_false: following ‘false’ branch...
rdma-core-59.0/infiniband-diags/ibping.c:224:19: branch_false: ...to here
rdma-core-59.0/infiniband-diags/ibping.c:225:12: branch_false: following ‘false’ branch...
rdma-core-59.0/infiniband-diags/ibping.c:228:13: branch_false: ...to here
rdma-core-59.0/infiniband-diags/ibping.c:228:12: branch_false: following ‘false’ branch...
rdma-core-59.0/infiniband-diags/ibping.c:240:13: branch_false: ...to here
rdma-core-59.0/infiniband-diags/ibping.c:240:12: branch_false: following ‘false’ branch...
rdma-core-59.0/infiniband-diags/ibping.c:244:13: branch_false: ...to here
rdma-core-59.0/infiniband-diags/ibping.c:244:12: branch_false: following ‘false’ branch...
rdma-core-59.0/infiniband-diags/ibping.c:248:9: branch_false: ...to here
rdma-core-59.0/infiniband-diags/ibping.c:149:13: enter_function: entry to ‘report’
rdma-core-59.0/infiniband-diags/ibping.c:157:9: branch_false: following ‘false’ branch...
rdma-core-59.0/infiniband-diags/ibping.c:157:9: branch_false: ...to here
rdma-core-59.0/infiniband-diags/ibping.c:157:9: danger: call to ‘printf’ from within signal handler
Error: GCC_ANALYZER_WARNING (CWE-479): [#def242]
rdma-core-59.0/infiniband-diags/ibping.c:160:9: warning[-Wanalyzer-unsafe-call-within-signal-handler]: call to ‘printf’ from within signal handler
rdma-core-59.0/infiniband-diags/ibping.c:195:5: enter_function: entry to ‘main’
rdma-core-59.0/infiniband-diags/ibping.c:221:12: branch_false: following ‘false’ branch...
rdma-core-59.0/infiniband-diags/ibping.c:224:19: branch_false: ...to here
rdma-core-59.0/infiniband-diags/ibping.c:225:12: branch_false: following ‘false’ branch...
rdma-core-59.0/infiniband-diags/ibping.c:228:13: branch_false: ...to here
rdma-core-59.0/infiniband-diags/ibping.c:228:12: branch_false: following ‘false’ branch...
rdma-core-59.0/infiniband-diags/ibping.c:240:13: branch_false: ...to here
rdma-core-59.0/infiniband-diags/ibping.c:240:12: branch_false: following ‘false’ branch...
rdma-core-59.0/infiniband-diags/ibping.c:244:13: branch_false: ...to here
rdma-core-59.0/infiniband-diags/ibping.c:244:12: branch_false: following ‘false’ branch...
rdma-core-59.0/infiniband-diags/ibping.c:248:9: branch_false: ...to here
rdma-core-59.0/infiniband-diags/ibping.c:149:13: enter_function: entry to ‘report’
rdma-core-59.0/infiniband-diags/ibping.c:157:9: branch_false: following ‘false’ branch...
rdma-core-59.0/infiniband-diags/ibping.c:157:9: branch_false: ...to here
rdma-core-59.0/infiniband-diags/ibping.c:160:9: branch_false: following ‘false’ branch...
rdma-core-59.0/infiniband-diags/ibping.c:160:9: danger: call to ‘printf’ from within signal handler
Error: GCC_ANALYZER_WARNING (CWE-479): [#def243]
rdma-core-59.0/infiniband-diags/ibping.c:168:9: warning[-Wanalyzer-unsafe-call-within-signal-handler]: call to ‘exit’ from within signal handler
rdma-core-59.0/infiniband-diags/ibping.c:195:5: enter_function: entry to ‘main’
rdma-core-59.0/infiniband-diags/ibping.c:221:12: branch_false: following ‘false’ branch...
rdma-core-59.0/infiniband-diags/ibping.c:224:19: branch_false: ...to here
rdma-core-59.0/infiniband-diags/ibping.c:225:12: branch_false: following ‘false’ branch...
rdma-core-59.0/infiniband-diags/ibping.c:228:13: branch_false: ...to here
rdma-core-59.0/infiniband-diags/ibping.c:228:12: branch_false: following ‘false’ branch...
rdma-core-59.0/infiniband-diags/ibping.c:240:13: branch_false: ...to here
rdma-core-59.0/infiniband-diags/ibping.c:240:12: branch_false: following ‘false’ branch...
rdma-core-59.0/infiniband-diags/ibping.c:244:13: branch_false: ...to here
rdma-core-59.0/infiniband-diags/ibping.c:244:12: branch_false: following ‘false’ branch...
rdma-core-59.0/infiniband-diags/ibping.c:248:9: branch_false: ...to here
rdma-core-59.0/infiniband-diags/ibping.c:149:13: enter_function: entry to ‘report’
rdma-core-59.0/infiniband-diags/ibping.c:157:9: branch_false: following ‘false’ branch...
rdma-core-59.0/infiniband-diags/ibping.c:157:9: branch_false: ...to here
rdma-core-59.0/infiniband-diags/ibping.c:160:9: branch_false: following ‘false’ branch...
rdma-core-59.0/infiniband-diags/ibping.c:168:9: danger: call to ‘exit’ from within signal handler
Error: GCC_ANALYZER_WARNING (CWE-775): [#def244]
rdma-core-59.0/infiniband-diags/ibqueryerrors.c:112:21: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(threshold_file, "r")’
rdma-core-59.0/infiniband-diags/ibqueryerrors.c:128:13: enter_function: entry to ‘set_thresholds’
rdma-core-59.0/infiniband-diags/ibqueryerrors.c:132:24: acquire_resource: opened here
rdma-core-59.0/infiniband-diags/ibqueryerrors.c:138:12: branch_false: following ‘false’ branch...
rdma-core-59.0/infiniband-diags/ibqueryerrors.c:141:9: branch_false: ...to here
rdma-core-59.0/infiniband-diags/ibqueryerrors.c:143:12: branch_false: following ‘false’ branch...
rdma-core-59.0/infiniband-diags/ibqueryerrors.c:148:9: branch_false: ...to here
rdma-core-59.0/infiniband-diags/ibqueryerrors.c:149:16: branch_true: following ‘true’ branch...
rdma-core-59.0/infiniband-diags/ibqueryerrors.c:150:28: branch_true: ...to here
rdma-core-59.0/infiniband-diags/ibqueryerrors.c:161:17: call_function: calling ‘set_thres’ from ‘set_thresholds’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def245]
rdma-core-59.0/infiniband-diags/ibqueryerrors.c:112:21: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(threshold_file, "r")’
rdma-core-59.0/infiniband-diags/ibqueryerrors.c:128:13: enter_function: entry to ‘set_thresholds’
rdma-core-59.0/infiniband-diags/ibqueryerrors.c:132:24: acquire_memory: allocated here
rdma-core-59.0/infiniband-diags/ibqueryerrors.c:138:12: branch_false: following ‘false’ branch...
rdma-core-59.0/infiniband-diags/ibqueryerrors.c:141:9: branch_false: ...to here
rdma-core-59.0/infiniband-diags/ibqueryerrors.c:143:12: branch_false: following ‘false’ branch...
rdma-core-59.0/infiniband-diags/ibqueryerrors.c:148:9: branch_false: ...to here
rdma-core-59.0/infiniband-diags/ibqueryerrors.c:149:16: branch_true: following ‘true’ branch...
rdma-core-59.0/infiniband-diags/ibqueryerrors.c:150:28: branch_true: ...to here
rdma-core-59.0/infiniband-diags/ibqueryerrors.c:161:17: call_function: calling ‘set_thres’ from ‘set_thresholds’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def246]
rdma-core-59.0/infiniband-diags/ibqueryerrors.c:113:25: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(threshold_file, "r")’
rdma-core-59.0/infiniband-diags/ibqueryerrors.c:128:13: enter_function: entry to ‘set_thresholds’
rdma-core-59.0/infiniband-diags/ibqueryerrors.c:132:24: acquire_resource: opened here
rdma-core-59.0/infiniband-diags/ibqueryerrors.c:138:12: branch_false: following ‘false’ branch...
rdma-core-59.0/infiniband-diags/ibqueryerrors.c:141:9: branch_false: ...to here
rdma-core-59.0/infiniband-diags/ibqueryerrors.c:143:12: branch_false: following ‘false’ branch...
rdma-core-59.0/infiniband-diags/ibqueryerrors.c:148:9: branch_false: ...to here
rdma-core-59.0/infiniband-diags/ibqueryerrors.c:149:16: branch_true: following ‘true’ branch...
rdma-core-59.0/infiniband-diags/ibqueryerrors.c:150:28: branch_true: ...to here
rdma-core-59.0/infiniband-diags/ibqueryerrors.c:161:17: call_function: calling ‘set_thres’ from ‘set_thresholds’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def247]
rdma-core-59.0/infiniband-diags/ibqueryerrors.c:113:25: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(threshold_file, "r")’
rdma-core-59.0/infiniband-diags/ibqueryerrors.c:128:13: enter_function: entry to ‘set_thresholds’
rdma-core-59.0/infiniband-diags/ibqueryerrors.c:132:24: acquire_memory: allocated here
rdma-core-59.0/infiniband-diags/ibqueryerrors.c:138:12: branch_false: following ‘false’ branch...
rdma-core-59.0/infiniband-diags/ibqueryerrors.c:141:9: branch_false: ...to here
rdma-core-59.0/infiniband-diags/ibqueryerrors.c:143:12: branch_false: following ‘false’ branch...
rdma-core-59.0/infiniband-diags/ibqueryerrors.c:148:9: branch_false: ...to here
rdma-core-59.0/infiniband-diags/ibqueryerrors.c:149:16: branch_true: following ‘true’ branch...
rdma-core-59.0/infiniband-diags/ibqueryerrors.c:150:28: branch_true: ...to here
rdma-core-59.0/infiniband-diags/ibqueryerrors.c:161:17: call_function: calling ‘set_thres’ from ‘set_thresholds’
Error: GCC_ANALYZER_WARNING (CWE-465): [#def248]
rdma-core-59.0/infiniband-diags/ibqueryerrors.c:117:28: warning[-Wanalyzer-deref-before-check]: check of ‘threshold_str’ for NULL after already dereferencing it
rdma-core-59.0/infiniband-diags/ibqueryerrors.c:111:39: branch_true: following ‘true’ branch (when ‘f != 657’)...
rdma-core-59.0/infiniband-diags/ibqueryerrors.c:112:21: branch_true: ...to here
rdma-core-59.0/infiniband-diags/ibqueryerrors.c:112:20: branch_true: following ‘true’ branch (when the strings are equal)...
rdma-core-59.0/infiniband-diags/ibqueryerrors.c:113:25: branch_true: ...to here
rdma-core-59.0/infiniband-diags/ibqueryerrors.c:117:28: danger: pointer ‘threshold_str’ is checked for NULL here but it was already dereferenced at [(5)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def249]
rdma-core-59.0/infiniband-diags/ibqueryerrors.c:143:12: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(threshold_file, "r")’
rdma-core-59.0/infiniband-diags/ibqueryerrors.c:132:24: acquire_resource: opened here
rdma-core-59.0/infiniband-diags/ibqueryerrors.c:138:12: branch_false: following ‘false’ branch...
rdma-core-59.0/infiniband-diags/ibqueryerrors.c:141:9: branch_false: ...to here
rdma-core-59.0/infiniband-diags/ibqueryerrors.c:143:12: danger: ‘fopen(threshold_file, "r")’ leaks here; was opened at [(1)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def250]
rdma-core-59.0/infiniband-diags/ibqueryerrors.c:143:12: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(threshold_file, "r")’
rdma-core-59.0/infiniband-diags/ibqueryerrors.c:132:24: acquire_memory: allocated here
rdma-core-59.0/infiniband-diags/ibqueryerrors.c:138:12: branch_false: following ‘false’ branch...
rdma-core-59.0/infiniband-diags/ibqueryerrors.c:141:9: branch_false: ...to here
rdma-core-59.0/infiniband-diags/ibqueryerrors.c:143:12: danger: ‘fopen(threshold_file, "r")’ leaks here; was allocated at [(1)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-457): [#def251]
rdma-core-59.0/infiniband-diags/ibroute.c:192: error[uninitvar]: Uninitialized variable: str
Error: GCC_ANALYZER_WARNING (CWE-775): [#def252]
rdma-core-59.0/infiniband-diags/ibstat.c:124:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(&path, 0)’
rdma-core-59.0/infiniband-diags/ibstat.c:274:5: enter_function: entry to ‘main’
rdma-core-59.0/infiniband-diags/ibstat.c:302:12: branch_true: following ‘true’ branch (when ‘argc > 1’)...
rdma-core-59.0/infiniband-diags/ibstat.c:303:28: branch_true: ...to here
rdma-core-59.0/infiniband-diags/ibstat.c:305:12: branch_false: following ‘false’ branch...
rdma-core-59.0/infiniband-diags/ibstat.c:308:23: branch_false: ...to here
rdma-core-59.0/infiniband-diags/ibstat.c:315:12: branch_true: following ‘true’ branch (when ‘argc != 0’)...
rdma-core-59.0/infiniband-diags/ibstat.c:316:22: branch_true: ...to here
rdma-core-59.0/infiniband-diags/ibstat.c:316:42: branch_true: following ‘true’ branch (when ‘node’ is non-NULL)...
rdma-core-59.0/infiniband-diags/ibstat.c:317:30: branch_true: ...to here
rdma-core-59.0/infiniband-diags/ibstat.c:319:20: branch_false: following ‘false’ branch (when ‘node’ is non-NULL)...
rdma-core-59.0/infiniband-diags/ibstat.c:323:17: branch_false: ...to here
rdma-core-59.0/infiniband-diags/ibstat.c:329:12: branch_false: following ‘false’ branch...
branch_false: ...to here
rdma-core-59.0/infiniband-diags/ibstat.c:336:33: branch_true: following ‘true’ branch (when ‘node != last_node’)...
rdma-core-59.0/infiniband-diags/ibstat.c:337:17: branch_true: ...to here
rdma-core-59.0/infiniband-diags/ibstat.c:338:20: branch_false: following ‘false’ branch...
rdma-core-59.0/infiniband-diags/ibstat.c:340:26: branch_false: ...to here
rdma-core-59.0/infiniband-diags/ibstat.c:340:26: call_function: calling ‘ca_stat’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def253]
rdma-core-59.0/infiniband-diags/ibstat.c:133:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(&path, 0)’
rdma-core-59.0/infiniband-diags/ibstat.c:274:5: enter_function: entry to ‘main’
rdma-core-59.0/infiniband-diags/ibstat.c:302:12: branch_true: following ‘true’ branch (when ‘argc > 1’)...
rdma-core-59.0/infiniband-diags/ibstat.c:303:28: branch_true: ...to here
rdma-core-59.0/infiniband-diags/ibstat.c:305:12: branch_false: following ‘false’ branch...
rdma-core-59.0/infiniband-diags/ibstat.c:308:23: branch_false: ...to here
rdma-core-59.0/infiniband-diags/ibstat.c:315:12: branch_true: following ‘true’ branch (when ‘argc != 0’)...
rdma-core-59.0/infiniband-diags/ibstat.c:316:22: branch_true: ...to here
rdma-core-59.0/infiniband-diags/ibstat.c:316:42: branch_true: following ‘true’ branch (when ‘node’ is non-NULL)...
rdma-core-59.0/infiniband-diags/ibstat.c:317:30: branch_true: ...to here
rdma-core-59.0/infiniband-diags/ibstat.c:319:20: branch_false: following ‘false’ branch (when ‘node’ is non-NULL)...
rdma-core-59.0/infiniband-diags/ibstat.c:323:17: branch_false: ...to here
rdma-core-59.0/infiniband-diags/ibstat.c:329:12: branch_false: following ‘false’ branch...
branch_false: ...to here
rdma-core-59.0/infiniband-diags/ibstat.c:336:33: branch_true: following ‘true’ branch (when ‘node != last_node’)...
rdma-core-59.0/infiniband-diags/ibstat.c:337:17: branch_true: ...to here
rdma-core-59.0/infiniband-diags/ibstat.c:338:20: branch_false: following ‘false’ branch...
rdma-core-59.0/infiniband-diags/ibstat.c:340:26: branch_false: ...to here
rdma-core-59.0/infiniband-diags/ibstat.c:340:26: call_function: calling ‘ca_stat’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def254]
rdma-core-59.0/infiniband-diags/ibtracert.c:140:14: warning[-Wanalyzer-malloc-leak]: leak of ‘node’
rdma-core-59.0/infiniband-diags/ibtracert.c:535:14: enter_function: entry to ‘find_mcpath’
rdma-core-59.0/infiniband-diags/ibtracert.c:546:16: acquire_memory: allocated here
rdma-core-59.0/infiniband-diags/ibtracert.c:547:12: branch_false: following ‘false’ branch (when ‘node’ is non-NULL)...
rdma-core-59.0/infiniband-diags/ibtracert.c:550:16: branch_false: ...to here
rdma-core-59.0/infiniband-diags/ibtracert.c:551:12: branch_false: following ‘false’ branch (when ‘port’ is non-NULL)...
rdma-core-59.0/infiniband-diags/ibtracert.c:556:13: branch_false: ...to here
rdma-core-59.0/infiniband-diags/ibtracert.c:556:13: call_function: calling ‘get_node’ from ‘find_mcpath’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def255]
rdma-core-59.0/infiniband-diags/ibtracert.c:140:14: warning[-Wanalyzer-malloc-leak]: leak of ‘port’
rdma-core-59.0/infiniband-diags/ibtracert.c:535:14: enter_function: entry to ‘find_mcpath’
rdma-core-59.0/infiniband-diags/ibtracert.c:547:12: branch_false: following ‘false’ branch (when ‘node’ is non-NULL)...
rdma-core-59.0/infiniband-diags/ibtracert.c:550:16: branch_false: ...to here
rdma-core-59.0/infiniband-diags/ibtracert.c:550:16: acquire_memory: allocated here
rdma-core-59.0/infiniband-diags/ibtracert.c:551:12: branch_false: following ‘false’ branch (when ‘port’ is non-NULL)...
rdma-core-59.0/infiniband-diags/ibtracert.c:556:13: branch_false: ...to here
rdma-core-59.0/infiniband-diags/ibtracert.c:556:13: call_function: calling ‘get_node’ from ‘find_mcpath’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def256]
rdma-core-59.0/infiniband-diags/ibtracert.c:144:14: warning[-Wanalyzer-malloc-leak]: leak of ‘port’
rdma-core-59.0/infiniband-diags/ibtracert.c:535:14: enter_function: entry to ‘find_mcpath’
rdma-core-59.0/infiniband-diags/ibtracert.c:547:12: branch_false: following ‘false’ branch (when ‘node’ is non-NULL)...
rdma-core-59.0/infiniband-diags/ibtracert.c:550:16: branch_false: ...to here
rdma-core-59.0/infiniband-diags/ibtracert.c:550:16: acquire_memory: allocated here
rdma-core-59.0/infiniband-diags/ibtracert.c:551:12: branch_false: following ‘false’ branch (when ‘port’ is non-NULL)...
rdma-core-59.0/infiniband-diags/ibtracert.c:556:13: branch_false: ...to here
rdma-core-59.0/infiniband-diags/ibtracert.c:556:13: call_function: calling ‘get_node’ from ‘find_mcpath’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def257]
rdma-core-59.0/infiniband-diags/ibtracert.c:155:14: warning[-Wanalyzer-malloc-leak]: leak of ‘port’
rdma-core-59.0/infiniband-diags/ibtracert.c:535:14: enter_function: entry to ‘find_mcpath’
rdma-core-59.0/infiniband-diags/ibtracert.c:547:12: branch_false: following ‘false’ branch (when ‘node’ is non-NULL)...
rdma-core-59.0/infiniband-diags/ibtracert.c:550:16: branch_false: ...to here
rdma-core-59.0/infiniband-diags/ibtracert.c:550:16: acquire_memory: allocated here
rdma-core-59.0/infiniband-diags/ibtracert.c:551:12: branch_false: following ‘false’ branch (when ‘port’ is non-NULL)...
rdma-core-59.0/infiniband-diags/ibtracert.c:556:13: branch_false: ...to here
rdma-core-59.0/infiniband-diags/ibtracert.c:556:13: call_function: calling ‘get_node’ from ‘find_mcpath’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def258]
rdma-core-59.0/infiniband-diags/mcm_rereg_test.c:69:9: warning[-Wanalyzer-malloc-leak]: leak of ‘list’
rdma-core-59.0/infiniband-diags/mcm_rereg_test.c:312:12: enter_function: entry to ‘rereg_and_test_port’
rdma-core-59.0/infiniband-diags/mcm_rereg_test.c:323:16: acquire_memory: allocated here
rdma-core-59.0/infiniband-diags/mcm_rereg_test.c:324:12: branch_false: following ‘false’ branch (when ‘list’ is non-NULL)...
rdma-core-59.0/infiniband-diags/mcm_rereg_test.c:330:13: branch_false: ...to here
rdma-core-59.0/infiniband-diags/mcm_rereg_test.c:331:12: branch_false: following ‘false’ branch...
branch_false: ...to here
rdma-core-59.0/infiniband-diags/mcm_rereg_test.c:337:16: branch_true: following ‘true’ branch...
rdma-core-59.0/infiniband-diags/mcm_rereg_test.c:338:24: branch_true: ...to here
rdma-core-59.0/infiniband-diags/mcm_rereg_test.c:345:20: branch_false: following ‘false’ branch (when ‘i != 50’)...
branch_false: ...to here
rdma-core-59.0/infiniband-diags/mcm_rereg_test.c:337:16: branch_false: following ‘false’ branch...
rdma-core-59.0/infiniband-diags/mcm_rereg_test.c:348:9: branch_false: ...to here
rdma-core-59.0/infiniband-diags/mcm_rereg_test.c:350:9: call_function: calling ‘rereg_send_all’ from ‘rereg_and_test_port’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def259]
rdma-core-59.0/infiniband-diags/mcm_rereg_test.c:69:9: warning[-Wanalyzer-malloc-leak]: leak of ‘umad’
rdma-core-59.0/infiniband-diags/mcm_rereg_test.c:263:12: enter_function: entry to ‘rereg_query_all’
rdma-core-59.0/infiniband-diags/mcm_rereg_test.c:274:16: acquire_memory: allocated here
rdma-core-59.0/infiniband-diags/mcm_rereg_test.c:275:12: branch_false: following ‘false’ branch (when ‘umad’ is non-NULL)...
branch_false: ...to here
rdma-core-59.0/infiniband-diags/mcm_rereg_test.c:280:21: branch_true: following ‘true’ branch (when ‘i < cnt’)...
rdma-core-59.0/infiniband-diags/mcm_rereg_test.c:282:57: branch_true: ...to here
rdma-core-59.0/infiniband-diags/mcm_rereg_test.c:281:23: call_function: calling ‘rereg_send’ from ‘rereg_query_all’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def260]
rdma-core-59.0/infiniband-diags/mcm_rereg_test.c:70:9: warning[-Wanalyzer-malloc-leak]: leak of ‘list’
rdma-core-59.0/infiniband-diags/mcm_rereg_test.c:312:12: enter_function: entry to ‘rereg_and_test_port’
rdma-core-59.0/infiniband-diags/mcm_rereg_test.c:323:16: acquire_memory: allocated here
rdma-core-59.0/infiniband-diags/mcm_rereg_test.c:324:12: branch_false: following ‘false’ branch (when ‘list’ is non-NULL)...
rdma-core-59.0/infiniband-diags/mcm_rereg_test.c:330:13: branch_false: ...to here
rdma-core-59.0/infiniband-diags/mcm_rereg_test.c:331:12: branch_false: following ‘false’ branch...
branch_false: ...to here
rdma-core-59.0/infiniband-diags/mcm_rereg_test.c:337:16: branch_true: following ‘true’ branch...
rdma-core-59.0/infiniband-diags/mcm_rereg_test.c:338:24: branch_true: ...to here
rdma-core-59.0/infiniband-diags/mcm_rereg_test.c:345:20: branch_false: following ‘false’ branch (when ‘i != 50’)...
branch_false: ...to here
rdma-core-59.0/infiniband-diags/mcm_rereg_test.c:337:16: branch_false: following ‘false’ branch...
rdma-core-59.0/infiniband-diags/mcm_rereg_test.c:348:9: branch_false: ...to here
rdma-core-59.0/infiniband-diags/mcm_rereg_test.c:350:9: call_function: calling ‘rereg_send_all’ from ‘rereg_and_test_port’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def261]
rdma-core-59.0/infiniband-diags/mcm_rereg_test.c:70:9: warning[-Wanalyzer-malloc-leak]: leak of ‘umad’
rdma-core-59.0/infiniband-diags/mcm_rereg_test.c:263:12: enter_function: entry to ‘rereg_query_all’
rdma-core-59.0/infiniband-diags/mcm_rereg_test.c:274:16: acquire_memory: allocated here
rdma-core-59.0/infiniband-diags/mcm_rereg_test.c:275:12: branch_false: following ‘false’ branch (when ‘umad’ is non-NULL)...
branch_false: ...to here
rdma-core-59.0/infiniband-diags/mcm_rereg_test.c:280:21: branch_true: following ‘true’ branch (when ‘i < cnt’)...
rdma-core-59.0/infiniband-diags/mcm_rereg_test.c:282:57: branch_true: ...to here
rdma-core-59.0/infiniband-diags/mcm_rereg_test.c:281:23: call_function: calling ‘rereg_send’ from ‘rereg_query_all’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def262]
rdma-core-59.0/infiniband-diags/mcm_rereg_test.c:71:9: warning[-Wanalyzer-malloc-leak]: leak of ‘umad’
rdma-core-59.0/infiniband-diags/mcm_rereg_test.c:263:12: enter_function: entry to ‘rereg_query_all’
rdma-core-59.0/infiniband-diags/mcm_rereg_test.c:274:16: acquire_memory: allocated here
rdma-core-59.0/infiniband-diags/mcm_rereg_test.c:275:12: branch_false: following ‘false’ branch (when ‘umad’ is non-NULL)...
branch_false: ...to here
rdma-core-59.0/infiniband-diags/mcm_rereg_test.c:280:21: branch_true: following ‘true’ branch (when ‘i < cnt’)...
rdma-core-59.0/infiniband-diags/mcm_rereg_test.c:282:57: branch_true: ...to here
rdma-core-59.0/infiniband-diags/mcm_rereg_test.c:281:23: call_function: calling ‘rereg_send’ from ‘rereg_query_all’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def263]
rdma-core-59.0/infiniband-diags/mcm_rereg_test.c:91:9: warning[-Wanalyzer-malloc-leak]: leak of ‘umad’
rdma-core-59.0/infiniband-diags/mcm_rereg_test.c:263:12: enter_function: entry to ‘rereg_query_all’
rdma-core-59.0/infiniband-diags/mcm_rereg_test.c:274:16: acquire_memory: allocated here
rdma-core-59.0/infiniband-diags/mcm_rereg_test.c:275:12: branch_false: following ‘false’ branch (when ‘umad’ is non-NULL)...
branch_false: ...to here
rdma-core-59.0/infiniband-diags/mcm_rereg_test.c:280:21: branch_true: following ‘true’ branch (when ‘i < cnt’)...
rdma-core-59.0/infiniband-diags/mcm_rereg_test.c:282:57: branch_true: ...to here
rdma-core-59.0/infiniband-diags/mcm_rereg_test.c:281:23: call_function: calling ‘rereg_send’ from ‘rereg_query_all’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def264]
rdma-core-59.0/infiniband-diags/mcm_rereg_test.c:152:19: warning[-Wanalyzer-malloc-leak]: leak of ‘list’
rdma-core-59.0/infiniband-diags/mcm_rereg_test.c:312:12: enter_function: entry to ‘rereg_and_test_port’
rdma-core-59.0/infiniband-diags/mcm_rereg_test.c:323:16: acquire_memory: allocated here
rdma-core-59.0/infiniband-diags/mcm_rereg_test.c:324:12: branch_false: following ‘false’ branch (when ‘list’ is non-NULL)...
rdma-core-59.0/infiniband-diags/mcm_rereg_test.c:330:13: branch_false: ...to here
rdma-core-59.0/infiniband-diags/mcm_rereg_test.c:331:12: branch_false: following ‘false’ branch...
branch_false: ...to here
rdma-core-59.0/infiniband-diags/mcm_rereg_test.c:337:16: branch_false: following ‘false’ branch...
rdma-core-59.0/infiniband-diags/mcm_rereg_test.c:348:9: branch_false: ...to here
rdma-core-59.0/infiniband-diags/mcm_rereg_test.c:350:9: call_function: calling ‘rereg_send_all’ from ‘rereg_and_test_port’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def265]
rdma-core-59.0/infiniband-diags/mcm_rereg_test.c:189:23: warning[-Wanalyzer-malloc-leak]: leak of ‘umad’
rdma-core-59.0/infiniband-diags/mcm_rereg_test.c:206:12: enter_function: entry to ‘rereg_recv_all’
rdma-core-59.0/infiniband-diags/mcm_rereg_test.c:217:16: acquire_memory: allocated here
rdma-core-59.0/infiniband-diags/mcm_rereg_test.c:218:12: branch_false: following ‘false’ branch (when ‘umad’ is non-NULL)...
branch_false: ...to here
rdma-core-59.0/infiniband-diags/mcm_rereg_test.c:224:16: call_function: calling ‘rereg_recv’ from ‘rereg_recv_all’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def266]
rdma-core-59.0/infiniband-diags/saquery.c:368:40: warning[-Wanalyzer-malloc-leak]: leak of ‘node_name’
rdma-core-59.0/infiniband-diags/saquery.c:1104:12: enter_function: entry to ‘print_multicast_member_records’
rdma-core-59.0/infiniband-diags/saquery.c:1113:12: branch_false: following ‘false’ branch...
rdma-core-59.0/infiniband-diags/saquery.c:1116:15: branch_false: ...to here
rdma-core-59.0/infiniband-diags/saquery.c:1117:12: branch_false: following ‘false’ branch...
branch_false: ...to here
rdma-core-59.0/infiniband-diags/saquery.c:1120:21: branch_true: following ‘true’ branch...
rdma-core-59.0/infiniband-diags/saquery.c:1122:33: branch_true: ...to here
rdma-core-59.0/infiniband-diags/saquery.c:1124:17: call_function: calling ‘dump_multicast_member_record’ from ‘print_multicast_member_records’
Error: CPPCHECK_WARNING (CWE-758): [#def267]
rdma-core-59.0/infiniband-diags/saquery.c:975: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-476): [#def268]
rdma-core-59.0/infiniband-diags/saquery.c:1530: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: src_lid
Error: GCC_ANALYZER_WARNING (CWE-688): [#def269]
rdma-core-59.0/infiniband-diags/saquery.c:1530:35: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘src_lid’ where non-null expected
rdma-core-59.0/infiniband-diags/saquery.c:1529:35: acquire_memory: this call could return NULL
rdma-core-59.0/infiniband-diags/saquery.c:1530:35: danger: argument 1 (‘strdup(optarg)’) from [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2) could be NULL where non-null expected
Error: CPPCHECK_WARNING (CWE-476): [#def270]
rdma-core-59.0/infiniband-diags/saquery.c:1541: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: src_addr
Error: GCC_ANALYZER_WARNING (CWE-688): [#def271]
rdma-core-59.0/infiniband-diags/saquery.c:1541:42: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘src_addr’ where non-null expected
rdma-core-59.0/infiniband-diags/saquery.c:1540:42: acquire_memory: this call could return NULL
rdma-core-59.0/infiniband-diags/saquery.c:1541:42: danger: argument 1 (‘src_addr’) from [(3)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/2) could be NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-401): [#def272]
rdma-core-59.0/infiniband-diags/saquery.c:1543:33: warning[-Wanalyzer-malloc-leak]: leak of ‘src_addr’
rdma-core-59.0/infiniband-diags/saquery.c:1540:42: acquire_memory: allocated here
rdma-core-59.0/infiniband-diags/saquery.c:1542:28: branch_true: following ‘true’ branch (when ‘dst_addr’ is NULL)...
rdma-core-59.0/infiniband-diags/saquery.c:1543:33: branch_true: ...to here
rdma-core-59.0/infiniband-diags/saquery.c:1543:33: danger: ‘src_addr’ leaks here; was allocated at [(3)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def273]
rdma-core-59.0/infiniband-diags/saquery.c:1544:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘dst_addr’
rdma-core-59.0/infiniband-diags/saquery.c:1542:28: branch_true: following ‘true’ branch (when ‘dst_addr’ is NULL)...
rdma-core-59.0/infiniband-diags/saquery.c:1543:33: branch_true: ...to here
rdma-core-59.0/infiniband-diags/saquery.c:1544:25: danger: dereference of NULL ‘dst_addr’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def274]
rdma-core-59.0/infiniband-diags/saquery.c:1546:33: warning[-Wanalyzer-malloc-leak]: leak of ‘src_addr’
rdma-core-59.0/infiniband-diags/saquery.c:1540:42: acquire_memory: allocated here
rdma-core-59.0/infiniband-diags/saquery.c:1542:28: branch_false: following ‘false’ branch (when ‘dst_addr’ is non-NULL)...
rdma-core-59.0/infiniband-diags/saquery.c:1544:26: branch_false: ...to here
rdma-core-59.0/infiniband-diags/saquery.c:1545:28: branch_true: following ‘true’ branch...
rdma-core-59.0/infiniband-diags/saquery.c:1546:33: branch_true: ...to here
rdma-core-59.0/infiniband-diags/saquery.c:1546:33: danger: ‘src_addr’ leaks here; was allocated at [(3)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def275]
rdma-core-59.0/infiniband-diags/saquery.c:1548:33: warning[-Wanalyzer-malloc-leak]: leak of ‘src_addr’
rdma-core-59.0/infiniband-diags/saquery.c:1540:42: acquire_memory: allocated here
rdma-core-59.0/infiniband-diags/saquery.c:1542:28: branch_false: following ‘false’ branch (when ‘dst_addr’ is non-NULL)...
rdma-core-59.0/infiniband-diags/saquery.c:1544:26: branch_false: ...to here
rdma-core-59.0/infiniband-diags/saquery.c:1547:28: branch_true: following ‘true’ branch...
rdma-core-59.0/infiniband-diags/saquery.c:1548:33: branch_true: ...to here
rdma-core-59.0/infiniband-diags/saquery.c:1548:33: danger: ‘src_addr’ leaks here; was allocated at [(3)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def276]
rdma-core-59.0/infiniband-diags/smpdump.c:229:15: warning[-Wanalyzer-malloc-leak]: leak of ‘calloc(1, umad_size() + 256)’
rdma-core-59.0/infiniband-diags/smpdump.c:170:5: enter_function: entry to ‘main’
rdma-core-59.0/infiniband-diags/smpdump.c:206:12: branch_false: following ‘false’ branch...
rdma-core-59.0/infiniband-diags/smpdump.c:210:13: branch_false: ...to here
rdma-core-59.0/infiniband-diags/smpdump.c:210:12: branch_true: following ‘true’ branch...
rdma-core-59.0/infiniband-diags/smpdump.c:211:24: branch_true: ...to here
rdma-core-59.0/infiniband-diags/smpdump.c:214:12: branch_false: following ‘false’ branch (when ‘argc <= 2’)...
rdma-core-59.0/infiniband-diags/smpdump.c:217:13: branch_false: ...to here
rdma-core-59.0/infiniband-diags/smpdump.c:217:12: branch_false: following ‘false’ branch...
rdma-core-59.0/infiniband-diags/smpdump.c:220:23: branch_false: ...to here
rdma-core-59.0/infiniband-diags/smpdump.c:220:12: branch_false: following ‘false’ branch...
rdma-core-59.0/infiniband-diags/smpdump.c:223:26: branch_false: ...to here
rdma-core-59.0/infiniband-diags/smpdump.c:223:12: branch_false: following ‘false’ branch...
rdma-core-59.0/infiniband-diags/smpdump.c:226:36: branch_false: ...to here
rdma-core-59.0/infiniband-diags/smpdump.c:226:22: call_function: inlined call to ‘umad_alloc’ from ‘main’
rdma-core-59.0/infiniband-diags/smpdump.c:226:12: branch_false: following ‘false’ branch...
rdma-core-59.0/infiniband-diags/smpdump.c:229:15: branch_false: ...to here
rdma-core-59.0/infiniband-diags/smpdump.c:229:15: danger: ‘calloc(1, umad_size() + 256)’ leaks here; was allocated at [(15)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/14)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def277]
rdma-core-59.0/iwpmd/iwarp_pm_common.c:117:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pm_sock’
rdma-core-59.0/iwpmd/iwarp_pm_common.c:102:19: acquire_resource: datagram socket created here
rdma-core-59.0/iwpmd/iwarp_pm_common.c:103:12: branch_false: following ‘false’ branch (when ‘pm_sock >= 0’)...
rdma-core-59.0/iwpmd/iwarp_pm_common.c:110:9: branch_false: ...to here
rdma-core-59.0/iwpmd/iwarp_pm_common.c:116:12: branch_true: following ‘true’ branch...
rdma-core-59.0/iwpmd/iwarp_pm_common.c:118:53: branch_true: ...to here
rdma-core-59.0/iwpmd/iwarp_pm_common.c:117:17: danger: ‘pm_sock’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def278]
rdma-core-59.0/iwpmd/iwarp_pm_common.c:119:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pm_sock’
rdma-core-59.0/iwpmd/iwarp_pm_common.c:102:19: acquire_resource: datagram socket created here
rdma-core-59.0/iwpmd/iwarp_pm_common.c:103:12: branch_false: following ‘false’ branch (when ‘pm_sock >= 0’)...
rdma-core-59.0/iwpmd/iwarp_pm_common.c:110:9: branch_false: ...to here
rdma-core-59.0/iwpmd/iwarp_pm_common.c:116:12: branch_true: following ‘true’ branch...
rdma-core-59.0/iwpmd/iwarp_pm_common.c:118:53: branch_true: ...to here
rdma-core-59.0/iwpmd/iwarp_pm_common.c:119:17: danger: ‘pm_sock’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def279]
rdma-core-59.0/iwpmd/iwarp_pm_common.c:182:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pm_sock’
rdma-core-59.0/iwpmd/iwarp_pm_common.c:156:19: acquire_resource: datagram socket created here
rdma-core-59.0/iwpmd/iwarp_pm_common.c:157:12: branch_false: following ‘false’ branch (when ‘pm_sock >= 0’)...
rdma-core-59.0/iwpmd/iwarp_pm_common.c:164:9: branch_false: ...to here
rdma-core-59.0/iwpmd/iwarp_pm_common.c:166:12: branch_false: following ‘false’ branch (when ‘ret_value >= 0’)...
rdma-core-59.0/iwpmd/iwarp_pm_common.c:175:9: branch_false: ...to here
rdma-core-59.0/iwpmd/iwarp_pm_common.c:181:13: acquire_resource: socket created here
rdma-core-59.0/iwpmd/iwarp_pm_common.c:181:12: branch_true: following ‘true’ branch...
rdma-core-59.0/iwpmd/iwarp_pm_common.c:183:53: branch_true: ...to here
rdma-core-59.0/iwpmd/iwarp_pm_common.c:182:17: danger: ‘pm_sock’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def280]
rdma-core-59.0/iwpmd/iwarp_pm_common.c:184:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pm_sock’
rdma-core-59.0/iwpmd/iwarp_pm_common.c:156:19: acquire_resource: datagram socket created here
rdma-core-59.0/iwpmd/iwarp_pm_common.c:157:12: branch_false: following ‘false’ branch (when ‘pm_sock >= 0’)...
rdma-core-59.0/iwpmd/iwarp_pm_common.c:164:9: branch_false: ...to here
rdma-core-59.0/iwpmd/iwarp_pm_common.c:166:12: branch_false: following ‘false’ branch (when ‘ret_value >= 0’)...
rdma-core-59.0/iwpmd/iwarp_pm_common.c:175:9: branch_false: ...to here
rdma-core-59.0/iwpmd/iwarp_pm_common.c:181:13: acquire_resource: socket created here
rdma-core-59.0/iwpmd/iwarp_pm_common.c:181:12: branch_true: following ‘true’ branch...
rdma-core-59.0/iwpmd/iwarp_pm_common.c:183:53: branch_true: ...to here
rdma-core-59.0/iwpmd/iwarp_pm_common.c:184:17: danger: ‘pm_sock’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def281]
rdma-core-59.0/iwpmd/iwarp_pm_common.c:234:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘nl_sock’
rdma-core-59.0/iwpmd/iwarp_pm_common.c:218:19: acquire_resource: socket created here
rdma-core-59.0/iwpmd/iwarp_pm_common.c:219:12: branch_false: following ‘false’ branch (when ‘nl_sock >= 0’)...
rdma-core-59.0/iwpmd/iwarp_pm_common.c:227:9: branch_false: ...to here
rdma-core-59.0/iwpmd/iwarp_pm_common.c:233:12: branch_true: following ‘true’ branch...
rdma-core-59.0/iwpmd/iwarp_pm_common.c:235:42: branch_true: ...to here
rdma-core-59.0/iwpmd/iwarp_pm_common.c:234:17: danger: ‘nl_sock’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def282]
rdma-core-59.0/iwpmd/iwarp_pm_common.c:236:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘nl_sock’
rdma-core-59.0/iwpmd/iwarp_pm_common.c:218:19: acquire_resource: socket created here
rdma-core-59.0/iwpmd/iwarp_pm_common.c:219:12: branch_false: following ‘false’ branch (when ‘nl_sock >= 0’)...
rdma-core-59.0/iwpmd/iwarp_pm_common.c:227:9: branch_false: ...to here
rdma-core-59.0/iwpmd/iwarp_pm_common.c:233:12: branch_true: following ‘true’ branch...
rdma-core-59.0/iwpmd/iwarp_pm_common.c:235:42: branch_true: ...to here
rdma-core-59.0/iwpmd/iwarp_pm_common.c:236:17: danger: ‘nl_sock’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def283]
rdma-core-59.0/iwpmd/iwarp_pm_helper.c:226:12: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘socket((int)addr_family, 1, 0)’
rdma-core-59.0/iwpmd/iwarp_pm_helper.c:193:21: acquire_resource: stream socket created here
rdma-core-59.0/iwpmd/iwarp_pm_helper.c:194:12: branch_false: following ‘false’ branch...
rdma-core-59.0/iwpmd/iwarp_pm_helper.c:199:9: branch_false: ...to here
rdma-core-59.0/iwpmd/iwarp_pm_helper.c:206:20: branch_false: following ‘false’ branch (when ‘requested_port == 0’)...
rdma-core-59.0/iwpmd/iwarp_pm_helper.c:208:17: branch_false: ...to here
rdma-core-59.0/iwpmd/iwarp_pm_helper.c:226:12: danger: ‘socket((int)addr_family, 1, 0)’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def284]
rdma-core-59.0/iwpmd/iwarp_pm_helper.c:242:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘new_sd’
rdma-core-59.0/iwpmd/iwarp_pm_helper.c:278:19: enter_function: entry to ‘create_iwpm_mapped_port’
rdma-core-59.0/iwpmd/iwarp_pm_helper.c:286:12: branch_false: following ‘false’ branch...
rdma-core-59.0/iwpmd/iwarp_pm_helper.c:289:39: branch_false: ...to here
rdma-core-59.0/iwpmd/iwarp_pm_helper.c:289:21: call_function: calling ‘get_iwpm_tcp_port’ from ‘create_iwpm_mapped_port’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def285]
rdma-core-59.0/iwpmd/iwarp_pm_helper.c:257:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘new_sd’
rdma-core-59.0/iwpmd/iwarp_pm_helper.c:278:19: enter_function: entry to ‘create_iwpm_mapped_port’
rdma-core-59.0/iwpmd/iwarp_pm_helper.c:286:12: branch_false: following ‘false’ branch...
rdma-core-59.0/iwpmd/iwarp_pm_helper.c:289:39: branch_false: ...to here
rdma-core-59.0/iwpmd/iwarp_pm_helper.c:289:21: call_function: calling ‘get_iwpm_tcp_port’ from ‘create_iwpm_mapped_port’
rdma-core-59.0/iwpmd/iwarp_pm_helper.c:289:21: return_function: returning to ‘create_iwpm_mapped_port’ from ‘get_iwpm_tcp_port’
rdma-core-59.0/iwpmd/iwarp_pm_helper.c:289:20: branch_false: following ‘false’ branch...
rdma-core-59.0/iwpmd/iwarp_pm_helper.c:292:21: branch_false: ...to here
rdma-core-59.0/iwpmd/iwarp_pm_helper.c:292:21: call_function: calling ‘get_iwpm_port’ from ‘create_iwpm_mapped_port’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def286]
rdma-core-59.0/iwpmd/iwarp_pm_helper.c:268:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘new_sd’
rdma-core-59.0/iwpmd/iwarp_pm_helper.c:278:19: enter_function: entry to ‘create_iwpm_mapped_port’
rdma-core-59.0/iwpmd/iwarp_pm_helper.c:286:12: branch_false: following ‘false’ branch...
rdma-core-59.0/iwpmd/iwarp_pm_helper.c:289:39: branch_false: ...to here
rdma-core-59.0/iwpmd/iwarp_pm_helper.c:289:21: call_function: calling ‘get_iwpm_tcp_port’ from ‘create_iwpm_mapped_port’
rdma-core-59.0/iwpmd/iwarp_pm_helper.c:289:21: return_function: returning to ‘create_iwpm_mapped_port’ from ‘get_iwpm_tcp_port’
rdma-core-59.0/iwpmd/iwarp_pm_helper.c:289:20: branch_false: following ‘false’ branch...
rdma-core-59.0/iwpmd/iwarp_pm_helper.c:292:21: branch_false: ...to here
rdma-core-59.0/iwpmd/iwarp_pm_helper.c:292:21: call_function: calling ‘get_iwpm_port’ from ‘create_iwpm_mapped_port’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def287]
rdma-core-59.0/iwpmd/iwarp_pm_helper.c:268:13: warning[-Wanalyzer-malloc-leak]: leak of ‘iwpm_port’
rdma-core-59.0/iwpmd/iwarp_pm_helper.c:255:21: acquire_memory: allocated here
rdma-core-59.0/iwpmd/iwarp_pm_helper.c:256:12: branch_false: following ‘false’ branch (when ‘iwpm_port’ is non-NULL)...
rdma-core-59.0/iwpmd/iwarp_pm_helper.c:260:9: branch_false: ...to here
rdma-core-59.0/iwpmd/iwarp_pm_helper.c:268:13: danger: ‘iwpm_port’ leaks here; was allocated at [(1)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def288]
rdma-core-59.0/iwpmd/iwarp_pm_helper.c:293:16: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘new_sd’
rdma-core-59.0/iwpmd/iwarp_pm_helper.c:278:19: enter_function: entry to ‘create_iwpm_mapped_port’
rdma-core-59.0/iwpmd/iwarp_pm_helper.c:286:12: branch_false: following ‘false’ branch...
rdma-core-59.0/iwpmd/iwarp_pm_helper.c:289:39: branch_false: ...to here
rdma-core-59.0/iwpmd/iwarp_pm_helper.c:289:21: call_function: calling ‘get_iwpm_tcp_port’ from ‘create_iwpm_mapped_port’
rdma-core-59.0/iwpmd/iwarp_pm_helper.c:289:21: return_function: returning to ‘create_iwpm_mapped_port’ from ‘get_iwpm_tcp_port’
rdma-core-59.0/iwpmd/iwarp_pm_helper.c:289:20: branch_true: following ‘true’ branch...
rdma-core-59.0/iwpmd/iwarp_pm_helper.c:290:25: branch_true: ...to here
rdma-core-59.0/iwpmd/iwarp_pm_helper.c:293:16: danger: ‘new_sd’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def289]
rdma-core-59.0/iwpmd/iwarp_pm_helper.c:329:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘new_sd’
rdma-core-59.0/iwpmd/iwarp_pm_helper.c:306:19: enter_function: entry to ‘reopen_iwpm_mapped_port’
rdma-core-59.0/iwpmd/iwarp_pm_helper.c:314:12: branch_false: following ‘false’ branch...
rdma-core-59.0/iwpmd/iwarp_pm_helper.c:318:14: branch_false: ...to here
rdma-core-59.0/iwpmd/iwarp_pm_helper.c:318:12: branch_true: following ‘true’ branch...
rdma-core-59.0/iwpmd/iwarp_pm_helper.c:319:21: branch_true: ...to here
rdma-core-59.0/iwpmd/iwarp_pm_helper.c:319:21: call_function: calling ‘get_iwpm_tcp_port’ from ‘reopen_iwpm_mapped_port’
rdma-core-59.0/iwpmd/iwarp_pm_helper.c:319:21: return_function: returning to ‘reopen_iwpm_mapped_port’ from ‘get_iwpm_tcp_port’
rdma-core-59.0/iwpmd/iwarp_pm_helper.c:319:20: branch_true: following ‘true’ branch...
rdma-core-59.0/iwpmd/iwarp_pm_helper.c:320:25: branch_true: ...to here
rdma-core-59.0/iwpmd/iwarp_pm_helper.c:328:12: branch_true: following ‘true’ branch...
rdma-core-59.0/iwpmd/iwarp_pm_helper.c:329:17: branch_true: ...to here
rdma-core-59.0/iwpmd/iwarp_pm_helper.c:329:17: danger: ‘new_sd’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-1341): [#def290]
rdma-core-59.0/iwpmd/iwarp_pm_helper.c:447:17: warning[-Wanalyzer-fd-double-close]: double ‘close’ of file descriptor ‘((iwpm_mapped_port)*((struct list_node *)iwpm_port)).sd’
rdma-core-59.0/iwpmd/iwarp_pm_helper.c:514:6: enter_function: entry to ‘free_iwpm_mapped_ports’
rdma-core-59.0/iwpmd/iwarp_pm_helper.c:518:29: call_function: inlined call to ‘list_pop_’ from ‘free_iwpm_mapped_ports’
rdma-core-59.0/iwpmd/iwarp_pm_helper.c:519:17: call_function: calling ‘free_iwpm_port’ from ‘free_iwpm_mapped_ports’
rdma-core-59.0/iwpmd/iwarp_pm_helper.c:519:17: return_function: returning to ‘free_iwpm_mapped_ports’ from ‘free_iwpm_port’
rdma-core-59.0/iwpmd/iwarp_pm_helper.c:518:29: call_function: inlined call to ‘list_pop_’ from ‘free_iwpm_mapped_ports’
rdma-core-59.0/iwpmd/iwarp_pm_helper.c:519:17: call_function: calling ‘free_iwpm_port’ from ‘free_iwpm_mapped_ports’
Error: CPPCHECK_WARNING (CWE-401): [#def291]
rdma-core-59.0/iwpmd/iwarp_pm_helper.c:508: error[memleak]: Memory leak: pending_msg
Error: GCC_ANALYZER_WARNING (CWE-401): [#def292]
rdma-core-59.0/iwpmd/iwarp_pm_server.c:690:9: warning[-Wanalyzer-malloc-leak]: leak of ‘send_msg’
rdma-core-59.0/iwpmd/iwarp_pm_server.c:1392:12: enter_function: entry to ‘iwarp_port_mapper’
rdma-core-59.0/iwpmd/iwarp_pm_server.c:1417:25: branch_true: following ‘true’ branch (when ‘__i != 16’)...
rdma-core-59.0/iwpmd/iwarp_pm_server.c:1417:25: branch_true: ...to here
rdma-core-59.0/iwpmd/iwarp_pm_server.c:1445:20: branch_true: following ‘true’ branch...
rdma-core-59.0/iwpmd/iwarp_pm_server.c:1446:29: branch_true: ...to here
rdma-core-59.0/iwpmd/iwarp_pm_server.c:1446:28: branch_true: following ‘true’ branch...
rdma-core-59.0/iwpmd/iwarp_pm_server.c:1447:39: branch_true: ...to here
rdma-core-59.0/iwpmd/iwarp_pm_server.c:1447:39: call_function: calling ‘process_iwpm_msg’ from ‘iwarp_port_mapper’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def293]
rdma-core-59.0/iwpmd/iwarp_pm_server.c:1519:17: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen("/etc/iwpmd.conf", "r")’
rdma-core-59.0/iwpmd/iwarp_pm_server.c:1517:14: acquire_resource: opened here
rdma-core-59.0/iwpmd/iwarp_pm_server.c:1518:12: branch_true: following ‘true’ branch...
rdma-core-59.0/iwpmd/iwarp_pm_server.c:1519:17: branch_true: ...to here
rdma-core-59.0/iwpmd/iwarp_pm_server.c:1519:17: danger: ‘fopen("/etc/iwpmd.conf", "r")’ leaks here; was opened at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def294]
rdma-core-59.0/iwpmd/iwarp_pm_server.c:1519:17: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen("/etc/iwpmd.conf", "r")’
rdma-core-59.0/iwpmd/iwarp_pm_server.c:1517:14: acquire_memory: allocated here
rdma-core-59.0/iwpmd/iwarp_pm_server.c:1518:12: branch_true: following ‘true’ branch...
rdma-core-59.0/iwpmd/iwarp_pm_server.c:1519:17: branch_true: ...to here
rdma-core-59.0/iwpmd/iwarp_pm_server.c:1519:17: danger: ‘fopen("/etc/iwpmd.conf", "r")’ leaks here; was allocated at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def295]
rdma-core-59.0/kernel-boot/rdma_rename.c:143:15: warning[-Wanalyzer-malloc-leak]: leak of ‘opendir(physfn_pcidev)’
rdma-core-59.0/kernel-boot/rdma_rename.c:293:12: enter_function: entry to ‘get_virtfn_info’
rdma-core-59.0/kernel-boot/rdma_rename.c:303:12: branch_false: following ‘false’ branch (when ‘ret >= 0’)...
rdma-core-59.0/kernel-boot/rdma_rename.c:307:15: branch_false: ...to here
rdma-core-59.0/kernel-boot/rdma_rename.c:307:15: acquire_memory: allocated here
rdma-core-59.0/kernel-boot/rdma_rename.c:308:12: branch_false: following ‘false’ branch...
rdma-core-59.0/kernel-boot/rdma_rename.c:317:9: branch_false: ...to here
rdma-core-59.0/kernel-boot/rdma_rename.c:319:15: call_function: calling ‘fill_pci_info’ from ‘get_virtfn_info’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def296]
rdma-core-59.0/kernel-boot/rdma_rename.c:150:24: warning[-Wanalyzer-malloc-leak]: leak of ‘opendir(physfn_pcidev)’
rdma-core-59.0/kernel-boot/rdma_rename.c:293:12: enter_function: entry to ‘get_virtfn_info’
rdma-core-59.0/kernel-boot/rdma_rename.c:303:12: branch_false: following ‘false’ branch (when ‘ret >= 0’)...
rdma-core-59.0/kernel-boot/rdma_rename.c:307:15: branch_false: ...to here
rdma-core-59.0/kernel-boot/rdma_rename.c:307:15: acquire_memory: allocated here
rdma-core-59.0/kernel-boot/rdma_rename.c:308:12: branch_false: following ‘false’ branch...
rdma-core-59.0/kernel-boot/rdma_rename.c:317:9: branch_false: ...to here
rdma-core-59.0/kernel-boot/rdma_rename.c:319:15: call_function: calling ‘fill_pci_info’ from ‘get_virtfn_info’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def297]
rdma-core-59.0/kernel-boot/rdma_rename.c:150:24: warning[-Wanalyzer-malloc-leak]: leak of ‘opendir(slots)’
rdma-core-59.0/kernel-boot/rdma_rename.c:139:12: branch_false: following ‘false’ branch (when ‘ret >= 0’)...
rdma-core-59.0/kernel-boot/rdma_rename.c:143:15: branch_false: ...to here
rdma-core-59.0/kernel-boot/rdma_rename.c:143:15: acquire_memory: allocated here
rdma-core-59.0/kernel-boot/rdma_rename.c:144:12: branch_false: following ‘false’ branch...
rdma-core-59.0/kernel-boot/rdma_rename.c:147:13: branch_false: ...to here
rdma-core-59.0/kernel-boot/rdma_rename.c:147:12: branch_false: following ‘false’ branch...
branch_false: ...to here
rdma-core-59.0/kernel-boot/rdma_rename.c:150:24: danger: ‘opendir(slots)’ leaks here; was allocated at [(3)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def298]
rdma-core-59.0/kernel-boot/rdma_rename.c:188:9: warning[-Wanalyzer-malloc-leak]: leak of ‘opendir(physfn_pcidev)’
rdma-core-59.0/kernel-boot/rdma_rename.c:293:12: enter_function: entry to ‘get_virtfn_info’
rdma-core-59.0/kernel-boot/rdma_rename.c:303:12: branch_false: following ‘false’ branch (when ‘ret >= 0’)...
rdma-core-59.0/kernel-boot/rdma_rename.c:307:15: branch_false: ...to here
rdma-core-59.0/kernel-boot/rdma_rename.c:307:15: acquire_memory: allocated here
rdma-core-59.0/kernel-boot/rdma_rename.c:308:12: branch_false: following ‘false’ branch...
rdma-core-59.0/kernel-boot/rdma_rename.c:317:9: branch_false: ...to here
rdma-core-59.0/kernel-boot/rdma_rename.c:319:15: call_function: calling ‘fill_pci_info’ from ‘get_virtfn_info’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def299]
rdma-core-59.0/kernel-boot/rdma_rename.c:188:9: warning[-Wanalyzer-malloc-leak]: leak of ‘opendir(slots)’
rdma-core-59.0/kernel-boot/rdma_rename.c:139:12: branch_false: following ‘false’ branch (when ‘ret >= 0’)...
rdma-core-59.0/kernel-boot/rdma_rename.c:143:15: branch_false: ...to here
rdma-core-59.0/kernel-boot/rdma_rename.c:143:15: acquire_memory: allocated here
rdma-core-59.0/kernel-boot/rdma_rename.c:144:12: branch_false: following ‘false’ branch...
rdma-core-59.0/kernel-boot/rdma_rename.c:147:13: branch_false: ...to here
rdma-core-59.0/kernel-boot/rdma_rename.c:147:12: branch_true: following ‘true’ branch...
rdma-core-59.0/kernel-boot/rdma_rename.c:148:17: branch_true: ...to here
rdma-core-59.0/kernel-boot/rdma_rename.c:188:9: danger: ‘opendir(slots)’ leaks here; was allocated at [(3)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def300]
rdma-core-59.0/kernel-boot/rdma_rename.c:270:17: warning[-Wanalyzer-malloc-leak]: leak of ‘opendir(physfn_pcidev)’
rdma-core-59.0/kernel-boot/rdma_rename.c:293:12: enter_function: entry to ‘get_virtfn_info’
rdma-core-59.0/kernel-boot/rdma_rename.c:303:12: branch_false: following ‘false’ branch (when ‘ret >= 0’)...
rdma-core-59.0/kernel-boot/rdma_rename.c:307:15: branch_false: ...to here
rdma-core-59.0/kernel-boot/rdma_rename.c:307:15: acquire_memory: allocated here
rdma-core-59.0/kernel-boot/rdma_rename.c:308:12: branch_false: following ‘false’ branch...
rdma-core-59.0/kernel-boot/rdma_rename.c:317:9: branch_false: ...to here
rdma-core-59.0/kernel-boot/rdma_rename.c:319:15: call_function: calling ‘fill_pci_info’ from ‘get_virtfn_info’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def301]
rdma-core-59.0/kernel-boot/rdma_rename.c:284:17: warning[-Wanalyzer-malloc-leak]: leak of ‘opendir(physfn_pcidev)’
rdma-core-59.0/kernel-boot/rdma_rename.c:293:12: enter_function: entry to ‘get_virtfn_info’
rdma-core-59.0/kernel-boot/rdma_rename.c:303:12: branch_false: following ‘false’ branch (when ‘ret >= 0’)...
rdma-core-59.0/kernel-boot/rdma_rename.c:307:15: branch_false: ...to here
rdma-core-59.0/kernel-boot/rdma_rename.c:307:15: acquire_memory: allocated here
rdma-core-59.0/kernel-boot/rdma_rename.c:308:12: branch_false: following ‘false’ branch...
rdma-core-59.0/kernel-boot/rdma_rename.c:317:9: branch_false: ...to here
rdma-core-59.0/kernel-boot/rdma_rename.c:319:15: call_function: calling ‘fill_pci_info’ from ‘get_virtfn_info’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def302]
rdma-core-59.0/kernel-boot/rdma_rename.c:323:24: warning[-Wanalyzer-malloc-leak]: leak of ‘opendir(physfn_pcidev)’
rdma-core-59.0/kernel-boot/rdma_rename.c:293:12: enter_function: entry to ‘get_virtfn_info’
rdma-core-59.0/kernel-boot/rdma_rename.c:303:12: branch_false: following ‘false’ branch (when ‘ret >= 0’)...
rdma-core-59.0/kernel-boot/rdma_rename.c:307:15: branch_false: ...to here
rdma-core-59.0/kernel-boot/rdma_rename.c:307:15: acquire_memory: allocated here
rdma-core-59.0/kernel-boot/rdma_rename.c:308:12: branch_false: following ‘false’ branch...
rdma-core-59.0/kernel-boot/rdma_rename.c:317:9: branch_false: ...to here
rdma-core-59.0/kernel-boot/rdma_rename.c:319:15: call_function: calling ‘fill_pci_info’ from ‘get_virtfn_info’
rdma-core-59.0/kernel-boot/rdma_rename.c:319:15: return_function: returning to ‘get_virtfn_info’ from ‘fill_pci_info’
rdma-core-59.0/kernel-boot/rdma_rename.c:320:12: branch_false: following ‘false’ branch...
branch_false: ...to here
rdma-core-59.0/kernel-boot/rdma_rename.c:323:24: danger: ‘opendir(physfn_pcidev)’ leaks here; was allocated at [(4)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def303]
rdma-core-59.0/kernel-boot/rdma_rename.c:355:9: warning[-Wanalyzer-malloc-leak]: leak of ‘opendir(physfn_pcidev)’
rdma-core-59.0/kernel-boot/rdma_rename.c:303:12: branch_false: following ‘false’ branch (when ‘ret >= 0’)...
rdma-core-59.0/kernel-boot/rdma_rename.c:307:15: branch_false: ...to here
rdma-core-59.0/kernel-boot/rdma_rename.c:307:15: acquire_memory: allocated here
rdma-core-59.0/kernel-boot/rdma_rename.c:308:12: branch_false: following ‘false’ branch...
rdma-core-59.0/kernel-boot/rdma_rename.c:317:9: branch_false: ...to here
rdma-core-59.0/kernel-boot/rdma_rename.c:320:12: branch_true: following ‘true’ branch...
rdma-core-59.0/kernel-boot/rdma_rename.c:321:17: branch_true: ...to here
rdma-core-59.0/kernel-boot/rdma_rename.c:355:9: danger: ‘opendir(physfn_pcidev)’ leaks here; was allocated at [(3)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def304]
rdma-core-59.0/libibmad/mad.c:132:31: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘drpath’
rdma-core-59.0/libibmad/mad.c:161:5: enter_function: entry to ‘mad_build_pkt’
rdma-core-59.0/libibmad/mad.c:192:13: branch_false: following ‘false’ branch...
rdma-core-59.0/libibmad/mad.c:192:13: branch_false: ...to here
rdma-core-59.0/libibmad/mad.c:192:13: call_function: calling ‘mad_encode’ from ‘mad_build_pkt’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def305]
rdma-core-59.0/libibmad/rpc.c:404:24: warning[-Wanalyzer-malloc-leak]: leak of ‘p’
rdma-core-59.0/libibmad/rpc.c:380:12: branch_false: following ‘false’ branch (when ‘num_classes <= 255’)...
rdma-core-59.0/libibmad/rpc.c:386:13: branch_false: ...to here
rdma-core-59.0/libibmad/rpc.c:386:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibmad/rpc.c:392:27: branch_false: ...to here
rdma-core-59.0/libibmad/rpc.c:397:13: acquire_memory: allocated here
rdma-core-59.0/libibmad/rpc.c:398:12: branch_false: following ‘false’ branch (when ‘p’ is non-NULL)...
rdma-core-59.0/libibmad/rpc.c:402:9: branch_false: ...to here
rdma-core-59.0/libibmad/rpc.c:404:24: danger: ‘p’ leaks here; was allocated at [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def306]
rdma-core-59.0/libibmad/rpc.c:421:21: warning[-Wanalyzer-malloc-leak]: leak of ‘p’
rdma-core-59.0/libibmad/rpc.c:380:12: branch_false: following ‘false’ branch (when ‘num_classes <= 255’)...
rdma-core-59.0/libibmad/rpc.c:386:13: branch_false: ...to here
rdma-core-59.0/libibmad/rpc.c:386:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibmad/rpc.c:392:27: branch_false: ...to here
rdma-core-59.0/libibmad/rpc.c:397:13: acquire_memory: allocated here
rdma-core-59.0/libibmad/rpc.c:398:12: branch_false: following ‘false’ branch (when ‘p’ is non-NULL)...
rdma-core-59.0/libibmad/rpc.c:402:9: branch_false: ...to here
rdma-core-59.0/libibmad/rpc.c:404:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibmad/rpc.c:412:9: branch_false: ...to here
rdma-core-59.0/libibmad/rpc.c:414:16: branch_true: following ‘true’ branch (when ‘num_classes != 0’)...
rdma-core-59.0/libibmad/rpc.c:416:29: branch_true: ...to here
rdma-core-59.0/libibmad/rpc.c:421:21: danger: ‘p’ leaks here; was allocated at [(5)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def307]
rdma-core-59.0/libibmad/rpc.c:425:25: warning[-Wanalyzer-malloc-leak]: leak of ‘p’
rdma-core-59.0/libibmad/rpc.c:380:12: branch_false: following ‘false’ branch (when ‘num_classes <= 255’)...
rdma-core-59.0/libibmad/rpc.c:386:13: branch_false: ...to here
rdma-core-59.0/libibmad/rpc.c:386:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibmad/rpc.c:392:27: branch_false: ...to here
rdma-core-59.0/libibmad/rpc.c:397:13: acquire_memory: allocated here
rdma-core-59.0/libibmad/rpc.c:398:12: branch_false: following ‘false’ branch (when ‘p’ is non-NULL)...
rdma-core-59.0/libibmad/rpc.c:402:9: branch_false: ...to here
rdma-core-59.0/libibmad/rpc.c:404:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibmad/rpc.c:412:9: branch_false: ...to here
rdma-core-59.0/libibmad/rpc.c:414:16: branch_true: following ‘true’ branch (when ‘num_classes != 0’)...
rdma-core-59.0/libibmad/rpc.c:416:29: branch_true: ...to here
rdma-core-59.0/libibmad/rpc.c:418:20: branch_false: following ‘false’ branch (when ‘mgmt != 3’)...
rdma-core-59.0/libibmad/rpc.c:420:21: branch_false: ...to here
rdma-core-59.0/libibmad/rpc.c:420:20: branch_true: following ‘true’ branch...
rdma-core-59.0/libibmad/rpc.c:422:25: branch_true: ...to here
rdma-core-59.0/libibmad/rpc.c:425:25: danger: ‘p’ leaks here; was allocated at [(5)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def308]
rdma-core-59.0/libibmad/rpc.c:447:14: warning[-Wanalyzer-malloc-leak]: leak of ‘gsi’
rdma-core-59.0/libibmad/rpc.c:497:26: enter_function: entry to ‘mad_rpc_open_port2’
rdma-core-59.0/libibmad/rpc.c:505:12: branch_false: following ‘false’ branch (when ‘num_classes <= 255’)...
rdma-core-59.0/libibmad/rpc.c:511:13: branch_false: ...to here
rdma-core-59.0/libibmad/rpc.c:511:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibmad/rpc.c:517:27: branch_false: ...to here
rdma-core-59.0/libibmad/rpc.c:523:12: branch_false: following ‘false’ branch (when ‘smi’ is non-NULL)...
rdma-core-59.0/libibmad/rpc.c:527:9: branch_false: ...to here
rdma-core-59.0/libibmad/rpc.c:529:15: acquire_memory: allocated here
rdma-core-59.0/libibmad/rpc.c:530:12: branch_false: following ‘false’ branch (when ‘gsi’ is non-NULL)...
rdma-core-59.0/libibmad/rpc.c:534:9: branch_false: ...to here
rdma-core-59.0/libibmad/rpc.c:537:12: branch_false: following ‘false’ branch (when ‘ports_pair’ is non-NULL)...
rdma-core-59.0/libibmad/rpc.c:541:9: branch_false: ...to here
rdma-core-59.0/libibmad/rpc.c:545:13: call_function: calling ‘get_smi_gsi_pair’ from ‘mad_rpc_open_port2’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def309]
rdma-core-59.0/libibmad/rpc.c:447:14: warning[-Wanalyzer-malloc-leak]: leak of ‘ports_pair’
rdma-core-59.0/libibmad/rpc.c:497:26: enter_function: entry to ‘mad_rpc_open_port2’
rdma-core-59.0/libibmad/rpc.c:505:12: branch_false: following ‘false’ branch (when ‘num_classes <= 255’)...
rdma-core-59.0/libibmad/rpc.c:511:13: branch_false: ...to here
rdma-core-59.0/libibmad/rpc.c:511:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibmad/rpc.c:517:27: branch_false: ...to here
rdma-core-59.0/libibmad/rpc.c:523:12: branch_false: following ‘false’ branch (when ‘smi’ is non-NULL)...
rdma-core-59.0/libibmad/rpc.c:527:9: branch_false: ...to here
rdma-core-59.0/libibmad/rpc.c:530:12: branch_false: following ‘false’ branch (when ‘gsi’ is non-NULL)...
rdma-core-59.0/libibmad/rpc.c:534:9: branch_false: ...to here
rdma-core-59.0/libibmad/rpc.c:536:22: acquire_memory: allocated here
rdma-core-59.0/libibmad/rpc.c:537:12: branch_false: following ‘false’ branch (when ‘ports_pair’ is non-NULL)...
rdma-core-59.0/libibmad/rpc.c:541:9: branch_false: ...to here
rdma-core-59.0/libibmad/rpc.c:545:13: call_function: calling ‘get_smi_gsi_pair’ from ‘mad_rpc_open_port2’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def310]
rdma-core-59.0/libibmad/rpc.c:447:14: warning[-Wanalyzer-malloc-leak]: leak of ‘smi’
rdma-core-59.0/libibmad/rpc.c:497:26: enter_function: entry to ‘mad_rpc_open_port2’
rdma-core-59.0/libibmad/rpc.c:505:12: branch_false: following ‘false’ branch (when ‘num_classes <= 255’)...
rdma-core-59.0/libibmad/rpc.c:511:13: branch_false: ...to here
rdma-core-59.0/libibmad/rpc.c:511:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibmad/rpc.c:517:27: branch_false: ...to here
rdma-core-59.0/libibmad/rpc.c:522:15: acquire_memory: allocated here
rdma-core-59.0/libibmad/rpc.c:523:12: branch_false: following ‘false’ branch (when ‘smi’ is non-NULL)...
rdma-core-59.0/libibmad/rpc.c:527:9: branch_false: ...to here
rdma-core-59.0/libibmad/rpc.c:530:12: branch_false: following ‘false’ branch (when ‘gsi’ is non-NULL)...
rdma-core-59.0/libibmad/rpc.c:534:9: branch_false: ...to here
rdma-core-59.0/libibmad/rpc.c:537:12: branch_false: following ‘false’ branch (when ‘ports_pair’ is non-NULL)...
rdma-core-59.0/libibmad/rpc.c:541:9: branch_false: ...to here
rdma-core-59.0/libibmad/rpc.c:545:13: call_function: calling ‘get_smi_gsi_pair’ from ‘mad_rpc_open_port2’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def311]
rdma-core-59.0/libibmad/rpc.c:453:23: warning[-Wanalyzer-malloc-leak]: leak of ‘gsi’
rdma-core-59.0/libibmad/rpc.c:497:26: enter_function: entry to ‘mad_rpc_open_port2’
rdma-core-59.0/libibmad/rpc.c:505:12: branch_false: following ‘false’ branch (when ‘num_classes <= 255’)...
rdma-core-59.0/libibmad/rpc.c:511:13: branch_false: ...to here
rdma-core-59.0/libibmad/rpc.c:511:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibmad/rpc.c:517:27: branch_false: ...to here
rdma-core-59.0/libibmad/rpc.c:523:12: branch_false: following ‘false’ branch (when ‘smi’ is non-NULL)...
rdma-core-59.0/libibmad/rpc.c:527:9: branch_false: ...to here
rdma-core-59.0/libibmad/rpc.c:529:15: acquire_memory: allocated here
rdma-core-59.0/libibmad/rpc.c:530:12: branch_false: following ‘false’ branch (when ‘gsi’ is non-NULL)...
rdma-core-59.0/libibmad/rpc.c:534:9: branch_false: ...to here
rdma-core-59.0/libibmad/rpc.c:537:12: branch_false: following ‘false’ branch (when ‘ports_pair’ is non-NULL)...
rdma-core-59.0/libibmad/rpc.c:541:9: branch_false: ...to here
rdma-core-59.0/libibmad/rpc.c:545:13: call_function: calling ‘get_smi_gsi_pair’ from ‘mad_rpc_open_port2’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def312]
rdma-core-59.0/libibmad/rpc.c:453:23: warning[-Wanalyzer-malloc-leak]: leak of ‘ports_pair’
rdma-core-59.0/libibmad/rpc.c:497:26: enter_function: entry to ‘mad_rpc_open_port2’
rdma-core-59.0/libibmad/rpc.c:505:12: branch_false: following ‘false’ branch (when ‘num_classes <= 255’)...
rdma-core-59.0/libibmad/rpc.c:511:13: branch_false: ...to here
rdma-core-59.0/libibmad/rpc.c:511:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibmad/rpc.c:517:27: branch_false: ...to here
rdma-core-59.0/libibmad/rpc.c:523:12: branch_false: following ‘false’ branch (when ‘smi’ is non-NULL)...
rdma-core-59.0/libibmad/rpc.c:527:9: branch_false: ...to here
rdma-core-59.0/libibmad/rpc.c:530:12: branch_false: following ‘false’ branch (when ‘gsi’ is non-NULL)...
rdma-core-59.0/libibmad/rpc.c:534:9: branch_false: ...to here
rdma-core-59.0/libibmad/rpc.c:536:22: acquire_memory: allocated here
rdma-core-59.0/libibmad/rpc.c:537:12: branch_false: following ‘false’ branch (when ‘ports_pair’ is non-NULL)...
rdma-core-59.0/libibmad/rpc.c:541:9: branch_false: ...to here
rdma-core-59.0/libibmad/rpc.c:545:13: call_function: calling ‘get_smi_gsi_pair’ from ‘mad_rpc_open_port2’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def313]
rdma-core-59.0/libibmad/rpc.c:453:23: warning[-Wanalyzer-malloc-leak]: leak of ‘smi’
rdma-core-59.0/libibmad/rpc.c:497:26: enter_function: entry to ‘mad_rpc_open_port2’
rdma-core-59.0/libibmad/rpc.c:505:12: branch_false: following ‘false’ branch (when ‘num_classes <= 255’)...
rdma-core-59.0/libibmad/rpc.c:511:13: branch_false: ...to here
rdma-core-59.0/libibmad/rpc.c:511:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibmad/rpc.c:517:27: branch_false: ...to here
rdma-core-59.0/libibmad/rpc.c:522:15: acquire_memory: allocated here
rdma-core-59.0/libibmad/rpc.c:523:12: branch_false: following ‘false’ branch (when ‘smi’ is non-NULL)...
rdma-core-59.0/libibmad/rpc.c:527:9: branch_false: ...to here
rdma-core-59.0/libibmad/rpc.c:530:12: branch_false: following ‘false’ branch (when ‘gsi’ is non-NULL)...
rdma-core-59.0/libibmad/rpc.c:534:9: branch_false: ...to here
rdma-core-59.0/libibmad/rpc.c:537:12: branch_false: following ‘false’ branch (when ‘ports_pair’ is non-NULL)...
rdma-core-59.0/libibmad/rpc.c:541:9: branch_false: ...to here
rdma-core-59.0/libibmad/rpc.c:545:13: call_function: calling ‘get_smi_gsi_pair’ from ‘mad_rpc_open_port2’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def314]
rdma-core-59.0/libibmad/rpc.c:460:23: warning[-Wanalyzer-malloc-leak]: leak of ‘gsi’
rdma-core-59.0/libibmad/rpc.c:497:26: enter_function: entry to ‘mad_rpc_open_port2’
rdma-core-59.0/libibmad/rpc.c:505:12: branch_false: following ‘false’ branch (when ‘num_classes <= 255’)...
rdma-core-59.0/libibmad/rpc.c:511:13: branch_false: ...to here
rdma-core-59.0/libibmad/rpc.c:511:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibmad/rpc.c:517:27: branch_false: ...to here
rdma-core-59.0/libibmad/rpc.c:523:12: branch_false: following ‘false’ branch (when ‘smi’ is non-NULL)...
rdma-core-59.0/libibmad/rpc.c:527:9: branch_false: ...to here
rdma-core-59.0/libibmad/rpc.c:529:15: acquire_memory: allocated here
rdma-core-59.0/libibmad/rpc.c:530:12: branch_false: following ‘false’ branch (when ‘gsi’ is non-NULL)...
rdma-core-59.0/libibmad/rpc.c:534:9: branch_false: ...to here
rdma-core-59.0/libibmad/rpc.c:537:12: branch_false: following ‘false’ branch (when ‘ports_pair’ is non-NULL)...
rdma-core-59.0/libibmad/rpc.c:541:9: branch_false: ...to here
rdma-core-59.0/libibmad/rpc.c:545:13: call_function: calling ‘get_smi_gsi_pair’ from ‘mad_rpc_open_port2’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def315]
rdma-core-59.0/libibmad/rpc.c:460:23: warning[-Wanalyzer-malloc-leak]: leak of ‘ports_pair’
rdma-core-59.0/libibmad/rpc.c:497:26: enter_function: entry to ‘mad_rpc_open_port2’
rdma-core-59.0/libibmad/rpc.c:505:12: branch_false: following ‘false’ branch (when ‘num_classes <= 255’)...
rdma-core-59.0/libibmad/rpc.c:511:13: branch_false: ...to here
rdma-core-59.0/libibmad/rpc.c:511:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibmad/rpc.c:517:27: branch_false: ...to here
rdma-core-59.0/libibmad/rpc.c:523:12: branch_false: following ‘false’ branch (when ‘smi’ is non-NULL)...
rdma-core-59.0/libibmad/rpc.c:527:9: branch_false: ...to here
rdma-core-59.0/libibmad/rpc.c:530:12: branch_false: following ‘false’ branch (when ‘gsi’ is non-NULL)...
rdma-core-59.0/libibmad/rpc.c:534:9: branch_false: ...to here
rdma-core-59.0/libibmad/rpc.c:536:22: acquire_memory: allocated here
rdma-core-59.0/libibmad/rpc.c:537:12: branch_false: following ‘false’ branch (when ‘ports_pair’ is non-NULL)...
rdma-core-59.0/libibmad/rpc.c:541:9: branch_false: ...to here
rdma-core-59.0/libibmad/rpc.c:545:13: call_function: calling ‘get_smi_gsi_pair’ from ‘mad_rpc_open_port2’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def316]
rdma-core-59.0/libibmad/rpc.c:460:23: warning[-Wanalyzer-malloc-leak]: leak of ‘smi’
rdma-core-59.0/libibmad/rpc.c:497:26: enter_function: entry to ‘mad_rpc_open_port2’
rdma-core-59.0/libibmad/rpc.c:505:12: branch_false: following ‘false’ branch (when ‘num_classes <= 255’)...
rdma-core-59.0/libibmad/rpc.c:511:13: branch_false: ...to here
rdma-core-59.0/libibmad/rpc.c:511:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibmad/rpc.c:517:27: branch_false: ...to here
rdma-core-59.0/libibmad/rpc.c:522:15: acquire_memory: allocated here
rdma-core-59.0/libibmad/rpc.c:523:12: branch_false: following ‘false’ branch (when ‘smi’ is non-NULL)...
rdma-core-59.0/libibmad/rpc.c:527:9: branch_false: ...to here
rdma-core-59.0/libibmad/rpc.c:530:12: branch_false: following ‘false’ branch (when ‘gsi’ is non-NULL)...
rdma-core-59.0/libibmad/rpc.c:534:9: branch_false: ...to here
rdma-core-59.0/libibmad/rpc.c:537:12: branch_false: following ‘false’ branch (when ‘ports_pair’ is non-NULL)...
rdma-core-59.0/libibmad/rpc.c:541:9: branch_false: ...to here
rdma-core-59.0/libibmad/rpc.c:545:13: call_function: calling ‘get_smi_gsi_pair’ from ‘mad_rpc_open_port2’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def317]
rdma-core-59.0/libibmad/rpc.c:464:17: warning[-Wanalyzer-malloc-leak]: leak of ‘gsi’
rdma-core-59.0/libibmad/rpc.c:497:26: enter_function: entry to ‘mad_rpc_open_port2’
rdma-core-59.0/libibmad/rpc.c:505:12: branch_false: following ‘false’ branch (when ‘num_classes <= 255’)...
rdma-core-59.0/libibmad/rpc.c:511:13: branch_false: ...to here
rdma-core-59.0/libibmad/rpc.c:511:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibmad/rpc.c:517:27: branch_false: ...to here
rdma-core-59.0/libibmad/rpc.c:523:12: branch_false: following ‘false’ branch (when ‘smi’ is non-NULL)...
rdma-core-59.0/libibmad/rpc.c:527:9: branch_false: ...to here
rdma-core-59.0/libibmad/rpc.c:529:15: acquire_memory: allocated here
rdma-core-59.0/libibmad/rpc.c:530:12: branch_false: following ‘false’ branch (when ‘gsi’ is non-NULL)...
rdma-core-59.0/libibmad/rpc.c:534:9: branch_false: ...to here
rdma-core-59.0/libibmad/rpc.c:537:12: branch_false: following ‘false’ branch (when ‘ports_pair’ is non-NULL)...
rdma-core-59.0/libibmad/rpc.c:541:9: branch_false: ...to here
rdma-core-59.0/libibmad/rpc.c:545:13: call_function: calling ‘get_smi_gsi_pair’ from ‘mad_rpc_open_port2’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def318]
rdma-core-59.0/libibmad/rpc.c:464:17: warning[-Wanalyzer-malloc-leak]: leak of ‘ports_pair’
rdma-core-59.0/libibmad/rpc.c:497:26: enter_function: entry to ‘mad_rpc_open_port2’
rdma-core-59.0/libibmad/rpc.c:505:12: branch_false: following ‘false’ branch (when ‘num_classes <= 255’)...
rdma-core-59.0/libibmad/rpc.c:511:13: branch_false: ...to here
rdma-core-59.0/libibmad/rpc.c:511:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibmad/rpc.c:517:27: branch_false: ...to here
rdma-core-59.0/libibmad/rpc.c:523:12: branch_false: following ‘false’ branch (when ‘smi’ is non-NULL)...
rdma-core-59.0/libibmad/rpc.c:527:9: branch_false: ...to here
rdma-core-59.0/libibmad/rpc.c:530:12: branch_false: following ‘false’ branch (when ‘gsi’ is non-NULL)...
rdma-core-59.0/libibmad/rpc.c:534:9: branch_false: ...to here
rdma-core-59.0/libibmad/rpc.c:536:22: acquire_memory: allocated here
rdma-core-59.0/libibmad/rpc.c:537:12: branch_false: following ‘false’ branch (when ‘ports_pair’ is non-NULL)...
rdma-core-59.0/libibmad/rpc.c:541:9: branch_false: ...to here
rdma-core-59.0/libibmad/rpc.c:545:13: call_function: calling ‘get_smi_gsi_pair’ from ‘mad_rpc_open_port2’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def319]
rdma-core-59.0/libibmad/rpc.c:464:17: warning[-Wanalyzer-malloc-leak]: leak of ‘smi’
rdma-core-59.0/libibmad/rpc.c:497:26: enter_function: entry to ‘mad_rpc_open_port2’
rdma-core-59.0/libibmad/rpc.c:505:12: branch_false: following ‘false’ branch (when ‘num_classes <= 255’)...
rdma-core-59.0/libibmad/rpc.c:511:13: branch_false: ...to here
rdma-core-59.0/libibmad/rpc.c:511:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibmad/rpc.c:517:27: branch_false: ...to here
rdma-core-59.0/libibmad/rpc.c:522:15: acquire_memory: allocated here
rdma-core-59.0/libibmad/rpc.c:523:12: branch_false: following ‘false’ branch (when ‘smi’ is non-NULL)...
rdma-core-59.0/libibmad/rpc.c:527:9: branch_false: ...to here
rdma-core-59.0/libibmad/rpc.c:530:12: branch_false: following ‘false’ branch (when ‘gsi’ is non-NULL)...
rdma-core-59.0/libibmad/rpc.c:534:9: branch_false: ...to here
rdma-core-59.0/libibmad/rpc.c:537:12: branch_false: following ‘false’ branch (when ‘ports_pair’ is non-NULL)...
rdma-core-59.0/libibmad/rpc.c:541:9: branch_false: ...to here
rdma-core-59.0/libibmad/rpc.c:545:13: call_function: calling ‘get_smi_gsi_pair’ from ‘mad_rpc_open_port2’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def320]
rdma-core-59.0/libibmad/rpc.c:554:16: warning[-Wanalyzer-malloc-leak]: leak of ‘gsi’
rdma-core-59.0/libibmad/rpc.c:497:26: enter_function: entry to ‘mad_rpc_open_port2’
rdma-core-59.0/libibmad/rpc.c:505:12: branch_false: following ‘false’ branch (when ‘num_classes <= 255’)...
rdma-core-59.0/libibmad/rpc.c:511:13: branch_false: ...to here
rdma-core-59.0/libibmad/rpc.c:511:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibmad/rpc.c:517:27: branch_false: ...to here
rdma-core-59.0/libibmad/rpc.c:523:12: branch_false: following ‘false’ branch (when ‘smi’ is non-NULL)...
rdma-core-59.0/libibmad/rpc.c:527:9: branch_false: ...to here
rdma-core-59.0/libibmad/rpc.c:529:15: acquire_memory: allocated here
rdma-core-59.0/libibmad/rpc.c:530:12: branch_false: following ‘false’ branch (when ‘gsi’ is non-NULL)...
rdma-core-59.0/libibmad/rpc.c:534:9: branch_false: ...to here
rdma-core-59.0/libibmad/rpc.c:537:12: branch_false: following ‘false’ branch (when ‘ports_pair’ is non-NULL)...
rdma-core-59.0/libibmad/rpc.c:541:9: branch_false: ...to here
rdma-core-59.0/libibmad/rpc.c:545:13: call_function: calling ‘get_smi_gsi_pair’ from ‘mad_rpc_open_port2’
rdma-core-59.0/libibmad/rpc.c:545:13: return_function: returning to ‘mad_rpc_open_port2’ from ‘get_smi_gsi_pair’
rdma-core-59.0/libibmad/rpc.c:545:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibmad/rpc.c:552:16: branch_false: ...to here
rdma-core-59.0/libibmad/rpc.c:554:16: danger: ‘gsi’ leaks here; was allocated at [(8)](sarif:/runs/0/results/16/codeFlows/0/threadFlows/0/locations/7)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def321]
rdma-core-59.0/libibmad/rpc.c:554:16: warning[-Wanalyzer-malloc-leak]: leak of ‘smi’
rdma-core-59.0/libibmad/rpc.c:497:26: enter_function: entry to ‘mad_rpc_open_port2’
rdma-core-59.0/libibmad/rpc.c:505:12: branch_false: following ‘false’ branch (when ‘num_classes <= 255’)...
rdma-core-59.0/libibmad/rpc.c:511:13: branch_false: ...to here
rdma-core-59.0/libibmad/rpc.c:511:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibmad/rpc.c:517:27: branch_false: ...to here
rdma-core-59.0/libibmad/rpc.c:522:15: acquire_memory: allocated here
rdma-core-59.0/libibmad/rpc.c:523:12: branch_false: following ‘false’ branch (when ‘smi’ is non-NULL)...
rdma-core-59.0/libibmad/rpc.c:527:9: branch_false: ...to here
rdma-core-59.0/libibmad/rpc.c:530:12: branch_false: following ‘false’ branch (when ‘gsi’ is non-NULL)...
rdma-core-59.0/libibmad/rpc.c:534:9: branch_false: ...to here
rdma-core-59.0/libibmad/rpc.c:537:12: branch_false: following ‘false’ branch (when ‘ports_pair’ is non-NULL)...
rdma-core-59.0/libibmad/rpc.c:541:9: branch_false: ...to here
rdma-core-59.0/libibmad/rpc.c:545:13: call_function: calling ‘get_smi_gsi_pair’ from ‘mad_rpc_open_port2’
rdma-core-59.0/libibmad/rpc.c:545:13: return_function: returning to ‘mad_rpc_open_port2’ from ‘get_smi_gsi_pair’
rdma-core-59.0/libibmad/rpc.c:545:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibmad/rpc.c:552:16: branch_false: ...to here
rdma-core-59.0/libibmad/rpc.c:554:16: danger: ‘smi’ leaks here; was allocated at [(6)](sarif:/runs/0/results/15/codeFlows/0/threadFlows/0/locations/5)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def322]
rdma-core-59.0/libibmad/rpc.c:561:21: warning[-Wanalyzer-malloc-leak]: leak of ‘gsi’
rdma-core-59.0/libibmad/rpc.c:497:26: enter_function: entry to ‘mad_rpc_open_port2’
rdma-core-59.0/libibmad/rpc.c:505:12: branch_false: following ‘false’ branch (when ‘num_classes <= 255’)...
rdma-core-59.0/libibmad/rpc.c:511:13: branch_false: ...to here
rdma-core-59.0/libibmad/rpc.c:511:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibmad/rpc.c:517:27: branch_false: ...to here
rdma-core-59.0/libibmad/rpc.c:523:12: branch_false: following ‘false’ branch (when ‘smi’ is non-NULL)...
rdma-core-59.0/libibmad/rpc.c:527:9: branch_false: ...to here
rdma-core-59.0/libibmad/rpc.c:529:15: acquire_memory: allocated here
rdma-core-59.0/libibmad/rpc.c:530:12: branch_false: following ‘false’ branch (when ‘gsi’ is non-NULL)...
rdma-core-59.0/libibmad/rpc.c:534:9: branch_false: ...to here
rdma-core-59.0/libibmad/rpc.c:537:12: branch_false: following ‘false’ branch (when ‘ports_pair’ is non-NULL)...
rdma-core-59.0/libibmad/rpc.c:541:9: branch_false: ...to here
rdma-core-59.0/libibmad/rpc.c:545:13: call_function: calling ‘get_smi_gsi_pair’ from ‘mad_rpc_open_port2’
rdma-core-59.0/libibmad/rpc.c:545:13: return_function: returning to ‘mad_rpc_open_port2’ from ‘get_smi_gsi_pair’
rdma-core-59.0/libibmad/rpc.c:545:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibmad/rpc.c:552:16: branch_false: ...to here
rdma-core-59.0/libibmad/rpc.c:554:16: branch_true: following ‘true’ branch (when ‘num_classes != 0’)...
rdma-core-59.0/libibmad/rpc.c:556:29: branch_true: ...to here
rdma-core-59.0/libibmad/rpc.c:560:20: branch_false: following ‘false’ branch...
rdma-core-59.0/libibmad/rpc.c:561:21: branch_false: ...to here
rdma-core-59.0/libibmad/rpc.c:561:21: danger: ‘gsi’ leaks here; was allocated at [(8)](sarif:/runs/0/results/18/codeFlows/0/threadFlows/0/locations/7)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def323]
rdma-core-59.0/libibmad/rpc.c:561:21: warning[-Wanalyzer-malloc-leak]: leak of ‘ports_pair’
rdma-core-59.0/libibmad/rpc.c:497:26: enter_function: entry to ‘mad_rpc_open_port2’
rdma-core-59.0/libibmad/rpc.c:505:12: branch_false: following ‘false’ branch (when ‘num_classes <= 255’)...
rdma-core-59.0/libibmad/rpc.c:511:13: branch_false: ...to here
rdma-core-59.0/libibmad/rpc.c:511:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibmad/rpc.c:517:27: branch_false: ...to here
rdma-core-59.0/libibmad/rpc.c:523:12: branch_false: following ‘false’ branch (when ‘smi’ is non-NULL)...
rdma-core-59.0/libibmad/rpc.c:527:9: branch_false: ...to here
rdma-core-59.0/libibmad/rpc.c:530:12: branch_false: following ‘false’ branch (when ‘gsi’ is non-NULL)...
rdma-core-59.0/libibmad/rpc.c:534:9: branch_false: ...to here
rdma-core-59.0/libibmad/rpc.c:536:22: acquire_memory: allocated here
rdma-core-59.0/libibmad/rpc.c:537:12: branch_false: following ‘false’ branch (when ‘ports_pair’ is non-NULL)...
rdma-core-59.0/libibmad/rpc.c:541:9: branch_false: ...to here
rdma-core-59.0/libibmad/rpc.c:545:13: call_function: calling ‘get_smi_gsi_pair’ from ‘mad_rpc_open_port2’
rdma-core-59.0/libibmad/rpc.c:545:13: return_function: returning to ‘mad_rpc_open_port2’ from ‘get_smi_gsi_pair’
rdma-core-59.0/libibmad/rpc.c:545:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibmad/rpc.c:552:16: branch_false: ...to here
rdma-core-59.0/libibmad/rpc.c:554:16: branch_true: following ‘true’ branch (when ‘num_classes != 0’)...
rdma-core-59.0/libibmad/rpc.c:556:29: branch_true: ...to here
rdma-core-59.0/libibmad/rpc.c:560:20: branch_false: following ‘false’ branch...
rdma-core-59.0/libibmad/rpc.c:561:21: branch_false: ...to here
rdma-core-59.0/libibmad/rpc.c:561:21: danger: ‘ports_pair’ leaks here; was allocated at [(10)](sarif:/runs/0/results/17/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def324]
rdma-core-59.0/libibmad/rpc.c:561:21: warning[-Wanalyzer-malloc-leak]: leak of ‘smi’
rdma-core-59.0/libibmad/rpc.c:497:26: enter_function: entry to ‘mad_rpc_open_port2’
rdma-core-59.0/libibmad/rpc.c:505:12: branch_false: following ‘false’ branch (when ‘num_classes <= 255’)...
rdma-core-59.0/libibmad/rpc.c:511:13: branch_false: ...to here
rdma-core-59.0/libibmad/rpc.c:511:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibmad/rpc.c:517:27: branch_false: ...to here
rdma-core-59.0/libibmad/rpc.c:522:15: acquire_memory: allocated here
rdma-core-59.0/libibmad/rpc.c:523:12: branch_false: following ‘false’ branch (when ‘smi’ is non-NULL)...
rdma-core-59.0/libibmad/rpc.c:527:9: branch_false: ...to here
rdma-core-59.0/libibmad/rpc.c:530:12: branch_false: following ‘false’ branch (when ‘gsi’ is non-NULL)...
rdma-core-59.0/libibmad/rpc.c:534:9: branch_false: ...to here
rdma-core-59.0/libibmad/rpc.c:537:12: branch_false: following ‘false’ branch (when ‘ports_pair’ is non-NULL)...
rdma-core-59.0/libibmad/rpc.c:541:9: branch_false: ...to here
rdma-core-59.0/libibmad/rpc.c:545:13: call_function: calling ‘get_smi_gsi_pair’ from ‘mad_rpc_open_port2’
rdma-core-59.0/libibmad/rpc.c:545:13: return_function: returning to ‘mad_rpc_open_port2’ from ‘get_smi_gsi_pair’
rdma-core-59.0/libibmad/rpc.c:545:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibmad/rpc.c:552:16: branch_false: ...to here
rdma-core-59.0/libibmad/rpc.c:554:16: branch_true: following ‘true’ branch (when ‘num_classes != 0’)...
rdma-core-59.0/libibmad/rpc.c:556:29: branch_true: ...to here
rdma-core-59.0/libibmad/rpc.c:560:20: branch_false: following ‘false’ branch...
rdma-core-59.0/libibmad/rpc.c:561:21: branch_false: ...to here
rdma-core-59.0/libibmad/rpc.c:561:21: danger: ‘smi’ leaks here; was allocated at [(6)](sarif:/runs/0/results/19/codeFlows/0/threadFlows/0/locations/5)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def325]
rdma-core-59.0/libibmad/rpc.c:572:9: warning[-Wanalyzer-malloc-leak]: leak of ‘ports_pair’
rdma-core-59.0/libibmad/rpc.c:497:26: enter_function: entry to ‘mad_rpc_open_port2’
rdma-core-59.0/libibmad/rpc.c:505:12: branch_false: following ‘false’ branch (when ‘num_classes <= 255’)...
rdma-core-59.0/libibmad/rpc.c:511:13: branch_false: ...to here
rdma-core-59.0/libibmad/rpc.c:511:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibmad/rpc.c:517:27: branch_false: ...to here
rdma-core-59.0/libibmad/rpc.c:523:12: branch_false: following ‘false’ branch (when ‘smi’ is non-NULL)...
rdma-core-59.0/libibmad/rpc.c:527:9: branch_false: ...to here
rdma-core-59.0/libibmad/rpc.c:530:12: branch_false: following ‘false’ branch (when ‘gsi’ is non-NULL)...
rdma-core-59.0/libibmad/rpc.c:534:9: branch_false: ...to here
rdma-core-59.0/libibmad/rpc.c:536:22: acquire_memory: allocated here
rdma-core-59.0/libibmad/rpc.c:537:12: branch_false: following ‘false’ branch (when ‘ports_pair’ is non-NULL)...
rdma-core-59.0/libibmad/rpc.c:541:9: branch_false: ...to here
rdma-core-59.0/libibmad/rpc.c:545:13: call_function: calling ‘get_smi_gsi_pair’ from ‘mad_rpc_open_port2’
rdma-core-59.0/libibmad/rpc.c:545:13: return_function: returning to ‘mad_rpc_open_port2’ from ‘get_smi_gsi_pair’
rdma-core-59.0/libibmad/rpc.c:545:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibmad/rpc.c:552:16: branch_false: ...to here
rdma-core-59.0/libibmad/rpc.c:554:16: branch_true: following ‘true’ branch (when ‘num_classes != 0’)...
rdma-core-59.0/libibmad/rpc.c:556:29: branch_true: ...to here
rdma-core-59.0/libibmad/rpc.c:557:40: call_function: calling ‘get_port_for_class’ from ‘mad_rpc_open_port2’
rdma-core-59.0/libibmad/rpc.c:557:40: return_function: returning to ‘mad_rpc_open_port2’ from ‘get_port_for_class’
rdma-core-59.0/libibmad/rpc.c:560:20: branch_false: following ‘false’ branch...
rdma-core-59.0/libibmad/rpc.c:561:21: branch_false: ...to here
rdma-core-59.0/libibmad/rpc.c:560:21: branch_true: following ‘true’ branch...
rdma-core-59.0/libibmad/rpc.c:562:25: branch_true: ...to here
rdma-core-59.0/libibmad/rpc.c:572:9: danger: ‘ports_pair’ leaks here; was allocated at [(10)](sarif:/runs/0/results/21/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def326]
rdma-core-59.0/libibmad/rpc.c:572:9: warning[-Wanalyzer-malloc-leak]: leak of ‘smi’
rdma-core-59.0/libibmad/rpc.c:497:26: enter_function: entry to ‘mad_rpc_open_port2’
rdma-core-59.0/libibmad/rpc.c:505:12: branch_false: following ‘false’ branch (when ‘num_classes <= 255’)...
rdma-core-59.0/libibmad/rpc.c:511:13: branch_false: ...to here
rdma-core-59.0/libibmad/rpc.c:511:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibmad/rpc.c:517:27: branch_false: ...to here
rdma-core-59.0/libibmad/rpc.c:522:15: acquire_memory: allocated here
rdma-core-59.0/libibmad/rpc.c:523:12: branch_false: following ‘false’ branch (when ‘smi’ is non-NULL)...
rdma-core-59.0/libibmad/rpc.c:527:9: branch_false: ...to here
rdma-core-59.0/libibmad/rpc.c:530:12: branch_false: following ‘false’ branch (when ‘gsi’ is non-NULL)...
rdma-core-59.0/libibmad/rpc.c:534:9: branch_false: ...to here
rdma-core-59.0/libibmad/rpc.c:537:12: branch_false: following ‘false’ branch (when ‘ports_pair’ is non-NULL)...
rdma-core-59.0/libibmad/rpc.c:541:9: branch_false: ...to here
rdma-core-59.0/libibmad/rpc.c:545:13: call_function: calling ‘get_smi_gsi_pair’ from ‘mad_rpc_open_port2’
rdma-core-59.0/libibmad/rpc.c:545:13: return_function: returning to ‘mad_rpc_open_port2’ from ‘get_smi_gsi_pair’
rdma-core-59.0/libibmad/rpc.c:545:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibmad/rpc.c:552:16: branch_false: ...to here
rdma-core-59.0/libibmad/rpc.c:554:16: branch_true: following ‘true’ branch (when ‘num_classes != 0’)...
rdma-core-59.0/libibmad/rpc.c:556:29: branch_true: ...to here
rdma-core-59.0/libibmad/rpc.c:557:40: call_function: calling ‘get_port_for_class’ from ‘mad_rpc_open_port2’
rdma-core-59.0/libibmad/rpc.c:557:40: return_function: returning to ‘mad_rpc_open_port2’ from ‘get_port_for_class’
rdma-core-59.0/libibmad/rpc.c:560:20: branch_false: following ‘false’ branch...
rdma-core-59.0/libibmad/rpc.c:561:21: branch_false: ...to here
rdma-core-59.0/libibmad/rpc.c:560:21: branch_true: following ‘true’ branch...
rdma-core-59.0/libibmad/rpc.c:562:25: branch_true: ...to here
rdma-core-59.0/libibmad/rpc.c:572:9: danger: ‘smi’ leaks here; was allocated at [(6)](sarif:/runs/0/results/20/codeFlows/0/threadFlows/0/locations/5)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def327]
rdma-core-59.0/libibmad/rpc.c:573:9: warning[-Wanalyzer-malloc-leak]: leak of ‘ports_pair’
rdma-core-59.0/libibmad/rpc.c:497:26: enter_function: entry to ‘mad_rpc_open_port2’
rdma-core-59.0/libibmad/rpc.c:505:12: branch_false: following ‘false’ branch (when ‘num_classes <= 255’)...
rdma-core-59.0/libibmad/rpc.c:511:13: branch_false: ...to here
rdma-core-59.0/libibmad/rpc.c:511:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibmad/rpc.c:517:27: branch_false: ...to here
rdma-core-59.0/libibmad/rpc.c:523:12: branch_false: following ‘false’ branch (when ‘smi’ is non-NULL)...
rdma-core-59.0/libibmad/rpc.c:527:9: branch_false: ...to here
rdma-core-59.0/libibmad/rpc.c:530:12: branch_false: following ‘false’ branch (when ‘gsi’ is non-NULL)...
rdma-core-59.0/libibmad/rpc.c:534:9: branch_false: ...to here
rdma-core-59.0/libibmad/rpc.c:536:22: acquire_memory: allocated here
rdma-core-59.0/libibmad/rpc.c:537:12: branch_false: following ‘false’ branch (when ‘ports_pair’ is non-NULL)...
rdma-core-59.0/libibmad/rpc.c:541:9: branch_false: ...to here
rdma-core-59.0/libibmad/rpc.c:545:13: call_function: calling ‘get_smi_gsi_pair’ from ‘mad_rpc_open_port2’
rdma-core-59.0/libibmad/rpc.c:545:13: return_function: returning to ‘mad_rpc_open_port2’ from ‘get_smi_gsi_pair’
rdma-core-59.0/libibmad/rpc.c:545:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibmad/rpc.c:552:16: branch_false: ...to here
rdma-core-59.0/libibmad/rpc.c:554:16: branch_true: following ‘true’ branch (when ‘num_classes != 0’)...
rdma-core-59.0/libibmad/rpc.c:556:29: branch_true: ...to here
rdma-core-59.0/libibmad/rpc.c:557:40: call_function: calling ‘get_port_for_class’ from ‘mad_rpc_open_port2’
rdma-core-59.0/libibmad/rpc.c:557:40: return_function: returning to ‘mad_rpc_open_port2’ from ‘get_port_for_class’
rdma-core-59.0/libibmad/rpc.c:560:20: branch_false: following ‘false’ branch...
rdma-core-59.0/libibmad/rpc.c:561:21: branch_false: ...to here
rdma-core-59.0/libibmad/rpc.c:560:21: branch_true: following ‘true’ branch...
rdma-core-59.0/libibmad/rpc.c:562:25: branch_true: ...to here
rdma-core-59.0/libibmad/rpc.c:573:9: danger: ‘ports_pair’ leaks here; was allocated at [(10)](sarif:/runs/0/results/23/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def328]
rdma-core-59.0/libibmad/rpc.c:573:9: warning[-Wanalyzer-malloc-leak]: leak of ‘smi’
rdma-core-59.0/libibmad/rpc.c:497:26: enter_function: entry to ‘mad_rpc_open_port2’
rdma-core-59.0/libibmad/rpc.c:505:12: branch_false: following ‘false’ branch (when ‘num_classes <= 255’)...
rdma-core-59.0/libibmad/rpc.c:511:13: branch_false: ...to here
rdma-core-59.0/libibmad/rpc.c:511:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibmad/rpc.c:517:27: branch_false: ...to here
rdma-core-59.0/libibmad/rpc.c:522:15: acquire_memory: allocated here
rdma-core-59.0/libibmad/rpc.c:523:12: branch_false: following ‘false’ branch (when ‘smi’ is non-NULL)...
rdma-core-59.0/libibmad/rpc.c:527:9: branch_false: ...to here
rdma-core-59.0/libibmad/rpc.c:530:12: branch_false: following ‘false’ branch (when ‘gsi’ is non-NULL)...
rdma-core-59.0/libibmad/rpc.c:534:9: branch_false: ...to here
rdma-core-59.0/libibmad/rpc.c:537:12: branch_false: following ‘false’ branch (when ‘ports_pair’ is non-NULL)...
rdma-core-59.0/libibmad/rpc.c:541:9: branch_false: ...to here
rdma-core-59.0/libibmad/rpc.c:545:13: call_function: calling ‘get_smi_gsi_pair’ from ‘mad_rpc_open_port2’
rdma-core-59.0/libibmad/rpc.c:545:13: return_function: returning to ‘mad_rpc_open_port2’ from ‘get_smi_gsi_pair’
rdma-core-59.0/libibmad/rpc.c:545:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibmad/rpc.c:552:16: branch_false: ...to here
rdma-core-59.0/libibmad/rpc.c:554:16: branch_true: following ‘true’ branch (when ‘num_classes != 0’)...
rdma-core-59.0/libibmad/rpc.c:556:29: branch_true: ...to here
rdma-core-59.0/libibmad/rpc.c:557:40: call_function: calling ‘get_port_for_class’ from ‘mad_rpc_open_port2’
rdma-core-59.0/libibmad/rpc.c:557:40: return_function: returning to ‘mad_rpc_open_port2’ from ‘get_port_for_class’
rdma-core-59.0/libibmad/rpc.c:560:20: branch_false: following ‘false’ branch...
rdma-core-59.0/libibmad/rpc.c:561:21: branch_false: ...to here
rdma-core-59.0/libibmad/rpc.c:560:21: branch_true: following ‘true’ branch...
rdma-core-59.0/libibmad/rpc.c:562:25: branch_true: ...to here
rdma-core-59.0/libibmad/rpc.c:573:9: danger: ‘smi’ leaks here; was allocated at [(6)](sarif:/runs/0/results/22/codeFlows/0/threadFlows/0/locations/5)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def329]
rdma-core-59.0/libibmad/serv.c:177:22: warning[-Wanalyzer-malloc-leak]: leak of ‘mad’
rdma-core-59.0/libibmad/serv.c:171:7: enter_function: entry to ‘mad_receive_via’
rdma-core-59.0/libibmad/serv.c:173:21: branch_true: following ‘true’ branch (when ‘umad’ is NULL)...
rdma-core-59.0/libibmad/serv.c:173:49: branch_true: ...to here
rdma-core-59.0/libibmad/serv.c:173:35: call_function: inlined call to ‘umad_alloc’ from ‘mad_receive_via’
rdma-core-59.0/libibmad/serv.c:177:22: danger: ‘mad’ leaks here; was allocated at [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4)
Error: CPPCHECK_WARNING (CWE-476): [#def330]
rdma-core-59.0/libibnetdisc/ibnetdisc.c:263: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: cbdata
Error: CPPCHECK_WARNING (CWE-476): [#def331]
rdma-core-59.0/libibnetdisc/ibnetdisc.c:264: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: cbdata
Error: CPPCHECK_WARNING (CWE-476): [#def332]
rdma-core-59.0/libibnetdisc/ibnetdisc.c:312: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: cbdata
Error: CPPCHECK_WARNING (CWE-476): [#def333]
rdma-core-59.0/libibnetdisc/ibnetdisc.c:313: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: cbdata
Error: CPPCHECK_WARNING (CWE-476): [#def334]
rdma-core-59.0/libibnetdisc/ibnetdisc.c:423: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: cbdata
Error: CPPCHECK_WARNING (CWE-476): [#def335]
rdma-core-59.0/libibnetdisc/ibnetdisc.c:424: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: cbdata
Error: GCC_ANALYZER_WARNING (CWE-401): [#def336]
rdma-core-59.0/libibnetdisc/ibnetdisc.c:466:9: warning[-Wanalyzer-malloc-leak]: leak of ‘rc’
rdma-core-59.0/libibnetdisc/ibnetdisc.c:459:27: acquire_memory: allocated here
rdma-core-59.0/libibnetdisc/ibnetdisc.c:460:12: branch_false: following ‘false’ branch (when ‘rc’ is non-NULL)...
rdma-core-59.0/libibnetdisc/ibnetdisc.c:466:53: branch_false: ...to here
rdma-core-59.0/libibnetdisc/ibnetdisc.c:466:9: danger: ‘rc’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def337]
rdma-core-59.0/libibnetdisc/ibnetdisc.c:630:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
rdma-core-59.0/libibnetdisc/ibnetdisc.c:627:14: enter_function: entry to ‘ibnd_find_node_dr’
rdma-core-59.0/libibnetdisc/ibnetdisc.c:629:27: call_function: calling ‘ibnd_find_port_dr’ from ‘ibnd_find_node_dr’
rdma-core-59.0/libibnetdisc/ibnetdisc.c:629:27: return_function: returning to ‘ibnd_find_node_dr’ from ‘ibnd_find_port_dr’
rdma-core-59.0/libibnetdisc/ibnetdisc.c:630:16: danger: dereference of NULL ‘ibnd_find_port_dr(fabric, dr_str)’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def338]
rdma-core-59.0/libibnetdisc/ibnetdisc.c:678:9: warning[-Wanalyzer-malloc-leak]: leak of ‘f’
rdma-core-59.0/libibnetdisc/ibnetdisc.c:754:15: enter_function: entry to ‘allocate_fabric_internal’
rdma-core-59.0/libibnetdisc/ibnetdisc.c:756:27: acquire_memory: allocated here
rdma-core-59.0/libibnetdisc/ibnetdisc.c:757:12: branch_true: following ‘true’ branch (when ‘f’ is non-NULL)...
rdma-core-59.0/libibnetdisc/ibnetdisc.c:758:17: branch_true: ...to here
rdma-core-59.0/libibnetdisc/ibnetdisc.c:758:17: call_function: calling ‘create_lid2guid’ from ‘allocate_fabric_internal’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def339]
rdma-core-59.0/libibnetdisc/ibnetdisc.c:707:37: warning[-Wanalyzer-malloc-leak]: leak of ‘item’
rdma-core-59.0/libibnetdisc/ibnetdisc.c:698:12: branch_true: following ‘true’ branch...
branch_true: ...to here
rdma-core-59.0/libibnetdisc/ibnetdisc.c:701:38: branch_true: following ‘true’ branch...
rdma-core-59.0/libibnetdisc/ibnetdisc.c:704:32: branch_true: ...to here
rdma-core-59.0/libibnetdisc/ibnetdisc.c:704:32: acquire_memory: allocated here
rdma-core-59.0/libibnetdisc/ibnetdisc.c:705:28: branch_true: following ‘true’ branch (when ‘item’ is non-NULL)...
rdma-core-59.0/libibnetdisc/ibnetdisc.c:706:33: branch_true: ...to here
rdma-core-59.0/libibnetdisc/ibnetdisc.c:707:37: danger: ‘item’ leaks here; was allocated at [(5)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def340]
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:258:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(file, 0)’
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:620:16: enter_function: entry to ‘ibnd_load_fabric’
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:630:12: branch_false: following ‘false’ branch (when ‘file’ is non-NULL)...
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:635:19: branch_false: ...to here
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:635:19: acquire_resource: opened here
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:635:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:641:37: branch_false: ...to here
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:642:12: branch_false: following ‘false’ branch (when ‘fabric_cache’ is non-NULL)...
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:646:9: branch_false: ...to here
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:649:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:654:9: branch_false: ...to here
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:656:13: call_function: calling ‘_load_header_info’ from ‘ibnd_load_fabric’
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:656:13: return_function: returning to ‘ibnd_load_fabric’ from ‘_load_header_info’
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:656:12: branch_false: following ‘false’ branch...
branch_false: ...to here
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:660:20: branch_true: following ‘true’ branch...
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:661:25: branch_true: ...to here
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:692:9: call_function: calling ‘_destroy_ibnd_fabric_cache’ from ‘ibnd_load_fabric’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def341]
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:258:17: warning[-Wanalyzer-malloc-leak]: leak of ‘fabric_cache’
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:620:16: enter_function: entry to ‘ibnd_load_fabric’
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:630:12: branch_false: following ‘false’ branch (when ‘file’ is non-NULL)...
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:635:19: branch_false: ...to here
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:635:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:641:37: branch_false: ...to here
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:641:37: acquire_memory: allocated here
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:642:12: branch_false: following ‘false’ branch (when ‘fabric_cache’ is non-NULL)...
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:646:9: branch_false: ...to here
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:649:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:654:9: branch_false: ...to here
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:656:13: call_function: calling ‘_load_header_info’ from ‘ibnd_load_fabric’
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:656:13: return_function: returning to ‘ibnd_load_fabric’ from ‘_load_header_info’
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:656:12: branch_false: following ‘false’ branch...
branch_false: ...to here
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:660:20: branch_true: following ‘true’ branch...
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:661:25: branch_true: ...to here
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:692:9: call_function: calling ‘_destroy_ibnd_fabric_cache’ from ‘ibnd_load_fabric’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def342]
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:258:17: warning[-Wanalyzer-malloc-leak]: leak of ‘node_cache’
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:620:16: enter_function: entry to ‘ibnd_load_fabric’
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:630:12: branch_false: following ‘false’ branch (when ‘file’ is non-NULL)...
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:635:19: branch_false: ...to here
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:635:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:641:37: branch_false: ...to here
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:642:12: branch_false: following ‘false’ branch (when ‘fabric_cache’ is non-NULL)...
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:646:9: branch_false: ...to here
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:649:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:654:9: branch_false: ...to here
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:656:13: call_function: calling ‘_load_header_info’ from ‘ibnd_load_fabric’
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:656:13: return_function: returning to ‘ibnd_load_fabric’ from ‘_load_header_info’
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:656:12: branch_false: following ‘false’ branch...
branch_false: ...to here
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:659:21: branch_true: following ‘true’ branch...
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:660:21: branch_true: ...to here
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:660:21: call_function: calling ‘_load_node’ from ‘ibnd_load_fabric’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def343]
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:258:17: warning[-Wanalyzer-malloc-leak]: leak of ‘node’
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:620:16: enter_function: entry to ‘ibnd_load_fabric’
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:630:12: branch_false: following ‘false’ branch (when ‘file’ is non-NULL)...
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:635:19: branch_false: ...to here
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:635:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:641:37: branch_false: ...to here
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:642:12: branch_false: following ‘false’ branch (when ‘fabric_cache’ is non-NULL)...
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:646:9: branch_false: ...to here
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:649:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:654:9: branch_false: ...to here
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:656:13: call_function: calling ‘_load_header_info’ from ‘ibnd_load_fabric’
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:656:13: return_function: returning to ‘ibnd_load_fabric’ from ‘_load_header_info’
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:656:12: branch_false: following ‘false’ branch...
branch_false: ...to here
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:659:21: branch_true: following ‘true’ branch...
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:660:21: branch_true: ...to here
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:660:21: call_function: calling ‘_load_node’ from ‘ibnd_load_fabric’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def344]
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:514:18: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(file, 0)’
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:620:16: enter_function: entry to ‘ibnd_load_fabric’
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:630:12: branch_false: following ‘false’ branch (when ‘file’ is non-NULL)...
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:635:19: branch_false: ...to here
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:635:19: acquire_resource: opened here
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:635:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:641:37: branch_false: ...to here
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:642:12: branch_false: following ‘false’ branch (when ‘fabric_cache’ is non-NULL)...
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:646:9: branch_false: ...to here
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:649:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:654:9: branch_false: ...to here
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:656:13: call_function: calling ‘_load_header_info’ from ‘ibnd_load_fabric’
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:656:13: return_function: returning to ‘ibnd_load_fabric’ from ‘_load_header_info’
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:656:12: branch_false: following ‘false’ branch...
branch_false: ...to here
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:659:21: branch_false: following ‘false’ branch...
branch_false: ...to here
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:664:21: branch_false: following ‘false’ branch...
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:671:15: branch_false: ...to here
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:671:15: call_function: calling ‘_find_node’ from ‘ibnd_load_fabric’
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:671:15: return_function: returning to ‘ibnd_load_fabric’ from ‘_find_node’
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:670:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:675:35: branch_false: ...to here
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:677:13: call_function: calling ‘_rebuild_nodes’ from ‘ibnd_load_fabric’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def345]
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:514:18: warning[-Wanalyzer-malloc-leak]: leak of ‘fabric_cache’
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:620:16: enter_function: entry to ‘ibnd_load_fabric’
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:630:12: branch_false: following ‘false’ branch (when ‘file’ is non-NULL)...
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:635:19: branch_false: ...to here
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:635:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:641:37: branch_false: ...to here
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:641:37: acquire_memory: allocated here
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:642:12: branch_false: following ‘false’ branch (when ‘fabric_cache’ is non-NULL)...
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:646:9: branch_false: ...to here
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:649:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:654:9: branch_false: ...to here
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:656:13: call_function: calling ‘_load_header_info’ from ‘ibnd_load_fabric’
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:656:13: return_function: returning to ‘ibnd_load_fabric’ from ‘_load_header_info’
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:656:12: branch_false: following ‘false’ branch...
branch_false: ...to here
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:659:21: branch_false: following ‘false’ branch...
branch_false: ...to here
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:664:21: branch_false: following ‘false’ branch...
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:671:15: branch_false: ...to here
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:671:15: call_function: calling ‘_find_node’ from ‘ibnd_load_fabric’
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:671:15: return_function: returning to ‘ibnd_load_fabric’ from ‘_find_node’
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:670:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:675:35: branch_false: ...to here
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:677:13: call_function: calling ‘_rebuild_nodes’ from ‘ibnd_load_fabric’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def346]
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:543:26: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(file, 0)’
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:620:16: enter_function: entry to ‘ibnd_load_fabric’
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:630:12: branch_false: following ‘false’ branch (when ‘file’ is non-NULL)...
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:635:19: branch_false: ...to here
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:635:19: acquire_resource: opened here
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:635:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:641:37: branch_false: ...to here
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:642:12: branch_false: following ‘false’ branch (when ‘fabric_cache’ is non-NULL)...
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:646:9: branch_false: ...to here
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:649:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:654:9: branch_false: ...to here
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:656:13: call_function: calling ‘_load_header_info’ from ‘ibnd_load_fabric’
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:656:13: return_function: returning to ‘ibnd_load_fabric’ from ‘_load_header_info’
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:656:12: branch_false: following ‘false’ branch...
branch_false: ...to here
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:659:21: branch_false: following ‘false’ branch...
branch_false: ...to here
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:664:21: branch_false: following ‘false’ branch...
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:671:15: branch_false: ...to here
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:671:15: call_function: calling ‘_find_node’ from ‘ibnd_load_fabric’
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:671:15: return_function: returning to ‘ibnd_load_fabric’ from ‘_find_node’
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:670:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:675:35: branch_false: ...to here
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:677:13: call_function: calling ‘_rebuild_nodes’ from ‘ibnd_load_fabric’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def347]
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:543:26: warning[-Wanalyzer-malloc-leak]: leak of ‘fabric_cache’
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:620:16: enter_function: entry to ‘ibnd_load_fabric’
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:630:12: branch_false: following ‘false’ branch (when ‘file’ is non-NULL)...
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:635:19: branch_false: ...to here
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:635:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:641:37: branch_false: ...to here
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:641:37: acquire_memory: allocated here
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:642:12: branch_false: following ‘false’ branch (when ‘fabric_cache’ is non-NULL)...
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:646:9: branch_false: ...to here
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:649:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:654:9: branch_false: ...to here
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:656:13: call_function: calling ‘_load_header_info’ from ‘ibnd_load_fabric’
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:656:13: return_function: returning to ‘ibnd_load_fabric’ from ‘_load_header_info’
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:656:12: branch_false: following ‘false’ branch...
branch_false: ...to here
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:659:21: branch_false: following ‘false’ branch...
branch_false: ...to here
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:664:21: branch_false: following ‘false’ branch...
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:671:15: branch_false: ...to here
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:671:15: call_function: calling ‘_find_node’ from ‘ibnd_load_fabric’
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:671:15: return_function: returning to ‘ibnd_load_fabric’ from ‘_find_node’
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:670:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:675:35: branch_false: ...to here
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:677:13: call_function: calling ‘_rebuild_nodes’ from ‘ibnd_load_fabric’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def348]
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:553:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(file, 0)’
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:620:16: enter_function: entry to ‘ibnd_load_fabric’
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:630:12: branch_false: following ‘false’ branch (when ‘file’ is non-NULL)...
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:635:19: branch_false: ...to here
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:635:19: acquire_resource: opened here
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:635:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:641:37: branch_false: ...to here
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:642:12: branch_false: following ‘false’ branch (when ‘fabric_cache’ is non-NULL)...
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:646:9: branch_false: ...to here
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:649:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:654:9: branch_false: ...to here
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:656:13: call_function: calling ‘_load_header_info’ from ‘ibnd_load_fabric’
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:656:13: return_function: returning to ‘ibnd_load_fabric’ from ‘_load_header_info’
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:656:12: branch_false: following ‘false’ branch...
branch_false: ...to here
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:659:21: branch_false: following ‘false’ branch...
branch_false: ...to here
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:664:21: branch_false: following ‘false’ branch...
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:671:15: branch_false: ...to here
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:671:15: call_function: calling ‘_find_node’ from ‘ibnd_load_fabric’
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:671:15: return_function: returning to ‘ibnd_load_fabric’ from ‘_find_node’
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:670:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:675:35: branch_false: ...to here
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:677:13: call_function: calling ‘_rebuild_nodes’ from ‘ibnd_load_fabric’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def349]
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:553:17: warning[-Wanalyzer-malloc-leak]: leak of ‘fabric_cache’
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:620:16: enter_function: entry to ‘ibnd_load_fabric’
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:630:12: branch_false: following ‘false’ branch (when ‘file’ is non-NULL)...
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:635:19: branch_false: ...to here
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:635:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:641:37: branch_false: ...to here
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:641:37: acquire_memory: allocated here
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:642:12: branch_false: following ‘false’ branch (when ‘fabric_cache’ is non-NULL)...
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:646:9: branch_false: ...to here
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:649:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:654:9: branch_false: ...to here
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:656:13: call_function: calling ‘_load_header_info’ from ‘ibnd_load_fabric’
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:656:13: return_function: returning to ‘ibnd_load_fabric’ from ‘_load_header_info’
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:656:12: branch_false: following ‘false’ branch...
branch_false: ...to here
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:659:21: branch_false: following ‘false’ branch...
branch_false: ...to here
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:664:21: branch_false: following ‘false’ branch...
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:671:15: branch_false: ...to here
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:671:15: call_function: calling ‘_find_node’ from ‘ibnd_load_fabric’
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:671:15: return_function: returning to ‘ibnd_load_fabric’ from ‘_find_node’
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:670:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:675:35: branch_false: ...to here
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:677:13: call_function: calling ‘_rebuild_nodes’ from ‘ibnd_load_fabric’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def350]
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:648:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(file, 0)’
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:630:12: branch_false: following ‘false’ branch (when ‘file’ is non-NULL)...
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:635:19: branch_false: ...to here
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:635:19: acquire_resource: opened here
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:635:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:641:37: branch_false: ...to here
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:642:12: branch_false: following ‘false’ branch (when ‘fabric_cache’ is non-NULL)...
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:646:9: branch_false: ...to here
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:648:17: danger: ‘open(file, 0)’ leaks here; was opened at [(3)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def351]
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:648:17: warning[-Wanalyzer-malloc-leak]: leak of ‘fabric_cache’
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:630:12: branch_false: following ‘false’ branch (when ‘file’ is non-NULL)...
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:635:19: branch_false: ...to here
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:635:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:641:37: branch_false: ...to here
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:641:37: acquire_memory: allocated here
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:642:12: branch_false: following ‘false’ branch (when ‘fabric_cache’ is non-NULL)...
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:646:9: branch_false: ...to here
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:648:17: danger: ‘fabric_cache’ leaks here; was allocated at [(5)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def352]
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:691:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(file, 0)’
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:620:16: enter_function: entry to ‘ibnd_load_fabric’
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:630:12: branch_false: following ‘false’ branch (when ‘file’ is non-NULL)...
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:635:19: branch_false: ...to here
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:635:19: acquire_resource: opened here
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:635:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:641:37: branch_false: ...to here
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:642:12: branch_false: following ‘false’ branch (when ‘fabric_cache’ is non-NULL)...
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:646:9: branch_false: ...to here
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:649:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:654:9: branch_false: ...to here
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:656:13: call_function: calling ‘_load_header_info’ from ‘ibnd_load_fabric’
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:656:13: return_function: returning to ‘ibnd_load_fabric’ from ‘_load_header_info’
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:656:12: branch_true: following ‘true’ branch...
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:657:17: branch_true: ...to here
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:691:9: danger: ‘open(file, 0)’ leaks here; was opened at [(4)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def353]
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:691:9: warning[-Wanalyzer-malloc-leak]: leak of ‘fabric_cache’
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:620:16: enter_function: entry to ‘ibnd_load_fabric’
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:630:12: branch_false: following ‘false’ branch (when ‘file’ is non-NULL)...
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:635:19: branch_false: ...to here
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:635:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:641:37: branch_false: ...to here
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:641:37: acquire_memory: allocated here
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:642:12: branch_false: following ‘false’ branch (when ‘fabric_cache’ is non-NULL)...
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:646:9: branch_false: ...to here
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:649:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:654:9: branch_false: ...to here
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:656:13: call_function: calling ‘_load_header_info’ from ‘ibnd_load_fabric’
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:656:13: return_function: returning to ‘ibnd_load_fabric’ from ‘_load_header_info’
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:656:12: branch_true: following ‘true’ branch...
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:657:17: branch_true: ...to here
rdma-core-59.0/libibnetdisc/ibnetdisc_cache.c:691:9: danger: ‘fabric_cache’ leaks here; was allocated at [(6)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/5)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def354]
rdma-core-59.0/libibnetdisc/query_smp.c:137:25: warning[-Wanalyzer-malloc-leak]: leak of ‘smp’
rdma-core-59.0/libibnetdisc/query_smp.c:122:27: acquire_memory: allocated here
rdma-core-59.0/libibnetdisc/query_smp.c:123:12: branch_false: following ‘false’ branch (when ‘smp’ is non-NULL)...
rdma-core-59.0/libibnetdisc/query_smp.c:128:9: branch_false: ...to here
rdma-core-59.0/libibnetdisc/query_smp.c:137:25: danger: ‘smp’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def355]
rdma-core-59.0/libibnetdisc/tests/testleaks.c:110:32: warning[-Wanalyzer-malloc-leak]: leak of ‘from’
rdma-core-59.0/libibnetdisc/tests/testleaks.c:103:20: branch_false: following ‘false’ branch (when ‘ch != -1’)...
rdma-core-59.0/libibnetdisc/tests/testleaks.c:105:17: branch_false: ...to here
rdma-core-59.0/libibnetdisc/tests/testleaks.c:110:32: acquire_memory: allocated here
rdma-core-59.0/libibnetdisc/tests/testleaks.c:103:20: branch_false: following ‘false’ branch (when ‘ch != -1’)...
rdma-core-59.0/libibnetdisc/tests/testleaks.c:105:17: branch_false: ...to here
rdma-core-59.0/libibnetdisc/tests/testleaks.c:110:32: danger: ‘from’ leaks here; was allocated at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def356]
rdma-core-59.0/libibnetdisc/tests/testleaks.c:138:25: warning[-Wanalyzer-malloc-leak]: leak of ‘from’
rdma-core-59.0/libibnetdisc/tests/testleaks.c:103:20: branch_false: following ‘false’ branch (when ‘ch != -1’)...
rdma-core-59.0/libibnetdisc/tests/testleaks.c:105:17: branch_false: ...to here
rdma-core-59.0/libibnetdisc/tests/testleaks.c:110:32: acquire_memory: allocated here
rdma-core-59.0/libibnetdisc/tests/testleaks.c:103:20: branch_true: following ‘true’ branch (when ‘ch == -1’)...
branch_true: ...to here
rdma-core-59.0/libibnetdisc/tests/testleaks.c:135:16: branch_true: following ‘true’ branch (when ‘iters == -1’)...
rdma-core-59.0/libibnetdisc/tests/testleaks.c:136:20: branch_true: ...to here
rdma-core-59.0/libibnetdisc/tests/testleaks.c:136:20: branch_true: following ‘true’ branch (when ‘from’ is non-NULL)...
rdma-core-59.0/libibnetdisc/tests/testleaks.c:138:25: branch_true: ...to here
rdma-core-59.0/libibnetdisc/tests/testleaks.c:138:25: danger: ‘from’ leaks here; was allocated at [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def357]
rdma-core-59.0/libibumad/sysfs.c:69:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(&path, 0)’
rdma-core-59.0/libibumad/sysfs.c:63:19: acquire_resource: opened here
rdma-core-59.0/libibumad/sysfs.c:63:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibumad/sysfs.c:66:18: branch_false: ...to here
rdma-core-59.0/libibumad/sysfs.c:66:12: branch_true: following ‘true’ branch (when ‘r < 0’)...
rdma-core-59.0/libibumad/sysfs.c:67:25: branch_true: ...to here
rdma-core-59.0/libibumad/sysfs.c:69:17: danger: ‘open(&path, 0)’ leaks here; was opened at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def358]
rdma-core-59.0/libibumad/sysfs.c:78:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(&path, 0)’
rdma-core-59.0/libibumad/sysfs.c:63:19: acquire_resource: opened here
rdma-core-59.0/libibumad/sysfs.c:63:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibumad/sysfs.c:66:18: branch_false: ...to here
rdma-core-59.0/libibumad/sysfs.c:66:12: branch_false: following ‘false’ branch (when ‘r >= 0’)...
rdma-core-59.0/libibumad/sysfs.c:73:13: branch_false: ...to here
rdma-core-59.0/libibumad/sysfs.c:78:9: danger: ‘open(&path, 0)’ leaks here; was opened at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def359]
rdma-core-59.0/libibumad/tests/umad_sa_mcm_rereg_test.c:73:9: warning[-Wanalyzer-malloc-leak]: leak of ‘list’
rdma-core-59.0/libibumad/tests/umad_sa_mcm_rereg_test.c:374:12: enter_function: entry to ‘test_port’
rdma-core-59.0/libibumad/tests/umad_sa_mcm_rereg_test.c:386:16: acquire_memory: allocated here
rdma-core-59.0/libibumad/tests/umad_sa_mcm_rereg_test.c:387:12: branch_false: following ‘false’ branch (when ‘list’ is non-NULL)...
rdma-core-59.0/libibumad/tests/umad_sa_mcm_rereg_test.c:393:13: branch_false: ...to here
rdma-core-59.0/libibumad/tests/umad_sa_mcm_rereg_test.c:394:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibumad/tests/umad_sa_mcm_rereg_test.c:401:18: branch_false: ...to here
rdma-core-59.0/libibumad/tests/umad_sa_mcm_rereg_test.c:403:16: branch_false: following ‘false’ branch...
rdma-core-59.0/libibumad/tests/umad_sa_mcm_rereg_test.c:417:9: branch_false: ...to here
rdma-core-59.0/libibumad/tests/umad_sa_mcm_rereg_test.c:419:12: branch_true: following ‘true’ branch...
rdma-core-59.0/libibumad/tests/umad_sa_mcm_rereg_test.c:420:17: branch_true: ...to here
rdma-core-59.0/libibumad/tests/umad_sa_mcm_rereg_test.c:420:17: call_function: calling ‘query_all’ from ‘test_port’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def360]
rdma-core-59.0/libibumad/tests/umad_sa_mcm_rereg_test.c:73:9: warning[-Wanalyzer-malloc-leak]: leak of ‘umad’
rdma-core-59.0/libibumad/tests/umad_sa_mcm_rereg_test.c:374:12: enter_function: entry to ‘test_port’
rdma-core-59.0/libibumad/tests/umad_sa_mcm_rereg_test.c:387:12: branch_false: following ‘false’ branch (when ‘list’ is non-NULL)...
rdma-core-59.0/libibumad/tests/umad_sa_mcm_rereg_test.c:393:13: branch_false: ...to here
rdma-core-59.0/libibumad/tests/umad_sa_mcm_rereg_test.c:394:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibumad/tests/umad_sa_mcm_rereg_test.c:401:18: branch_false: ...to here
rdma-core-59.0/libibumad/tests/umad_sa_mcm_rereg_test.c:403:16: branch_false: following ‘false’ branch...
rdma-core-59.0/libibumad/tests/umad_sa_mcm_rereg_test.c:417:9: branch_false: ...to here
rdma-core-59.0/libibumad/tests/umad_sa_mcm_rereg_test.c:419:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibumad/tests/umad_sa_mcm_rereg_test.c:422:18: branch_false: ...to here
rdma-core-59.0/libibumad/tests/umad_sa_mcm_rereg_test.c:422:17: branch_false: following ‘false’ branch...
rdma-core-59.0/libibumad/tests/umad_sa_mcm_rereg_test.c:425:18: branch_false: ...to here
rdma-core-59.0/libibumad/tests/umad_sa_mcm_rereg_test.c:425:17: branch_false: following ‘false’ branch...
rdma-core-59.0/libibumad/tests/umad_sa_mcm_rereg_test.c:430:17: branch_false: ...to here
rdma-core-59.0/libibumad/tests/umad_sa_mcm_rereg_test.c:430:17: call_function: calling ‘rereg_send_all’ from ‘test_port’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def361]
rdma-core-59.0/libibumad/tests/umad_sa_mcm_rereg_test.c:79:9: warning[-Wanalyzer-malloc-leak]: leak of ‘list’
rdma-core-59.0/libibumad/tests/umad_sa_mcm_rereg_test.c:374:12: enter_function: entry to ‘test_port’
rdma-core-59.0/libibumad/tests/umad_sa_mcm_rereg_test.c:386:16: acquire_memory: allocated here
rdma-core-59.0/libibumad/tests/umad_sa_mcm_rereg_test.c:387:12: branch_false: following ‘false’ branch (when ‘list’ is non-NULL)...
rdma-core-59.0/libibumad/tests/umad_sa_mcm_rereg_test.c:393:13: branch_false: ...to here
rdma-core-59.0/libibumad/tests/umad_sa_mcm_rereg_test.c:394:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibumad/tests/umad_sa_mcm_rereg_test.c:401:18: branch_false: ...to here
rdma-core-59.0/libibumad/tests/umad_sa_mcm_rereg_test.c:403:16: branch_false: following ‘false’ branch...
rdma-core-59.0/libibumad/tests/umad_sa_mcm_rereg_test.c:417:9: branch_false: ...to here
rdma-core-59.0/libibumad/tests/umad_sa_mcm_rereg_test.c:419:12: branch_true: following ‘true’ branch...
rdma-core-59.0/libibumad/tests/umad_sa_mcm_rereg_test.c:420:17: branch_true: ...to here
rdma-core-59.0/libibumad/tests/umad_sa_mcm_rereg_test.c:420:17: call_function: calling ‘query_all’ from ‘test_port’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def362]
rdma-core-59.0/libibumad/tests/umad_sa_mcm_rereg_test.c:80:9: warning[-Wanalyzer-malloc-leak]: leak of ‘list’
rdma-core-59.0/libibumad/tests/umad_sa_mcm_rereg_test.c:374:12: enter_function: entry to ‘test_port’
rdma-core-59.0/libibumad/tests/umad_sa_mcm_rereg_test.c:386:16: acquire_memory: allocated here
rdma-core-59.0/libibumad/tests/umad_sa_mcm_rereg_test.c:387:12: branch_false: following ‘false’ branch (when ‘list’ is non-NULL)...
rdma-core-59.0/libibumad/tests/umad_sa_mcm_rereg_test.c:393:13: branch_false: ...to here
rdma-core-59.0/libibumad/tests/umad_sa_mcm_rereg_test.c:394:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibumad/tests/umad_sa_mcm_rereg_test.c:401:18: branch_false: ...to here
rdma-core-59.0/libibumad/tests/umad_sa_mcm_rereg_test.c:403:16: branch_false: following ‘false’ branch...
rdma-core-59.0/libibumad/tests/umad_sa_mcm_rereg_test.c:417:9: branch_false: ...to here
rdma-core-59.0/libibumad/tests/umad_sa_mcm_rereg_test.c:419:12: branch_true: following ‘true’ branch...
rdma-core-59.0/libibumad/tests/umad_sa_mcm_rereg_test.c:420:17: branch_true: ...to here
rdma-core-59.0/libibumad/tests/umad_sa_mcm_rereg_test.c:420:17: call_function: calling ‘query_all’ from ‘test_port’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def363]
rdma-core-59.0/libibumad/tests/umad_sa_mcm_rereg_test.c:199:32: warning[-Wanalyzer-malloc-leak]: leak of ‘list’
rdma-core-59.0/libibumad/tests/umad_sa_mcm_rereg_test.c:374:12: enter_function: entry to ‘test_port’
rdma-core-59.0/libibumad/tests/umad_sa_mcm_rereg_test.c:386:16: acquire_memory: allocated here
rdma-core-59.0/libibumad/tests/umad_sa_mcm_rereg_test.c:387:12: branch_false: following ‘false’ branch (when ‘list’ is non-NULL)...
rdma-core-59.0/libibumad/tests/umad_sa_mcm_rereg_test.c:393:13: branch_false: ...to here
rdma-core-59.0/libibumad/tests/umad_sa_mcm_rereg_test.c:394:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibumad/tests/umad_sa_mcm_rereg_test.c:401:18: branch_false: ...to here
rdma-core-59.0/libibumad/tests/umad_sa_mcm_rereg_test.c:403:16: branch_false: following ‘false’ branch...
rdma-core-59.0/libibumad/tests/umad_sa_mcm_rereg_test.c:417:9: branch_false: ...to here
rdma-core-59.0/libibumad/tests/umad_sa_mcm_rereg_test.c:419:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibumad/tests/umad_sa_mcm_rereg_test.c:422:18: branch_false: ...to here
rdma-core-59.0/libibumad/tests/umad_sa_mcm_rereg_test.c:422:17: branch_false: following ‘false’ branch...
rdma-core-59.0/libibumad/tests/umad_sa_mcm_rereg_test.c:425:18: branch_false: ...to here
rdma-core-59.0/libibumad/tests/umad_sa_mcm_rereg_test.c:425:17: branch_false: following ‘false’ branch...
rdma-core-59.0/libibumad/tests/umad_sa_mcm_rereg_test.c:430:17: branch_false: ...to here
rdma-core-59.0/libibumad/tests/umad_sa_mcm_rereg_test.c:430:17: call_function: calling ‘rereg_send_all’ from ‘test_port’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def364]
rdma-core-59.0/libibumad/tests/umad_sa_mcm_rereg_test.c:328:32: warning[-Wanalyzer-malloc-leak]: leak of ‘list’
rdma-core-59.0/libibumad/tests/umad_sa_mcm_rereg_test.c:374:12: enter_function: entry to ‘test_port’
rdma-core-59.0/libibumad/tests/umad_sa_mcm_rereg_test.c:386:16: acquire_memory: allocated here
rdma-core-59.0/libibumad/tests/umad_sa_mcm_rereg_test.c:387:12: branch_false: following ‘false’ branch (when ‘list’ is non-NULL)...
rdma-core-59.0/libibumad/tests/umad_sa_mcm_rereg_test.c:393:13: branch_false: ...to here
rdma-core-59.0/libibumad/tests/umad_sa_mcm_rereg_test.c:394:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibumad/tests/umad_sa_mcm_rereg_test.c:401:18: branch_false: ...to here
rdma-core-59.0/libibumad/tests/umad_sa_mcm_rereg_test.c:403:16: branch_false: following ‘false’ branch...
rdma-core-59.0/libibumad/tests/umad_sa_mcm_rereg_test.c:417:9: branch_false: ...to here
rdma-core-59.0/libibumad/tests/umad_sa_mcm_rereg_test.c:419:12: branch_true: following ‘true’ branch...
rdma-core-59.0/libibumad/tests/umad_sa_mcm_rereg_test.c:420:17: branch_true: ...to here
rdma-core-59.0/libibumad/tests/umad_sa_mcm_rereg_test.c:420:17: call_function: calling ‘query_all’ from ‘test_port’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def365]
rdma-core-59.0/libibumad/tests/umad_sa_mcm_rereg_test.c:334:15: warning[-Wanalyzer-malloc-leak]: leak of ‘list’
rdma-core-59.0/libibumad/tests/umad_sa_mcm_rereg_test.c:374:12: enter_function: entry to ‘test_port’
rdma-core-59.0/libibumad/tests/umad_sa_mcm_rereg_test.c:386:16: acquire_memory: allocated here
rdma-core-59.0/libibumad/tests/umad_sa_mcm_rereg_test.c:387:12: branch_false: following ‘false’ branch (when ‘list’ is non-NULL)...
rdma-core-59.0/libibumad/tests/umad_sa_mcm_rereg_test.c:393:13: branch_false: ...to here
rdma-core-59.0/libibumad/tests/umad_sa_mcm_rereg_test.c:394:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibumad/tests/umad_sa_mcm_rereg_test.c:401:18: branch_false: ...to here
rdma-core-59.0/libibumad/tests/umad_sa_mcm_rereg_test.c:403:16: branch_false: following ‘false’ branch...
rdma-core-59.0/libibumad/tests/umad_sa_mcm_rereg_test.c:417:9: branch_false: ...to here
rdma-core-59.0/libibumad/tests/umad_sa_mcm_rereg_test.c:419:12: branch_true: following ‘true’ branch...
rdma-core-59.0/libibumad/tests/umad_sa_mcm_rereg_test.c:420:17: branch_true: ...to here
rdma-core-59.0/libibumad/tests/umad_sa_mcm_rereg_test.c:420:17: call_function: calling ‘query_all’ from ‘test_port’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def366]
rdma-core-59.0/libibumad/umad.c:180:13: warning[-Wanalyzer-malloc-leak]: leak of ‘opendir(&dir_name)’
rdma-core-59.0/libibumad/umad.c:814:5: enter_function: entry to ‘umad_get_port’
rdma-core-59.0/libibumad/umad.c:822:13: call_function: calling ‘resolve_ca_name’ from ‘umad_get_port’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def367]
rdma-core-59.0/libibumad/umad.c:182:13: warning[-Wanalyzer-malloc-leak]: leak of ‘opendir(&dir_name)’
rdma-core-59.0/libibumad/umad.c:814:5: enter_function: entry to ‘umad_get_port’
rdma-core-59.0/libibumad/umad.c:822:13: call_function: calling ‘resolve_ca_name’ from ‘umad_get_port’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def368]
rdma-core-59.0/libibumad/umad.c:184:13: warning[-Wanalyzer-malloc-leak]: leak of ‘opendir(&dir_name)’
rdma-core-59.0/libibumad/umad.c:814:5: enter_function: entry to ‘umad_get_port’
rdma-core-59.0/libibumad/umad.c:822:13: call_function: calling ‘resolve_ca_name’ from ‘umad_get_port’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def369]
rdma-core-59.0/libibumad/umad.c:186:13: warning[-Wanalyzer-malloc-leak]: leak of ‘opendir(&dir_name)’
rdma-core-59.0/libibumad/umad.c:814:5: enter_function: entry to ‘umad_get_port’
rdma-core-59.0/libibumad/umad.c:822:13: call_function: calling ‘resolve_ca_name’ from ‘umad_get_port’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def370]
rdma-core-59.0/libibumad/umad.c:188:13: warning[-Wanalyzer-malloc-leak]: leak of ‘opendir(&dir_name)’
rdma-core-59.0/libibumad/umad.c:814:5: enter_function: entry to ‘umad_get_port’
rdma-core-59.0/libibumad/umad.c:822:13: call_function: calling ‘resolve_ca_name’ from ‘umad_get_port’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def371]
rdma-core-59.0/libibumad/umad.c:190:13: warning[-Wanalyzer-malloc-leak]: leak of ‘opendir(&dir_name)’
rdma-core-59.0/libibumad/umad.c:814:5: enter_function: entry to ‘umad_get_port’
rdma-core-59.0/libibumad/umad.c:822:13: call_function: calling ‘resolve_ca_name’ from ‘umad_get_port’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def372]
rdma-core-59.0/libibumad/umad.c:192:13: warning[-Wanalyzer-malloc-leak]: leak of ‘opendir(&dir_name)’
rdma-core-59.0/libibumad/umad.c:814:5: enter_function: entry to ‘umad_get_port’
rdma-core-59.0/libibumad/umad.c:822:13: call_function: calling ‘resolve_ca_name’ from ‘umad_get_port’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def373]
rdma-core-59.0/libibumad/umad.c:194:13: warning[-Wanalyzer-malloc-leak]: leak of ‘opendir(&dir_name)’
rdma-core-59.0/libibumad/umad.c:814:5: enter_function: entry to ‘umad_get_port’
rdma-core-59.0/libibumad/umad.c:822:13: call_function: calling ‘resolve_ca_name’ from ‘umad_get_port’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def374]
rdma-core-59.0/libibumad/umad.c:468:18: warning[-Wanalyzer-malloc-leak]: leak of ‘found_ca_name’
rdma-core-59.0/libibumad/umad.c:814:5: enter_function: entry to ‘umad_get_port’
rdma-core-59.0/libibumad/umad.c:822:13: call_function: calling ‘resolve_ca_name’ from ‘umad_get_port’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def375]
rdma-core-59.0/libibumad/umad.c:470:13: warning[-Wanalyzer-malloc-leak]: leak of ‘found_ca_name’
rdma-core-59.0/libibumad/umad.c:814:5: enter_function: entry to ‘umad_get_port’
rdma-core-59.0/libibumad/umad.c:822:13: call_function: calling ‘resolve_ca_name’ from ‘umad_get_port’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def376]
rdma-core-59.0/libibumad/umad.c:473:13: warning[-Wanalyzer-malloc-leak]: leak of ‘found_ca_name’
rdma-core-59.0/libibumad/umad.c:814:5: enter_function: entry to ‘umad_get_port’
rdma-core-59.0/libibumad/umad.c:822:13: call_function: calling ‘resolve_ca_name’ from ‘umad_get_port’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def377]
rdma-core-59.0/libibumad/umad.c:476:18: warning[-Wanalyzer-malloc-leak]: leak of ‘found_ca_name’
rdma-core-59.0/libibumad/umad.c:814:5: enter_function: entry to ‘umad_get_port’
rdma-core-59.0/libibumad/umad.c:822:13: call_function: calling ‘resolve_ca_name’ from ‘umad_get_port’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def378]
rdma-core-59.0/libibumad/umad.c:479:18: warning[-Wanalyzer-malloc-leak]: leak of ‘found_ca_name’
rdma-core-59.0/libibumad/umad.c:814:5: enter_function: entry to ‘umad_get_port’
rdma-core-59.0/libibumad/umad.c:822:13: call_function: calling ‘resolve_ca_name’ from ‘umad_get_port’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def379]
rdma-core-59.0/libibumad/umad.c:491:18: warning[-Wanalyzer-malloc-leak]: leak of ‘opendir(&dir_name)’
rdma-core-59.0/libibumad/umad.c:814:5: enter_function: entry to ‘umad_get_port’
rdma-core-59.0/libibumad/umad.c:822:13: call_function: calling ‘resolve_ca_name’ from ‘umad_get_port’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def380]
rdma-core-59.0/libibumad/umad.c:528:9: warning[-Wanalyzer-malloc-leak]: leak of ‘opendir(&dir_name)’
rdma-core-59.0/libibumad/umad.c:814:5: enter_function: entry to ‘umad_get_port’
rdma-core-59.0/libibumad/umad.c:822:13: call_function: calling ‘resolve_ca_name’ from ‘umad_get_port’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def381]
rdma-core-59.0/libibumad/umad.c:538:9: warning[-Wanalyzer-malloc-leak]: leak of ‘opendir(&dir_name)’
rdma-core-59.0/libibumad/umad.c:814:5: enter_function: entry to ‘umad_get_port’
rdma-core-59.0/libibumad/umad.c:822:13: call_function: calling ‘resolve_ca_name’ from ‘umad_get_port’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def382]
rdma-core-59.0/libibumad/umad.c:612:13: warning[-Wanalyzer-malloc-leak]: leak of ‘tail’
rdma-core-59.0/libibumad/umad.c:1301:26: enter_function: entry to ‘umad_get_ca_device_list’
rdma-core-59.0/libibumad/umad.c:1314:12: branch_false: following ‘false’ branch...
branch_false: ...to here
rdma-core-59.0/libibumad/umad.c:1320:16: branch_true: following ‘true’ branch...
rdma-core-59.0/libibumad/umad.c:1321:29: branch_true: ...to here
rdma-core-59.0/libibumad/umad.c:1329:24: acquire_memory: allocated here
rdma-core-59.0/libibumad/umad.c:1330:20: branch_false: following ‘false’ branch (when ‘node’ is non-NULL)...
rdma-core-59.0/libibumad/umad.c:1337:20: branch_false: ...to here
rdma-core-59.0/libibumad/umad.c:1337:20: branch_true: following ‘true’ branch (when ‘head’ is NULL)...
rdma-core-59.0/libibumad/umad.c:1343:17: branch_true: ...to here
rdma-core-59.0/libibumad/umad.c:1320:16: branch_true: following ‘true’ branch...
rdma-core-59.0/libibumad/umad.c:1321:29: branch_true: ...to here
rdma-core-59.0/libibumad/umad.c:1321:20: branch_false: following ‘false’ branch (when the strings are non-equal)...
rdma-core-59.0/libibumad/umad.c:1322:22: branch_false: ...to here
rdma-core-59.0/libibumad/umad.c:1321:21: branch_false: following ‘false’ branch (when the strings are non-equal)...
rdma-core-59.0/libibumad/umad.c:1325:22: branch_false: ...to here
rdma-core-59.0/libibumad/umad.c:1325:22: call_function: calling ‘is_ib_type’ from ‘umad_get_ca_device_list’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def383]
rdma-core-59.0/libibumad/umad.c:1287:9: warning[-Wanalyzer-malloc-leak]: leak of ‘nodes_array’
rdma-core-59.0/libibumad/umad.c:1261:12: branch_false: following ‘false’ branch (when ‘size != 0’)...
rdma-core-59.0/libibumad/umad.c:1264:12: branch_false: ...to here
rdma-core-59.0/libibumad/umad.c:1264:12: branch_false: following ‘false’ branch (when ‘size > 1’)...
rdma-core-59.0/libibumad/umad.c:1267:23: branch_false: ...to here
rdma-core-59.0/libibumad/umad.c:1267:23: acquire_memory: allocated here
rdma-core-59.0/libibumad/umad.c:1268:12: branch_false: following ‘false’ branch (when ‘nodes_array’ is non-NULL)...
rdma-core-59.0/libibumad/umad.c:1273:9: branch_false: ...to here
rdma-core-59.0/libibumad/umad.c:1274:21: branch_true: following ‘true’ branch (when ‘size > i’)...
rdma-core-59.0/libibumad/umad.c:1275:20: branch_true: ...to here
rdma-core-59.0/libibumad/umad.c:1275:20: branch_false: following ‘false’ branch (when ‘node’ is non-NULL)...
rdma-core-59.0/libibumad/umad.c:1279:28: branch_false: ...to here
rdma-core-59.0/libibumad/umad.c:1274:21: branch_true: following ‘true’ branch (when ‘size > i’)...
rdma-core-59.0/libibumad/umad.c:1275:20: branch_true: ...to here
rdma-core-59.0/libibumad/umad.c:1275:20: branch_false: following ‘false’ branch (when ‘node’ is non-NULL)...
rdma-core-59.0/libibumad/umad.c:1279:28: branch_false: ...to here
rdma-core-59.0/libibumad/umad.c:1282:12: branch_false: following ‘false’ branch (when ‘node’ is NULL)...
rdma-core-59.0/libibumad/umad.c:1287:9: branch_false: ...to here
rdma-core-59.0/libibumad/umad.c:1287:9: danger: ‘nodes_array’ leaks here; was allocated at [(5)](sarif:/runs/0/results/17/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def384]
rdma-core-59.0/libibumad/umad.c:1320:25: warning[-Wanalyzer-malloc-leak]: leak of ‘opendir("/sys/class/infiniband")’
rdma-core-59.0/libibumad/umad.c:1313:15: acquire_memory: allocated here
rdma-core-59.0/libibumad/umad.c:1314:12: branch_false: following ‘false’ branch...
branch_false: ...to here
rdma-core-59.0/libibumad/umad.c:1320:25: danger: ‘opendir("/sys/class/infiniband")’ leaks here; was allocated at [(1)](sarif:/runs/0/results/18/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def385]
rdma-core-59.0/libibumad/umad.c:1320:25: warning[-Wanalyzer-malloc-leak]: leak of ‘tail’
rdma-core-59.0/libibumad/umad.c:1314:12: branch_false: following ‘false’ branch...
branch_false: ...to here
rdma-core-59.0/libibumad/umad.c:1320:16: branch_true: following ‘true’ branch...
rdma-core-59.0/libibumad/umad.c:1321:29: branch_true: ...to here
rdma-core-59.0/libibumad/umad.c:1329:24: acquire_memory: allocated here
rdma-core-59.0/libibumad/umad.c:1330:20: branch_false: following ‘false’ branch (when ‘node’ is non-NULL)...
rdma-core-59.0/libibumad/umad.c:1337:20: branch_false: ...to here
rdma-core-59.0/libibumad/umad.c:1337:20: branch_true: following ‘true’ branch (when ‘head’ is NULL)...
rdma-core-59.0/libibumad/umad.c:1343:17: branch_true: ...to here
rdma-core-59.0/libibumad/umad.c:1320:25: danger: ‘tail’ leaks here; was allocated at [(5)](sarif:/runs/0/results/19/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def386]
rdma-core-59.0/libibumad/umad.c:1352:9: warning[-Wanalyzer-malloc-leak]: leak of ‘tail’
rdma-core-59.0/libibumad/umad.c:1314:12: branch_false: following ‘false’ branch...
branch_false: ...to here
rdma-core-59.0/libibumad/umad.c:1320:16: branch_true: following ‘true’ branch...
rdma-core-59.0/libibumad/umad.c:1321:29: branch_true: ...to here
rdma-core-59.0/libibumad/umad.c:1329:24: acquire_memory: allocated here
rdma-core-59.0/libibumad/umad.c:1330:20: branch_false: following ‘false’ branch (when ‘node’ is non-NULL)...
rdma-core-59.0/libibumad/umad.c:1337:20: branch_false: ...to here
rdma-core-59.0/libibumad/umad.c:1337:20: branch_true: following ‘true’ branch (when ‘head’ is NULL)...
rdma-core-59.0/libibumad/umad.c:1343:17: branch_true: ...to here
rdma-core-59.0/libibumad/umad.c:1320:16: branch_false: following ‘false’ branch...
rdma-core-59.0/libibumad/umad.c:1350:9: branch_false: ...to here
rdma-core-59.0/libibumad/umad.c:1350:9: branch_true: following ‘true’ branch...
rdma-core-59.0/libibumad/umad.c:1350:9: branch_true: ...to here
rdma-core-59.0/libibumad/umad.c:1352:9: danger: ‘tail’ leaks here; was allocated at [(5)](sarif:/runs/0/results/20/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def387]
rdma-core-59.0/libibverbs/cmd.c:210:15: warning[-Wanalyzer-malloc-leak]: leak of ‘resp’
rdma-core-59.0/libibverbs/cmd.c:203:17: acquire_memory: allocated here
rdma-core-59.0/libibverbs/cmd.c:204:12: branch_false: following ‘false’ branch (when ‘resp’ is non-NULL)...
rdma-core-59.0/libibverbs/cmd.c:207:25: branch_false: ...to here
rdma-core-59.0/libibverbs/cmd.c:210:15: danger: ‘resp’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def388]
rdma-core-59.0/libibverbs/cmd_device.c:312:25: warning[-Wanalyzer-malloc-leak]: leak of ‘opendir(dir_path)’
rdma-core-59.0/libibverbs/cmd_device.c:443:5: enter_function: entry to ‘__ibv_query_gid_ex’
rdma-core-59.0/libibverbs/cmd_device.c:459:9: branch_true: following ‘true’ branch...
rdma-core-59.0/libibverbs/cmd_device.c:461:9: branch_true: ...to here
rdma-core-59.0/libibverbs/cmd_device.c:462:20: branch_false: following ‘false’ branch (when ‘flags == 0’)...
rdma-core-59.0/libibverbs/cmd_device.c:465:23: branch_false: ...to here
rdma-core-59.0/libibverbs/cmd_device.c:465:23: call_function: calling ‘query_sysfs_gid_entry’ from ‘__ibv_query_gid_ex’
Error: COMPILER_WARNING (CWE-126): [#def389]
rdma-core-59.0/libibverbs/cmd_fallback.c:296:13: warning[-Wstringop-overread]: ‘write’ reading 32 bytes from a region of size 24
rdma-core-59.0/libibverbs/kern-abi.h: scope_hint: In function ‘ibv_cmd_destroy_flow’
rdma-core-59.0/libibverbs/kern-abi.h:216:1: note: source object ‘hdr’ of size 24
/usr/include/unistd.h:378:16: note: in a call to function ‘write’ declared with attribute ‘access (read_only, 2, 3)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def390]
rdma-core-59.0/libibverbs/cmd_qp.c:90:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘qp’
rdma-core-59.0/libibverbs/cmd_qp.c:422:5: enter_function: entry to ‘ibv_cmd_create_qp_ex2’
rdma-core-59.0/libibverbs/cmd_qp.c:434:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/cmd_qp.c:446:16: branch_false: ...to here
rdma-core-59.0/libibverbs/cmd_qp.c:446:16: call_function: calling ‘ibv_icmd_create_qp’ from ‘ibv_cmd_create_qp_ex2’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def391]
rdma-core-59.0/libibverbs/cmd_srq.c:40:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘vsrq’
rdma-core-59.0/libibverbs/cmd_srq.c:201:5: enter_function: entry to ‘ibv_cmd_create_srq’
rdma-core-59.0/libibverbs/cmd_srq.c:214:15: call_function: calling ‘ibv_icmd_create_srq’ from ‘ibv_cmd_create_srq’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def392]
rdma-core-59.0/libibverbs/cmd_srq.c:66:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘srq’
rdma-core-59.0/libibverbs/cmd_srq.c:223:5: enter_function: entry to ‘ibv_cmd_create_srq_ex’
rdma-core-59.0/libibverbs/cmd_srq.c:233:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/cmd_srq.c:238:14: branch_false: ...to here
rdma-core-59.0/libibverbs/cmd_srq.c:238:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/cmd_srq.c:243:16: branch_false: ...to here
rdma-core-59.0/libibverbs/cmd_srq.c:243:16: call_function: calling ‘ibv_icmd_create_srq’ from ‘ibv_cmd_create_srq_ex’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def393]
rdma-core-59.0/libibverbs/cmd_srq.c:169:52: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘vxrcd’
rdma-core-59.0/libibverbs/cmd_srq.c:166:28: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/cmd_srq.c:169:52: branch_false: ...to here
rdma-core-59.0/libibverbs/cmd_srq.c:169:52: danger: dereference of NULL ‘vxrcd’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def394]
rdma-core-59.0/libibverbs/compat-1_0.c:478:20: warning[-Wanalyzer-malloc-leak]: leak of ‘ctx’
rdma-core-59.0/libibverbs/compat-1_0.c:474:15: acquire_memory: allocated here
rdma-core-59.0/libibverbs/compat-1_0.c:475:12: branch_false: following ‘false’ branch (when ‘ctx’ is non-NULL)...
rdma-core-59.0/libibverbs/compat-1_0.c:478:20: branch_false: ...to here
rdma-core-59.0/libibverbs/compat-1_0.c:478:20: danger: ‘ctx’ leaks here; was allocated at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def395]
rdma-core-59.0/libibverbs/compat-1_0.c:632:19: warning[-Wanalyzer-malloc-leak]: leak of ‘pd’
rdma-core-59.0/libibverbs/compat-1_0.c:628:14: acquire_memory: allocated here
rdma-core-59.0/libibverbs/compat-1_0.c:629:12: branch_false: following ‘false’ branch (when ‘pd’ is non-NULL)...
rdma-core-59.0/libibverbs/compat-1_0.c:632:19: branch_false: ...to here
rdma-core-59.0/libibverbs/compat-1_0.c:632:19: danger: ‘pd’ leaks here; was allocated at [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def396]
rdma-core-59.0/libibverbs/compat-1_0.c:711:19: warning[-Wanalyzer-malloc-leak]: leak of ‘cq’
rdma-core-59.0/libibverbs/compat-1_0.c:707:14: acquire_memory: allocated here
rdma-core-59.0/libibverbs/compat-1_0.c:708:12: branch_false: following ‘false’ branch (when ‘cq’ is non-NULL)...
rdma-core-59.0/libibverbs/compat-1_0.c:711:19: branch_false: ...to here
rdma-core-59.0/libibverbs/compat-1_0.c:711:19: danger: ‘cq’ leaks here; was allocated at [(1)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def397]
rdma-core-59.0/libibverbs/compat-1_0.c:789:20: warning[-Wanalyzer-malloc-leak]: leak of ‘srq’
rdma-core-59.0/libibverbs/compat-1_0.c:785:15: acquire_memory: allocated here
rdma-core-59.0/libibverbs/compat-1_0.c:786:12: branch_false: following ‘false’ branch (when ‘srq’ is non-NULL)...
rdma-core-59.0/libibverbs/compat-1_0.c:789:20: branch_false: ...to here
rdma-core-59.0/libibverbs/compat-1_0.c:789:20: danger: ‘srq’ leaks here; was allocated at [(1)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def398]
rdma-core-59.0/libibverbs/compat-1_0.c:858:19: warning[-Wanalyzer-malloc-leak]: leak of ‘qp’
rdma-core-59.0/libibverbs/compat-1_0.c:845:14: acquire_memory: allocated here
rdma-core-59.0/libibverbs/compat-1_0.c:846:12: branch_false: following ‘false’ branch (when ‘qp’ is non-NULL)...
rdma-core-59.0/libibverbs/compat-1_0.c:849:37: branch_false: ...to here
rdma-core-59.0/libibverbs/compat-1_0.c:852:37: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/compat-1_0.c:852:9: branch_false: ...to here
rdma-core-59.0/libibverbs/compat-1_0.c:858:19: danger: ‘qp’ leaks here; was allocated at [(1)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def399]
rdma-core-59.0/libibverbs/compat-1_0.c:938:19: warning[-Wanalyzer-malloc-leak]: leak of ‘ah’
rdma-core-59.0/libibverbs/compat-1_0.c:934:14: acquire_memory: allocated here
rdma-core-59.0/libibverbs/compat-1_0.c:935:12: branch_false: following ‘false’ branch (when ‘ah’ is non-NULL)...
rdma-core-59.0/libibverbs/compat-1_0.c:938:19: branch_false: ...to here
rdma-core-59.0/libibverbs/compat-1_0.c:938:19: danger: ‘ah’ leaks here; was allocated at [(1)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def400]
rdma-core-59.0/libibverbs/device.c:88:17: warning[-Wanalyzer-malloc-leak]: leak of ‘l’
rdma-core-59.0/libibverbs/device.c:75:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/device.c:80:20: branch_false: ...to here
rdma-core-59.0/libibverbs/device.c:80:13: acquire_memory: allocated here
rdma-core-59.0/libibverbs/device.c:81:12: branch_false: following ‘false’ branch (when ‘l’ is non-NULL)...
rdma-core-59.0/libibverbs/device.c:86:9: branch_false: ...to here
rdma-core-59.0/libibverbs/device.c:86:9: branch_true: following ‘true’ branch...
rdma-core-59.0/libibverbs/device.c:87:18: branch_true: ...to here
rdma-core-59.0/libibverbs/device.c:88:17: danger: ‘l’ leaks here; was allocated at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def401]
rdma-core-59.0/libibverbs/device.c:236:9: warning[-Wanalyzer-malloc-leak]: leak of ‘drv_context’
rdma-core-59.0/libibverbs/device.c:265:7: enter_function: entry to ‘_verbs_init_and_alloc_context’
rdma-core-59.0/libibverbs/device.c:273:23: acquire_memory: allocated here
rdma-core-59.0/libibverbs/device.c:274:12: branch_false: following ‘false’ branch (when ‘drv_context’ is non-NULL)...
rdma-core-59.0/libibverbs/device.c:280:33: branch_false: ...to here
rdma-core-59.0/libibverbs/device.c:282:13: call_function: calling ‘verbs_init_context’ from ‘_verbs_init_and_alloc_context’
Error: GCC_ANALYZER_WARNING (CWE-465): [#def402]
rdma-core-59.0/libibverbs/dynamic_driver.c:78:21: warning[-Wanalyzer-deref-before-check]: check of ‘config’ for NULL after already dereferencing it
rdma-core-59.0/libibverbs/dynamic_driver.c:65:12: branch_false: following ‘false’ branch...
branch_false: ...to here
rdma-core-59.0/libibverbs/dynamic_driver.c:71:16: branch_true: following ‘true’ branch...
rdma-core-59.0/libibverbs/dynamic_driver.c:72:26: branch_true: ...to here
rdma-core-59.0/libibverbs/dynamic_driver.c:73:20: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/dynamic_driver.c:76:25: branch_false: ...to here
rdma-core-59.0/libibverbs/dynamic_driver.c:78:20: branch_true: following ‘true’ branch (when the strings are equal)...
rdma-core-59.0/libibverbs/dynamic_driver.c:78:53: branch_true: ...to here
rdma-core-59.0/libibverbs/dynamic_driver.c:78:21: danger: pointer ‘config’ is checked for NULL here but it was already dereferenced at [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def403]
rdma-core-59.0/libibverbs/dynamic_driver.c:130:24: warning[-Wanalyzer-malloc-leak]: leak of ‘opendir("/etc/libibverbs.d")’
rdma-core-59.0/libibverbs/dynamic_driver.c:122:20: acquire_memory: allocated here
rdma-core-59.0/libibverbs/dynamic_driver.c:123:12: branch_false: following ‘false’ branch...
branch_false: ...to here
rdma-core-59.0/libibverbs/dynamic_driver.c:130:24: danger: ‘opendir("/etc/libibverbs.d")’ leaks here; was allocated at [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def404]
rdma-core-59.0/libibverbs/examples/devinfo.c:719:38: warning[-Wanalyzer-malloc-leak]: leak of ‘ib_devname’
rdma-core-59.0/libibverbs/examples/devinfo.c:714:20: branch_false: following ‘false’ branch (when ‘c != -1’)...
rdma-core-59.0/libibverbs/examples/devinfo.c:717:17: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/devinfo.c:719:38: acquire_memory: allocated here
rdma-core-59.0/libibverbs/examples/devinfo.c:714:20: branch_false: following ‘false’ branch (when ‘c != -1’)...
rdma-core-59.0/libibverbs/examples/devinfo.c:717:17: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/devinfo.c:719:38: danger: ‘ib_devname’ leaks here; was allocated at [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def405]
rdma-core-59.0/libibverbs/examples/devinfo.c:735:52: warning[-Wanalyzer-malloc-leak]: leak of ‘ib_devname’
rdma-core-59.0/libibverbs/examples/devinfo.c:714:20: branch_false: following ‘false’ branch (when ‘c != -1’)...
rdma-core-59.0/libibverbs/examples/devinfo.c:717:17: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/devinfo.c:719:38: acquire_memory: allocated here
rdma-core-59.0/libibverbs/examples/devinfo.c:714:20: branch_false: following ‘false’ branch (when ‘c != -1’)...
rdma-core-59.0/libibverbs/examples/devinfo.c:717:17: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/devinfo.c:735:52: danger: ‘ib_devname’ leaks here; was allocated at [(5)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def406]
rdma-core-59.0/libibverbs/examples/devinfo.c:745:33: warning[-Wanalyzer-malloc-leak]: leak of ‘ib_devname’
rdma-core-59.0/libibverbs/examples/devinfo.c:714:20: branch_false: following ‘false’ branch (when ‘c != -1’)...
rdma-core-59.0/libibverbs/examples/devinfo.c:717:17: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/devinfo.c:719:38: acquire_memory: allocated here
rdma-core-59.0/libibverbs/examples/devinfo.c:714:20: branch_false: following ‘false’ branch (when ‘c != -1’)...
rdma-core-59.0/libibverbs/examples/devinfo.c:717:17: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/devinfo.c:736:28: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/devinfo.c:742:32: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/devinfo.c:744:32: branch_true: following ‘true’ branch...
rdma-core-59.0/libibverbs/examples/devinfo.c:745:33: branch_true: ...to here
rdma-core-59.0/libibverbs/examples/devinfo.c:745:33: danger: ‘ib_devname’ leaks here; was allocated at [(5)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def407]
rdma-core-59.0/libibverbs/examples/devinfo.c:761:36: warning[-Wanalyzer-malloc-leak]: leak of ‘ib_devname’
rdma-core-59.0/libibverbs/examples/devinfo.c:714:20: branch_false: following ‘false’ branch (when ‘c != -1’)...
rdma-core-59.0/libibverbs/examples/devinfo.c:717:17: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/devinfo.c:719:38: acquire_memory: allocated here
rdma-core-59.0/libibverbs/examples/devinfo.c:714:20: branch_true: following ‘true’ branch (when ‘c == -1’)...
rdma-core-59.0/libibverbs/examples/devinfo.c:761:36: branch_true: ...to here
rdma-core-59.0/libibverbs/examples/devinfo.c:761:36: danger: ‘ib_devname’ leaks here; was allocated at [(5)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def408]
rdma-core-59.0/libibverbs/examples/devinfo.c:769:30: warning[-Wanalyzer-malloc-leak]: leak of ‘ib_devname’
rdma-core-59.0/libibverbs/examples/devinfo.c:714:20: branch_false: following ‘false’ branch (when ‘c != -1’)...
rdma-core-59.0/libibverbs/examples/devinfo.c:717:17: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/devinfo.c:719:38: acquire_memory: allocated here
rdma-core-59.0/libibverbs/examples/devinfo.c:714:20: branch_true: following ‘true’ branch (when ‘c == -1’)...
rdma-core-59.0/libibverbs/examples/devinfo.c:761:36: branch_true: ...to here
rdma-core-59.0/libibverbs/examples/devinfo.c:762:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/devinfo.c:767:12: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/devinfo.c:767:12: branch_true: following ‘true’ branch (when ‘ib_devname’ is non-NULL)...
branch_true: ...to here
rdma-core-59.0/libibverbs/examples/devinfo.c:768:24: branch_true: following ‘true’ branch...
rdma-core-59.0/libibverbs/examples/devinfo.c:769:30: branch_true: ...to here
rdma-core-59.0/libibverbs/examples/devinfo.c:769:30: danger: ‘ib_devname’ leaks here; was allocated at [(5)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def409]
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:188:30: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sockfd’
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:174:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:177:13: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:179:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:185:14: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:185:23: branch_true: following ‘true’ branch (when ‘t’ is non-NULL)...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:186:26: branch_true: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:186:26: acquire_resource: socket created here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:187:20: branch_true: following ‘true’ branch (when ‘sockfd >= 0’)...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:188:30: branch_true: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:188:30: danger: ‘sockfd’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def410]
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:356:24: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:340:12: branch_false: following ‘false’ branch (when ‘ctx’ is non-NULL)...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:343:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:347:20: acquire_memory: allocated here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:348:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:354:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:356:24: danger: ‘<unknown>’ leaks here; was allocated at [(3)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def411]
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:356:24: warning[-Wanalyzer-malloc-leak]: leak of ‘ctx’
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:339:15: acquire_memory: allocated here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:340:12: branch_false: following ‘false’ branch (when ‘ctx’ is non-NULL)...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:343:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:348:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:354:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:356:24: danger: ‘ctx’ leaks here; was allocated at [(1)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def412]
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:358:17: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:340:12: branch_false: following ‘false’ branch (when ‘ctx’ is non-NULL)...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:343:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:347:20: acquire_memory: allocated here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:348:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:354:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:357:12: branch_true: following ‘true’ branch...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:358:17: branch_true: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:358:17: danger: ‘<unknown>’ leaks here; was allocated at [(3)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def413]
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:358:17: warning[-Wanalyzer-malloc-leak]: leak of ‘ctx’
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:339:15: acquire_memory: allocated here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:340:12: branch_false: following ‘false’ branch (when ‘ctx’ is non-NULL)...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:343:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:348:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:354:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:357:12: branch_true: following ‘true’ branch...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:358:17: branch_true: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:358:17: danger: ‘ctx’ leaks here; was allocated at [(1)](sarif:/runs/0/results/14/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def414]
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:364:32: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:340:12: branch_false: following ‘false’ branch (when ‘ctx’ is non-NULL)...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:343:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:347:20: acquire_memory: allocated here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:348:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:354:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:357:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:363:12: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:363:12: branch_true: following ‘true’ branch (when ‘use_event != 0’)...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:364:32: branch_true: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:364:32: danger: ‘<unknown>’ leaks here; was allocated at [(3)](sarif:/runs/0/results/15/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def415]
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:364:32: warning[-Wanalyzer-malloc-leak]: leak of ‘ctx’
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:339:15: acquire_memory: allocated here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:340:12: branch_false: following ‘false’ branch (when ‘ctx’ is non-NULL)...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:343:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:348:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:354:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:357:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:363:12: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:363:12: branch_true: following ‘true’ branch (when ‘use_event != 0’)...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:364:32: branch_true: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:364:32: danger: ‘ctx’ leaks here; was allocated at [(1)](sarif:/runs/0/results/16/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def416]
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:372:19: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:340:12: branch_false: following ‘false’ branch (when ‘ctx’ is non-NULL)...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:343:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:347:20: acquire_memory: allocated here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:348:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:354:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:357:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:363:12: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:363:12: branch_false: following ‘false’ branch (when ‘use_event == 0’)...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:370:17: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:372:19: danger: ‘<unknown>’ leaks here; was allocated at [(3)](sarif:/runs/0/results/17/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def417]
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:372:19: warning[-Wanalyzer-malloc-leak]: leak of ‘ctx’
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:339:15: acquire_memory: allocated here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:340:12: branch_false: following ‘false’ branch (when ‘ctx’ is non-NULL)...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:343:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:348:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:354:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:357:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:363:12: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:363:12: branch_false: following ‘false’ branch (when ‘use_event == 0’)...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:370:17: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:372:19: danger: ‘ctx’ leaks here; was allocated at [(1)](sarif:/runs/0/results/18/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def418]
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:474:32: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:340:12: branch_false: following ‘false’ branch (when ‘ctx’ is non-NULL)...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:343:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:347:20: acquire_memory: allocated here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:348:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:354:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:357:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:363:12: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:363:12: branch_false: following ‘false’ branch (when ‘use_event == 0’)...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:370:17: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:373:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:378:13: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:434:12: branch_true: following ‘true’ branch...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:435:27: branch_true: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:442:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:447:13: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:447:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:463:13: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:463:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:474:32: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:474:32: danger: ‘<unknown>’ leaks here; was allocated at [(3)](sarif:/runs/0/results/19/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def419]
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:474:32: warning[-Wanalyzer-malloc-leak]: leak of ‘ctx’
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:339:15: acquire_memory: allocated here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:340:12: branch_false: following ‘false’ branch (when ‘ctx’ is non-NULL)...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:343:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:348:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:354:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:357:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:363:12: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:363:12: branch_false: following ‘false’ branch (when ‘use_event == 0’)...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:370:17: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:373:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:378:13: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:434:12: branch_true: following ‘true’ branch...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:435:27: branch_true: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:442:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:447:13: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:447:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:463:13: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:463:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:474:32: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:474:32: danger: ‘ctx’ leaks here; was allocated at [(1)](sarif:/runs/0/results/20/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def420]
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:515:35: warning[-Wanalyzer-malloc-leak]: leak of ‘ctx’
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:332:33: enter_function: entry to ‘pp_init_ctx’
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:339:15: acquire_memory: allocated here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:340:12: branch_false: following ‘false’ branch (when ‘ctx’ is non-NULL)...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:343:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:348:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:354:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:357:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:363:12: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:363:12: branch_false: following ‘false’ branch (when ‘use_event == 0’)...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:370:17: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:373:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:378:13: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:434:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:437:34: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:437:27: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:439:25: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:442:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:447:13: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:463:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:474:32: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:478:14: call_function: inlined call to ‘pp_cq’ from ‘pp_init_ctx’
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:478:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:485:41: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:497:20: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:515:35: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:515:35: danger: ‘ctx’ leaks here; was allocated at [(2)](sarif:/runs/0/results/21/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def421]
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:524:36: warning[-Wanalyzer-malloc-leak]: leak of ‘ctx’
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:332:33: enter_function: entry to ‘pp_init_ctx’
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:339:15: acquire_memory: allocated here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:340:12: branch_false: following ‘false’ branch (when ‘ctx’ is non-NULL)...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:343:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:348:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:354:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:357:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:363:12: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:363:12: branch_true: following ‘true’ branch (when ‘use_event != 0’)...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:364:32: branch_true: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:365:20: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:372:19: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:373:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:378:13: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:434:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:437:34: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:437:27: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:439:25: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:442:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:447:13: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:463:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:474:32: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:478:14: call_function: inlined call to ‘pp_cq’ from ‘pp_init_ctx’
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:478:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:485:41: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:513:35: call_function: calling ‘ibv_create_qp_ex’ from ‘pp_init_ctx’
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:513:35: return_function: returning to ‘pp_init_ctx’ from ‘ibv_create_qp_ex’
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:518:20: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:523:21: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:523:20: branch_true: following ‘true’ branch...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:524:36: branch_true: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:524:36: danger: ‘ctx’ leaks here; was allocated at [(2)](sarif:/runs/0/results/22/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def422]
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:526:17: warning[-Wanalyzer-malloc-leak]: leak of ‘ctx’
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:332:33: enter_function: entry to ‘pp_init_ctx’
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:339:15: acquire_memory: allocated here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:340:12: branch_false: following ‘false’ branch (when ‘ctx’ is non-NULL)...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:343:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:348:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:354:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:357:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:363:12: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:363:12: branch_false: following ‘false’ branch (when ‘use_event == 0’)...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:370:17: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:373:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:378:13: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:434:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:437:34: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:437:27: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:439:25: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:442:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:447:13: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:463:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:474:32: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:478:14: call_function: inlined call to ‘pp_cq’ from ‘pp_init_ctx’
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:478:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:485:41: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:497:20: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:515:35: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:518:20: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:523:21: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:523:20: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:526:17: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:526:17: danger: ‘ctx’ leaks here; was allocated at [(2)](sarif:/runs/0/results/23/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def423]
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:539:21: warning[-Wanalyzer-malloc-leak]: leak of ‘ctx’
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:332:33: enter_function: entry to ‘pp_init_ctx’
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:339:15: acquire_memory: allocated here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:340:12: branch_false: following ‘false’ branch (when ‘ctx’ is non-NULL)...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:343:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:348:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:354:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:357:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:363:12: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:363:12: branch_false: following ‘false’ branch (when ‘use_event == 0’)...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:370:17: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:373:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:378:13: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:434:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:437:34: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:437:27: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:439:25: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:442:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:447:13: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:463:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:474:32: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:478:14: call_function: inlined call to ‘pp_cq’ from ‘pp_init_ctx’
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:478:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:485:41: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:497:20: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:515:35: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:518:20: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:523:21: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:523:20: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:526:17: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:539:21: danger: ‘ctx’ leaks here; was allocated at [(2)](sarif:/runs/0/results/24/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def424]
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:552:9: warning[-Wanalyzer-malloc-leak]: leak of ‘ctx’
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:332:33: enter_function: entry to ‘pp_init_ctx’
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:339:15: acquire_memory: allocated here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:340:12: branch_false: following ‘false’ branch (when ‘ctx’ is non-NULL)...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:343:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:348:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:354:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:357:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:363:12: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:363:12: branch_false: following ‘false’ branch (when ‘use_event == 0’)...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:370:17: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:373:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:378:13: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:434:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:437:34: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:437:27: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:439:25: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:442:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:447:13: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:463:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:474:32: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:478:14: call_function: inlined call to ‘pp_cq’ from ‘pp_init_ctx’
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:478:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:485:41: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:497:20: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:515:35: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:518:20: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:523:21: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:523:20: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:526:17: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:539:20: branch_true: following ‘true’ branch...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:544:25: branch_true: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:552:9: danger: ‘ctx’ leaks here; was allocated at [(2)](sarif:/runs/0/results/25/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def425]
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:555:9: warning[-Wanalyzer-malloc-leak]: leak of ‘ctx’
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:332:33: enter_function: entry to ‘pp_init_ctx’
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:339:15: acquire_memory: allocated here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:340:12: branch_false: following ‘false’ branch (when ‘ctx’ is non-NULL)...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:343:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:348:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:354:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:357:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:363:12: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:363:12: branch_true: following ‘true’ branch (when ‘use_event != 0’)...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:364:32: branch_true: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:365:20: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:372:19: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:373:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:378:13: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:434:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:437:34: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:437:27: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:439:25: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:442:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:447:13: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:463:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:474:32: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:478:14: call_function: inlined call to ‘pp_cq’ from ‘pp_init_ctx’
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:478:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:485:41: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:555:9: call_function: inlined call to ‘pp_cq’ from ‘pp_init_ctx’
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:555:9: danger: ‘ctx’ leaks here; was allocated at [(2)](sarif:/runs/0/results/26/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def426]
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:558:9: warning[-Wanalyzer-malloc-leak]: leak of ‘ctx’
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:792:5: enter_function: entry to ‘main’
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:933:12: branch_true: following ‘true’ branch...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:934:30: branch_true: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:940:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:945:12: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:945:12: branch_true: following ‘true’ branch...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:945:22: branch_true: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:945:13: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:950:13: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:950:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:959:21: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:962:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:967:12: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:967:12: branch_true: following ‘true’ branch (when ‘ib_devname’ is NULL)...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:968:17: branch_true: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:969:20: branch_false: following ‘false’ branch (when ‘ib_dev’ is non-NULL)...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:985:15: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:985:15: call_function: calling ‘pp_init_ctx’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def427]
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:565:9: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:332:33: enter_function: entry to ‘pp_init_ctx’
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:340:12: branch_false: following ‘false’ branch (when ‘ctx’ is non-NULL)...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:343:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:347:20: acquire_memory: allocated here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:348:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:354:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:357:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:363:12: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:363:12: branch_false: following ‘false’ branch (when ‘use_event == 0’)...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:370:17: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:373:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:378:13: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:383:21: call_function: calling ‘ibv_query_device_ex’ from ‘pp_init_ctx’
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:383:21: return_function: returning to ‘pp_init_ctx’ from ‘ibv_query_device_ex’
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:565:9: danger: ‘<unknown>’ leaks here; was allocated at [(4)](sarif:/runs/0/results/28/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def428]
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:565:9: warning[-Wanalyzer-malloc-leak]: leak of ‘ctx’
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:332:33: enter_function: entry to ‘pp_init_ctx’
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:339:15: acquire_memory: allocated here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:340:12: branch_false: following ‘false’ branch (when ‘ctx’ is non-NULL)...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:343:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:348:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:354:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:357:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:363:12: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:363:12: branch_false: following ‘false’ branch (when ‘use_event == 0’)...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:370:17: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:373:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:378:13: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:383:21: call_function: calling ‘ibv_query_device_ex’ from ‘pp_init_ctx’
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:383:21: return_function: returning to ‘pp_init_ctx’ from ‘ibv_query_device_ex’
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:565:9: danger: ‘ctx’ leaks here; was allocated at [(2)](sarif:/runs/0/results/29/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def429]
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:569:17: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:340:12: branch_false: following ‘false’ branch (when ‘ctx’ is non-NULL)...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:343:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:347:20: acquire_memory: allocated here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:348:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:354:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:357:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:363:12: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:363:12: branch_true: following ‘true’ branch (when ‘use_event != 0’)...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:364:32: branch_true: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:365:20: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:372:19: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:568:12: branch_true: following ‘true’ branch...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:569:17: branch_true: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:569:17: danger: ‘<unknown>’ leaks here; was allocated at [(3)](sarif:/runs/0/results/31/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def430]
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:569:17: warning[-Wanalyzer-malloc-leak]: leak of ‘ctx’
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:339:15: acquire_memory: allocated here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:340:12: branch_false: following ‘false’ branch (when ‘ctx’ is non-NULL)...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:343:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:348:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:354:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:357:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:363:12: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:363:12: branch_true: following ‘true’ branch (when ‘use_event != 0’)...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:364:32: branch_true: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:365:20: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:372:19: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:568:12: branch_true: following ‘true’ branch...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:569:17: branch_true: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:569:17: danger: ‘ctx’ leaks here; was allocated at [(1)](sarif:/runs/0/results/30/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def431]
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:572:9: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:340:12: branch_false: following ‘false’ branch (when ‘ctx’ is non-NULL)...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:343:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:347:20: acquire_memory: allocated here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:348:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:354:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:357:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:363:12: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:363:12: branch_true: following ‘true’ branch (when ‘use_event != 0’)...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:364:32: branch_true: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:365:20: branch_true: following ‘true’ branch...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:366:25: branch_true: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:572:9: danger: ‘<unknown>’ leaks here; was allocated at [(3)](sarif:/runs/0/results/32/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def432]
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:572:9: warning[-Wanalyzer-malloc-leak]: leak of ‘ctx’
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:339:15: acquire_memory: allocated here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:340:12: branch_false: following ‘false’ branch (when ‘ctx’ is non-NULL)...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:343:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:348:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:354:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:357:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:363:12: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:363:12: branch_true: following ‘true’ branch (when ‘use_event != 0’)...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:364:32: branch_true: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:365:20: branch_true: following ‘true’ branch...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:366:25: branch_true: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:572:9: danger: ‘ctx’ leaks here; was allocated at [(1)](sarif:/runs/0/results/33/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def433]
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:178:30: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sockfd’
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:164:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:167:13: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:169:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:175:14: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:175:23: branch_true: following ‘true’ branch (when ‘t’ is non-NULL)...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:176:26: branch_true: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:176:26: acquire_resource: socket created here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:177:20: branch_true: following ‘true’ branch (when ‘sockfd >= 0’)...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:178:30: branch_true: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:178:30: danger: ‘sockfd’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def434]
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:212:33: warning[-Wanalyzer-malloc-leak]: leak of ‘rem_dest’
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:164:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:167:13: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:169:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:175:14: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:177:20: branch_true: following ‘true’ branch (when ‘sockfd >= 0’)...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:178:30: branch_true: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:188:12: branch_false: following ‘false’ branch (when ‘sockfd >= 0’)...
branch_false: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:193:21: branch_true: following ‘true’ branch (when ‘i != 256’)...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:194:41: branch_true: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:197:20: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:193:33: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:193:21: branch_true: following ‘true’ branch (when ‘i != 256’)...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:194:41: branch_true: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:197:20: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:193:33: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:203:20: acquire_memory: allocated here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:204:12: branch_false: following ‘false’ branch (when ‘rem_dest’ is non-NULL)...
branch_false: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:207:21: branch_true: following ‘true’ branch (when ‘i != 256’)...
branch_true: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:209:24: branch_true: following ‘true’ branch (when ‘n <= 51’)...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:210:29: branch_true: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:211:28: branch_true: following ‘true’ branch (when ‘r < 0’)...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:212:33: branch_true: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:212:33: danger: ‘rem_dest’ leaks here; was allocated at [(18)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/17)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def435]
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:305:33: warning[-Wanalyzer-malloc-leak]: leak of ‘rem_dest’
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:255:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:258:13: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:260:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:266:14: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:268:20: branch_true: following ‘true’ branch (when ‘sockfd >= 0’)...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:269:25: branch_true: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:283:12: branch_false: following ‘false’ branch (when ‘sockfd >= 0’)...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:288:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:291:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:296:20: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:296:20: acquire_memory: allocated here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:297:12: branch_false: following ‘false’ branch (when ‘rem_dest’ is non-NULL)...
branch_false: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:300:21: branch_true: following ‘true’ branch (when ‘i != 256’)...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:301:17: branch_true: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:302:24: branch_true: following ‘true’ branch...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:303:29: branch_true: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:304:28: branch_true: following ‘true’ branch (when ‘r < 0’)...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:305:33: branch_true: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:305:33: danger: ‘rem_dest’ leaks here; was allocated at [(13)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/12)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def436]
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:346:9: warning[-Wanalyzer-malloc-leak]: leak of ‘rem_dest’
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:255:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:258:13: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:260:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:266:14: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:268:20: branch_true: following ‘true’ branch (when ‘sockfd >= 0’)...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:269:25: branch_true: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:283:12: branch_false: following ‘false’ branch (when ‘sockfd >= 0’)...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:288:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:291:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:296:20: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:296:20: acquire_memory: allocated here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:297:12: branch_false: following ‘false’ branch (when ‘rem_dest’ is non-NULL)...
branch_false: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:300:21: branch_true: following ‘true’ branch (when ‘i != 256’)...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:301:17: branch_true: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:302:24: branch_true: following ‘true’ branch...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:303:29: branch_true: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:304:28: branch_false: following ‘false’ branch (when ‘r >= 0’)...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:310:27: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:302:24: branch_true: following ‘true’ branch...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:303:29: branch_true: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:304:28: branch_true: following ‘true’ branch (when ‘r < 0’)...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:305:33: branch_true: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:346:9: danger: ‘rem_dest’ leaks here; was allocated at [(13)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/12)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def437]
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:375:24: warning[-Wanalyzer-malloc-leak]: leak of ‘ctx’
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:358:15: acquire_memory: allocated here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:359:12: branch_false: following ‘false’ branch (when ‘ctx’ is non-NULL)...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:362:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:368:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:373:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:375:24: danger: ‘ctx’ leaks here; was allocated at [(1)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def438]
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:375:24: warning[-Wanalyzer-malloc-leak]: leak of ‘memalign((long unsigned int)page_size, (long unsigned int)size)’
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:359:12: branch_false: following ‘false’ branch (when ‘ctx’ is non-NULL)...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:362:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:367:20: acquire_memory: allocated here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:368:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:373:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:375:24: danger: ‘memalign((long unsigned int)page_size, (long unsigned int)size)’ leaks here; was allocated at [(3)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def439]
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:377:17: warning[-Wanalyzer-malloc-leak]: leak of ‘ctx’
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:358:15: acquire_memory: allocated here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:359:12: branch_false: following ‘false’ branch (when ‘ctx’ is non-NULL)...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:362:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:368:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:373:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:376:12: branch_true: following ‘true’ branch...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:377:17: branch_true: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:377:17: danger: ‘ctx’ leaks here; was allocated at [(1)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def440]
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:377:17: warning[-Wanalyzer-malloc-leak]: leak of ‘memalign((long unsigned int)page_size, (long unsigned int)size)’
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:359:12: branch_false: following ‘false’ branch (when ‘ctx’ is non-NULL)...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:362:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:367:20: acquire_memory: allocated here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:368:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:373:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:376:12: branch_true: following ‘true’ branch...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:377:17: branch_true: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:377:17: danger: ‘memalign((long unsigned int)page_size, (long unsigned int)size)’ leaks here; was allocated at [(3)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def441]
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:400:32: warning[-Wanalyzer-malloc-leak]: leak of ‘ctx’
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:358:15: acquire_memory: allocated here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:359:12: branch_false: following ‘false’ branch (when ‘ctx’ is non-NULL)...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:362:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:368:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:373:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:376:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:381:13: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:399:12: branch_true: following ‘true’ branch (when ‘use_event != 0’)...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:400:32: branch_true: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:400:32: danger: ‘ctx’ leaks here; was allocated at [(1)](sarif:/runs/0/results/14/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def442]
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:400:32: warning[-Wanalyzer-malloc-leak]: leak of ‘memalign((long unsigned int)page_size, (long unsigned int)size)’
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:359:12: branch_false: following ‘false’ branch (when ‘ctx’ is non-NULL)...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:362:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:367:20: acquire_memory: allocated here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:368:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:373:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:376:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:381:13: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:399:12: branch_true: following ‘true’ branch (when ‘use_event != 0’)...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:400:32: branch_true: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:400:32: danger: ‘memalign((long unsigned int)page_size, (long unsigned int)size)’ leaks here; was allocated at [(3)](sarif:/runs/0/results/15/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def443]
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:408:19: warning[-Wanalyzer-malloc-leak]: leak of ‘ctx’
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:358:15: acquire_memory: allocated here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:359:12: branch_false: following ‘false’ branch (when ‘ctx’ is non-NULL)...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:362:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:368:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:373:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:376:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:381:13: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:399:12: branch_false: following ‘false’ branch (when ‘use_event == 0’)...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:406:17: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:408:19: danger: ‘ctx’ leaks here; was allocated at [(1)](sarif:/runs/0/results/17/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def444]
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:408:19: warning[-Wanalyzer-malloc-leak]: leak of ‘memalign((long unsigned int)page_size, (long unsigned int)size)’
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:359:12: branch_false: following ‘false’ branch (when ‘ctx’ is non-NULL)...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:362:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:367:20: acquire_memory: allocated here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:368:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:373:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:376:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:381:13: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:399:12: branch_false: following ‘false’ branch (when ‘use_event == 0’)...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:406:17: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:408:19: danger: ‘memalign((long unsigned int)page_size, (long unsigned int)size)’ leaks here; was allocated at [(3)](sarif:/runs/0/results/16/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def445]
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:420:19: warning[-Wanalyzer-malloc-leak]: leak of ‘ctx’
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:350:33: enter_function: entry to ‘pp_init_ctx’
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:358:15: acquire_memory: allocated here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:359:12: branch_false: following ‘false’ branch (when ‘ctx’ is non-NULL)...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:362:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:368:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:373:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:376:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:381:13: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:399:12: branch_false: following ‘false’ branch (when ‘use_event == 0’)...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:406:17: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:409:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:414:19: call_function: inlined call to ‘__ibv_reg_mr’ from ‘pp_init_ctx’
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:415:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:420:19: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:420:19: danger: ‘ctx’ leaks here; was allocated at [(2)](sarif:/runs/0/results/18/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def446]
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:435:28: warning[-Wanalyzer-malloc-leak]: leak of ‘ctx’
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:350:33: enter_function: entry to ‘pp_init_ctx’
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:358:15: acquire_memory: allocated here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:359:12: branch_false: following ‘false’ branch (when ‘ctx’ is non-NULL)...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:362:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:368:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:373:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:376:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:381:13: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:399:12: branch_false: following ‘false’ branch (when ‘use_event == 0’)...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:406:17: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:409:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:414:19: call_function: inlined call to ‘__ibv_reg_mr’ from ‘pp_init_ctx’
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:415:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:420:19: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:422:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:428:42: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:435:28: danger: ‘ctx’ leaks here; was allocated at [(2)](sarif:/runs/0/results/19/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def447]
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:455:30: warning[-Wanalyzer-malloc-leak]: leak of ‘ctx’
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:350:33: enter_function: entry to ‘pp_init_ctx’
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:358:15: acquire_memory: allocated here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:359:12: branch_false: following ‘false’ branch (when ‘ctx’ is non-NULL)...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:362:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:368:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:373:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:376:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:381:13: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:399:12: branch_false: following ‘false’ branch (when ‘use_event == 0’)...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:406:17: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:409:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:414:19: call_function: inlined call to ‘__ibv_reg_mr’ from ‘pp_init_ctx’
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:415:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:420:19: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:422:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:428:42: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:436:20: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:442:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:442:21: branch_true: following ‘true’ branch (when ‘i < num_qp’)...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:444:41: branch_true: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:455:30: danger: ‘ctx’ leaks here; was allocated at [(2)](sarif:/runs/0/results/20/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def448]
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:460:17: warning[-Wanalyzer-malloc-leak]: leak of ‘ctx’
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:350:33: enter_function: entry to ‘pp_init_ctx’
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:358:15: acquire_memory: allocated here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:359:12: branch_false: following ‘false’ branch (when ‘ctx’ is non-NULL)...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:362:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:368:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:373:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:376:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:381:13: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:399:12: branch_false: following ‘false’ branch (when ‘use_event == 0’)...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:406:17: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:409:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:414:19: call_function: inlined call to ‘__ibv_reg_mr’ from ‘pp_init_ctx’
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:415:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:420:19: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:422:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:428:42: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:436:20: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:442:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:442:21: branch_true: following ‘true’ branch (when ‘i < num_qp’)...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:444:41: branch_true: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:456:20: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:460:17: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:460:17: danger: ‘ctx’ leaks here; was allocated at [(2)](sarif:/runs/0/results/21/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def449]
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:474:21: warning[-Wanalyzer-malloc-leak]: leak of ‘ctx’
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:350:33: enter_function: entry to ‘pp_init_ctx’
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:358:15: acquire_memory: allocated here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:359:12: branch_false: following ‘false’ branch (when ‘ctx’ is non-NULL)...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:362:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:368:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:373:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:376:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:381:13: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:399:12: branch_false: following ‘false’ branch (when ‘use_event == 0’)...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:406:17: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:409:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:414:19: call_function: inlined call to ‘__ibv_reg_mr’ from ‘pp_init_ctx’
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:415:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:420:19: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:422:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:428:42: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:436:20: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:442:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:442:21: branch_true: following ‘true’ branch (when ‘i < num_qp’)...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:444:41: branch_true: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:456:20: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:460:17: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:442:21: branch_false: following ‘false’ branch (when ‘i >= num_qp’)...
branch_false: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:466:21: branch_true: following ‘true’ branch (when ‘i < num_qp’)...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:467:36: branch_true: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:474:21: danger: ‘ctx’ leaks here; was allocated at [(2)](sarif:/runs/0/results/22/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def450]
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:491:17: warning[-Wanalyzer-malloc-leak]: leak of ‘ctx’
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:350:33: enter_function: entry to ‘pp_init_ctx’
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:358:15: acquire_memory: allocated here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:359:12: branch_false: following ‘false’ branch (when ‘ctx’ is non-NULL)...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:362:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:368:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:373:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:376:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:381:13: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:399:12: branch_true: following ‘true’ branch (when ‘use_event != 0’)...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:400:32: branch_true: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:401:20: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:408:19: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:409:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:414:19: call_function: inlined call to ‘__ibv_reg_mr’ from ‘pp_init_ctx’
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:415:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:420:19: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:422:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:428:42: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:436:20: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:442:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:442:21: branch_true: following ‘true’ branch (when ‘i < num_qp’)...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:444:41: branch_true: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:456:20: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:460:17: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:442:21: branch_true: following ‘true’ branch (when ‘i < num_qp’)...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:444:41: branch_true: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:490:19: branch_true: following ‘true’ branch (when ‘i != -1’)...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:491:17: branch_true: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:491:17: danger: ‘ctx’ leaks here; was allocated at [(2)](sarif:/runs/0/results/23/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def451]
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:493:9: warning[-Wanalyzer-malloc-leak]: leak of ‘ctx’
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:350:33: enter_function: entry to ‘pp_init_ctx’
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:358:15: acquire_memory: allocated here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:359:12: branch_false: following ‘false’ branch (when ‘ctx’ is non-NULL)...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:362:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:368:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:373:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:376:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:381:13: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:399:12: branch_false: following ‘false’ branch (when ‘use_event == 0’)...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:406:17: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:409:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:414:19: call_function: inlined call to ‘__ibv_reg_mr’ from ‘pp_init_ctx’
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:415:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:420:19: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:422:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:428:42: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:436:20: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:442:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:442:21: branch_true: following ‘true’ branch (when ‘i < num_qp’)...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:444:41: branch_true: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:490:19: branch_false: following ‘false’ branch (when ‘i == -1’)...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:493:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:493:9: danger: ‘ctx’ leaks here; was allocated at [(2)](sarif:/runs/0/results/24/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def452]
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:496:9: warning[-Wanalyzer-malloc-leak]: leak of ‘ctx’
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:350:33: enter_function: entry to ‘pp_init_ctx’
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:358:15: acquire_memory: allocated here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:359:12: branch_false: following ‘false’ branch (when ‘ctx’ is non-NULL)...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:362:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:368:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:373:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:376:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:381:13: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:399:12: branch_false: following ‘false’ branch (when ‘use_event == 0’)...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:406:17: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:409:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:414:19: call_function: inlined call to ‘__ibv_reg_mr’ from ‘pp_init_ctx’
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:415:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:420:19: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:422:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:428:42: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:436:20: branch_true: following ‘true’ branch...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:437:25: branch_true: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:496:9: danger: ‘ctx’ leaks here; was allocated at [(2)](sarif:/runs/0/results/25/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def453]
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:499:9: warning[-Wanalyzer-malloc-leak]: leak of ‘ctx’
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:350:33: enter_function: entry to ‘pp_init_ctx’
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:358:15: acquire_memory: allocated here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:359:12: branch_false: following ‘false’ branch (when ‘ctx’ is non-NULL)...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:362:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:368:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:373:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:376:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:381:13: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:399:12: branch_false: following ‘false’ branch (when ‘use_event == 0’)...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:406:17: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:409:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:414:19: call_function: inlined call to ‘__ibv_reg_mr’ from ‘pp_init_ctx’
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:415:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:420:19: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:422:12: branch_true: following ‘true’ branch...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:423:17: branch_true: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:499:9: danger: ‘ctx’ leaks here; was allocated at [(2)](sarif:/runs/0/results/26/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def454]
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:502:9: warning[-Wanalyzer-malloc-leak]: leak of ‘ctx’
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:350:33: enter_function: entry to ‘pp_init_ctx’
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:358:15: acquire_memory: allocated here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:359:12: branch_false: following ‘false’ branch (when ‘ctx’ is non-NULL)...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:362:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:368:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:373:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:376:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:381:13: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:399:12: branch_false: following ‘false’ branch (when ‘use_event == 0’)...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:406:17: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:409:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:414:19: call_function: inlined call to ‘__ibv_reg_mr’ from ‘pp_init_ctx’
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:415:12: branch_true: following ‘true’ branch...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:416:17: branch_true: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:502:9: danger: ‘ctx’ leaks here; was allocated at [(2)](sarif:/runs/0/results/27/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def455]
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:506:17: warning[-Wanalyzer-malloc-leak]: leak of ‘ctx’
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:358:15: acquire_memory: allocated here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:359:12: branch_false: following ‘false’ branch (when ‘ctx’ is non-NULL)...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:362:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:368:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:373:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:376:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:381:13: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:399:12: branch_true: following ‘true’ branch (when ‘use_event != 0’)...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:400:32: branch_true: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:401:20: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:408:19: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:409:12: branch_true: following ‘true’ branch...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:410:17: branch_true: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:505:12: branch_true: following ‘true’ branch...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:506:17: branch_true: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:506:17: danger: ‘ctx’ leaks here; was allocated at [(1)](sarif:/runs/0/results/29/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def456]
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:506:17: warning[-Wanalyzer-malloc-leak]: leak of ‘memalign((long unsigned int)page_size, (long unsigned int)size)’
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:359:12: branch_false: following ‘false’ branch (when ‘ctx’ is non-NULL)...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:362:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:367:20: acquire_memory: allocated here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:368:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:373:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:376:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:381:13: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:399:12: branch_true: following ‘true’ branch (when ‘use_event != 0’)...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:400:32: branch_true: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:401:20: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:408:19: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:409:12: branch_true: following ‘true’ branch...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:410:17: branch_true: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:505:12: branch_true: following ‘true’ branch...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:506:17: branch_true: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:506:17: danger: ‘memalign((long unsigned int)page_size, (long unsigned int)size)’ leaks here; was allocated at [(3)](sarif:/runs/0/results/28/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def457]
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:509:9: warning[-Wanalyzer-malloc-leak]: leak of ‘ctx’
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:358:15: acquire_memory: allocated here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:359:12: branch_false: following ‘false’ branch (when ‘ctx’ is non-NULL)...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:362:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:368:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:373:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:376:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:381:13: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:399:12: branch_true: following ‘true’ branch (when ‘use_event != 0’)...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:400:32: branch_true: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:401:20: branch_true: following ‘true’ branch...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:402:25: branch_true: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:509:9: danger: ‘ctx’ leaks here; was allocated at [(1)](sarif:/runs/0/results/31/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def458]
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:509:9: warning[-Wanalyzer-malloc-leak]: leak of ‘memalign((long unsigned int)page_size, (long unsigned int)size)’
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:359:12: branch_false: following ‘false’ branch (when ‘ctx’ is non-NULL)...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:362:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:367:20: acquire_memory: allocated here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:368:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:373:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:376:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:381:13: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:399:12: branch_true: following ‘true’ branch (when ‘use_event != 0’)...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:400:32: branch_true: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:401:20: branch_true: following ‘true’ branch...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:402:25: branch_true: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:509:9: danger: ‘memalign((long unsigned int)page_size, (long unsigned int)size)’ leaks here; was allocated at [(3)](sarif:/runs/0/results/30/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def459]
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:155:30: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sockfd’
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:141:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:144:13: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:146:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:152:14: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:152:23: branch_true: following ‘true’ branch (when ‘t’ is non-NULL)...
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:153:26: branch_true: ...to here
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:153:26: acquire_resource: socket created here
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:154:20: branch_true: following ‘true’ branch (when ‘sockfd >= 0’)...
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:155:30: branch_true: ...to here
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:155:30: danger: ‘sockfd’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def460]
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:322:24: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:306:12: branch_false: following ‘false’ branch (when ‘ctx’ is non-NULL)...
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:309:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:313:20: acquire_memory: allocated here
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:314:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:320:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:322:24: danger: ‘<unknown>’ leaks here; was allocated at [(3)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def461]
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:322:24: warning[-Wanalyzer-malloc-leak]: leak of ‘ctx’
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:305:15: acquire_memory: allocated here
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:306:12: branch_false: following ‘false’ branch (when ‘ctx’ is non-NULL)...
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:309:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:314:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:320:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:322:24: danger: ‘ctx’ leaks here; was allocated at [(1)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def462]
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:324:17: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:306:12: branch_false: following ‘false’ branch (when ‘ctx’ is non-NULL)...
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:309:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:313:20: acquire_memory: allocated here
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:314:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:320:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:323:12: branch_true: following ‘true’ branch...
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:324:17: branch_true: ...to here
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:324:17: danger: ‘<unknown>’ leaks here; was allocated at [(3)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def463]
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:324:17: warning[-Wanalyzer-malloc-leak]: leak of ‘ctx’
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:305:15: acquire_memory: allocated here
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:306:12: branch_false: following ‘false’ branch (when ‘ctx’ is non-NULL)...
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:309:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:314:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:320:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:323:12: branch_true: following ‘true’ branch...
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:324:17: branch_true: ...to here
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:324:17: danger: ‘ctx’ leaks here; was allocated at [(1)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def464]
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:330:32: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:306:12: branch_false: following ‘false’ branch (when ‘ctx’ is non-NULL)...
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:309:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:313:20: acquire_memory: allocated here
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:314:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:320:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:323:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:329:12: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:329:12: branch_true: following ‘true’ branch (when ‘use_event != 0’)...
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:330:32: branch_true: ...to here
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:330:32: danger: ‘<unknown>’ leaks here; was allocated at [(3)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def465]
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:330:32: warning[-Wanalyzer-malloc-leak]: leak of ‘ctx’
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:305:15: acquire_memory: allocated here
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:306:12: branch_false: following ‘false’ branch (when ‘ctx’ is non-NULL)...
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:309:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:314:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:320:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:323:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:329:12: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:329:12: branch_true: following ‘true’ branch (when ‘use_event != 0’)...
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:330:32: branch_true: ...to here
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:330:32: danger: ‘ctx’ leaks here; was allocated at [(1)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def466]
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:338:19: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:306:12: branch_false: following ‘false’ branch (when ‘ctx’ is non-NULL)...
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:309:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:313:20: acquire_memory: allocated here
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:314:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:320:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:323:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:329:12: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:329:12: branch_false: following ‘false’ branch (when ‘use_event == 0’)...
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:336:17: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:338:19: danger: ‘<unknown>’ leaks here; was allocated at [(3)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def467]
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:338:19: warning[-Wanalyzer-malloc-leak]: leak of ‘ctx’
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:305:15: acquire_memory: allocated here
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:306:12: branch_false: following ‘false’ branch (when ‘ctx’ is non-NULL)...
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:309:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:314:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:320:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:323:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:329:12: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:329:12: branch_false: following ‘false’ branch (when ‘use_event == 0’)...
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:336:17: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:338:19: danger: ‘ctx’ leaks here; was allocated at [(1)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def468]
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:350:19: warning[-Wanalyzer-malloc-leak]: leak of ‘ctx’
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:305:15: acquire_memory: allocated here
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:306:12: branch_false: following ‘false’ branch (when ‘ctx’ is non-NULL)...
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:309:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:314:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:320:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:323:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:329:12: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:329:12: branch_false: following ‘false’ branch (when ‘use_event == 0’)...
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:336:17: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:339:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:344:19: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:345:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:350:19: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:350:19: danger: ‘ctx’ leaks here; was allocated at [(1)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def469]
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:371:27: warning[-Wanalyzer-malloc-leak]: leak of ‘ctx’
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:305:15: acquire_memory: allocated here
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:306:12: branch_false: following ‘false’ branch (when ‘ctx’ is non-NULL)...
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:309:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:314:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:320:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:323:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:329:12: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:329:12: branch_false: following ‘false’ branch (when ‘use_event == 0’)...
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:336:17: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:339:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:344:19: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:345:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:350:19: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:352:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:359:41: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:371:27: danger: ‘ctx’ leaks here; was allocated at [(1)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def470]
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:376:17: warning[-Wanalyzer-malloc-leak]: leak of ‘ctx’
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:305:15: acquire_memory: allocated here
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:306:12: branch_false: following ‘false’ branch (when ‘ctx’ is non-NULL)...
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:309:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:314:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:320:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:323:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:329:12: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:329:12: branch_false: following ‘false’ branch (when ‘use_event == 0’)...
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:336:17: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:339:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:344:19: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:345:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:350:19: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:352:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:359:41: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:372:20: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:376:17: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:376:17: danger: ‘ctx’ leaks here; was allocated at [(1)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def471]
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:390:21: warning[-Wanalyzer-malloc-leak]: leak of ‘ctx’
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:305:15: acquire_memory: allocated here
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:306:12: branch_false: following ‘false’ branch (when ‘ctx’ is non-NULL)...
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:309:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:314:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:320:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:323:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:329:12: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:329:12: branch_false: following ‘false’ branch (when ‘use_event == 0’)...
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:336:17: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:339:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:344:19: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:345:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:350:19: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:352:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:359:41: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:372:20: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:376:17: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:390:21: danger: ‘ctx’ leaks here; was allocated at [(1)](sarif:/runs/0/results/14/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def472]
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:403:9: warning[-Wanalyzer-malloc-leak]: leak of ‘ctx’
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:305:15: acquire_memory: allocated here
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:306:12: branch_false: following ‘false’ branch (when ‘ctx’ is non-NULL)...
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:309:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:314:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:320:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:323:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:329:12: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:329:12: branch_false: following ‘false’ branch (when ‘use_event == 0’)...
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:336:17: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:339:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:344:19: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:345:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:350:19: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:352:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:359:41: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:372:20: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:376:17: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:390:20: branch_true: following ‘true’ branch...
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:395:25: branch_true: ...to here
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:403:9: danger: ‘ctx’ leaks here; was allocated at [(1)](sarif:/runs/0/results/15/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def473]
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:406:9: warning[-Wanalyzer-malloc-leak]: leak of ‘ctx’
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:305:15: acquire_memory: allocated here
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:306:12: branch_false: following ‘false’ branch (when ‘ctx’ is non-NULL)...
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:309:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:314:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:320:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:323:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:329:12: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:329:12: branch_false: following ‘false’ branch (when ‘use_event == 0’)...
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:336:17: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:339:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:344:19: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:345:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:350:19: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:352:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:359:41: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:406:9: danger: ‘ctx’ leaks here; was allocated at [(1)](sarif:/runs/0/results/16/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def474]
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:409:9: warning[-Wanalyzer-malloc-leak]: leak of ‘ctx’
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:305:15: acquire_memory: allocated here
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:306:12: branch_false: following ‘false’ branch (when ‘ctx’ is non-NULL)...
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:309:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:314:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:320:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:323:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:329:12: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:329:12: branch_false: following ‘false’ branch (when ‘use_event == 0’)...
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:336:17: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:339:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:344:19: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:345:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:350:19: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:352:12: branch_true: following ‘true’ branch...
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:353:17: branch_true: ...to here
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:409:9: danger: ‘ctx’ leaks here; was allocated at [(1)](sarif:/runs/0/results/17/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def475]
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:412:9: warning[-Wanalyzer-malloc-leak]: leak of ‘ctx’
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:305:15: acquire_memory: allocated here
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:306:12: branch_false: following ‘false’ branch (when ‘ctx’ is non-NULL)...
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:309:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:314:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:320:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:323:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:329:12: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:329:12: branch_false: following ‘false’ branch (when ‘use_event == 0’)...
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:336:17: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:339:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:344:19: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:345:12: branch_true: following ‘true’ branch...
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:346:17: branch_true: ...to here
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:412:9: danger: ‘ctx’ leaks here; was allocated at [(1)](sarif:/runs/0/results/18/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def476]
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:416:17: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:306:12: branch_false: following ‘false’ branch (when ‘ctx’ is non-NULL)...
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:309:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:313:20: acquire_memory: allocated here
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:314:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:320:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:323:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:329:12: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:329:12: branch_true: following ‘true’ branch (when ‘use_event != 0’)...
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:330:32: branch_true: ...to here
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:331:20: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:338:19: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:339:12: branch_true: following ‘true’ branch...
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:340:17: branch_true: ...to here
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:415:12: branch_true: following ‘true’ branch...
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:416:17: branch_true: ...to here
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:416:17: danger: ‘<unknown>’ leaks here; was allocated at [(3)](sarif:/runs/0/results/19/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def477]
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:416:17: warning[-Wanalyzer-malloc-leak]: leak of ‘ctx’
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:305:15: acquire_memory: allocated here
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:306:12: branch_false: following ‘false’ branch (when ‘ctx’ is non-NULL)...
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:309:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:314:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:320:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:323:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:329:12: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:329:12: branch_true: following ‘true’ branch (when ‘use_event != 0’)...
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:330:32: branch_true: ...to here
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:331:20: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:338:19: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:339:12: branch_true: following ‘true’ branch...
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:340:17: branch_true: ...to here
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:415:12: branch_true: following ‘true’ branch...
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:416:17: branch_true: ...to here
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:416:17: danger: ‘ctx’ leaks here; was allocated at [(1)](sarif:/runs/0/results/20/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def478]
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:419:9: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:306:12: branch_false: following ‘false’ branch (when ‘ctx’ is non-NULL)...
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:309:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:313:20: acquire_memory: allocated here
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:314:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:320:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:323:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:329:12: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:329:12: branch_true: following ‘true’ branch (when ‘use_event != 0’)...
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:330:32: branch_true: ...to here
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:331:20: branch_true: following ‘true’ branch...
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:332:25: branch_true: ...to here
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:419:9: danger: ‘<unknown>’ leaks here; was allocated at [(3)](sarif:/runs/0/results/21/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def479]
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:419:9: warning[-Wanalyzer-malloc-leak]: leak of ‘ctx’
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:305:15: acquire_memory: allocated here
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:306:12: branch_false: following ‘false’ branch (when ‘ctx’ is non-NULL)...
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:309:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:314:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:320:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:323:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:329:12: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:329:12: branch_true: following ‘true’ branch (when ‘use_event != 0’)...
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:330:32: branch_true: ...to here
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:331:20: branch_true: following ‘true’ branch...
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:332:25: branch_true: ...to here
rdma-core-59.0/libibverbs/examples/uc_pingpong.c:419:9: danger: ‘ctx’ leaks here; was allocated at [(1)](sarif:/runs/0/results/22/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def480]
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:155:30: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sockfd’
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:141:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:144:13: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:146:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:152:14: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:152:23: branch_true: following ‘true’ branch (when ‘t’ is non-NULL)...
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:153:26: branch_true: ...to here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:153:26: acquire_resource: socket created here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:154:20: branch_true: following ‘true’ branch (when ‘sockfd >= 0’)...
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:155:30: branch_true: ...to here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:155:30: danger: ‘sockfd’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def481]
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:318:24: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:302:12: branch_false: following ‘false’ branch (when ‘ctx’ is non-NULL)...
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:305:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:309:20: acquire_memory: allocated here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:310:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:316:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:318:24: danger: ‘<unknown>’ leaks here; was allocated at [(3)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def482]
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:318:24: warning[-Wanalyzer-malloc-leak]: leak of ‘ctx’
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:301:15: acquire_memory: allocated here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:302:12: branch_false: following ‘false’ branch (when ‘ctx’ is non-NULL)...
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:305:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:310:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:316:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:318:24: danger: ‘ctx’ leaks here; was allocated at [(1)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def483]
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:320:17: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:302:12: branch_false: following ‘false’ branch (when ‘ctx’ is non-NULL)...
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:305:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:309:20: acquire_memory: allocated here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:310:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:316:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:319:12: branch_true: following ‘true’ branch...
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:320:17: branch_true: ...to here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:320:17: danger: ‘<unknown>’ leaks here; was allocated at [(3)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def484]
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:320:17: warning[-Wanalyzer-malloc-leak]: leak of ‘ctx’
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:301:15: acquire_memory: allocated here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:302:12: branch_false: following ‘false’ branch (when ‘ctx’ is non-NULL)...
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:305:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:310:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:316:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:319:12: branch_true: following ‘true’ branch...
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:320:17: branch_true: ...to here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:320:17: danger: ‘ctx’ leaks here; was allocated at [(1)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def485]
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:341:32: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:302:12: branch_false: following ‘false’ branch (when ‘ctx’ is non-NULL)...
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:305:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:309:20: acquire_memory: allocated here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:310:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:316:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:319:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:326:38: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:329:20: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:333:29: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:334:20: branch_false: following ‘false’ branch (when ‘size <= mtu’)...
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:340:12: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:340:12: branch_true: following ‘true’ branch (when ‘use_event != 0’)...
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:341:32: branch_true: ...to here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:341:32: danger: ‘<unknown>’ leaks here; was allocated at [(3)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def486]
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:341:32: warning[-Wanalyzer-malloc-leak]: leak of ‘ctx’
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:301:15: acquire_memory: allocated here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:302:12: branch_false: following ‘false’ branch (when ‘ctx’ is non-NULL)...
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:305:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:310:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:316:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:319:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:326:38: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:329:20: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:333:29: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:334:20: branch_false: following ‘false’ branch (when ‘size <= mtu’)...
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:340:12: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:340:12: branch_true: following ‘true’ branch (when ‘use_event != 0’)...
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:341:32: branch_true: ...to here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:341:32: danger: ‘ctx’ leaks here; was allocated at [(1)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def487]
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:349:19: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:302:12: branch_false: following ‘false’ branch (when ‘ctx’ is non-NULL)...
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:305:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:309:20: acquire_memory: allocated here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:310:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:316:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:319:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:326:38: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:329:20: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:333:29: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:334:20: branch_false: following ‘false’ branch (when ‘size <= mtu’)...
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:340:12: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:340:12: branch_false: following ‘false’ branch (when ‘use_event == 0’)...
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:347:17: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:349:19: danger: ‘<unknown>’ leaks here; was allocated at [(3)](sarif:/runs/0/results/14/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def488]
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:349:19: warning[-Wanalyzer-malloc-leak]: leak of ‘ctx’
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:301:15: acquire_memory: allocated here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:302:12: branch_false: following ‘false’ branch (when ‘ctx’ is non-NULL)...
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:305:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:310:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:316:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:319:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:326:38: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:329:20: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:333:29: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:334:20: branch_false: following ‘false’ branch (when ‘size <= mtu’)...
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:340:12: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:340:12: branch_false: following ‘false’ branch (when ‘use_event == 0’)...
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:347:17: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:349:19: danger: ‘ctx’ leaks here; was allocated at [(1)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def489]
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:361:19: warning[-Wanalyzer-malloc-leak]: leak of ‘ctx’
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:301:15: acquire_memory: allocated here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:302:12: branch_false: following ‘false’ branch (when ‘ctx’ is non-NULL)...
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:305:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:310:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:316:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:319:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:326:38: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:329:20: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:333:29: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:334:20: branch_false: following ‘false’ branch (when ‘size <= mtu’)...
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:340:12: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:340:12: branch_false: following ‘false’ branch (when ‘use_event == 0’)...
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:347:17: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:350:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:355:19: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:356:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:361:19: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:361:19: danger: ‘ctx’ leaks here; was allocated at [(1)](sarif:/runs/0/results/15/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def490]
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:382:27: warning[-Wanalyzer-malloc-leak]: leak of ‘ctx’
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:301:15: acquire_memory: allocated here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:302:12: branch_false: following ‘false’ branch (when ‘ctx’ is non-NULL)...
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:305:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:310:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:316:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:319:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:326:38: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:329:20: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:333:29: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:334:20: branch_false: following ‘false’ branch (when ‘size <= mtu’)...
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:340:12: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:340:12: branch_false: following ‘false’ branch (when ‘use_event == 0’)...
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:347:17: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:350:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:355:19: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:356:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:361:19: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:363:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:370:41: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:382:27: danger: ‘ctx’ leaks here; was allocated at [(1)](sarif:/runs/0/results/16/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def491]
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:388:17: warning[-Wanalyzer-malloc-leak]: leak of ‘ctx’
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:301:15: acquire_memory: allocated here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:302:12: branch_false: following ‘false’ branch (when ‘ctx’ is non-NULL)...
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:305:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:310:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:316:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:319:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:326:38: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:329:20: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:333:29: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:334:20: branch_false: following ‘false’ branch (when ‘size <= mtu’)...
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:340:12: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:340:12: branch_false: following ‘false’ branch (when ‘use_event == 0’)...
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:347:17: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:350:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:355:19: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:356:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:361:19: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:363:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:370:41: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:383:20: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:388:17: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:388:17: danger: ‘ctx’ leaks here; was allocated at [(1)](sarif:/runs/0/results/17/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def492]
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:402:21: warning[-Wanalyzer-malloc-leak]: leak of ‘ctx’
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:301:15: acquire_memory: allocated here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:302:12: branch_false: following ‘false’ branch (when ‘ctx’ is non-NULL)...
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:305:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:310:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:316:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:319:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:326:38: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:329:20: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:333:29: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:334:20: branch_false: following ‘false’ branch (when ‘size <= mtu’)...
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:340:12: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:340:12: branch_false: following ‘false’ branch (when ‘use_event == 0’)...
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:347:17: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:350:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:355:19: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:356:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:361:19: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:363:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:370:41: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:383:20: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:388:17: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:402:21: danger: ‘ctx’ leaks here; was allocated at [(1)](sarif:/runs/0/results/18/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def493]
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:415:9: warning[-Wanalyzer-malloc-leak]: leak of ‘ctx’
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:301:15: acquire_memory: allocated here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:302:12: branch_false: following ‘false’ branch (when ‘ctx’ is non-NULL)...
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:305:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:310:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:316:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:319:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:326:38: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:329:20: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:333:29: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:334:20: branch_false: following ‘false’ branch (when ‘size <= mtu’)...
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:340:12: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:340:12: branch_false: following ‘false’ branch (when ‘use_event == 0’)...
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:347:17: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:350:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:355:19: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:356:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:361:19: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:363:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:370:41: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:383:20: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:388:17: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:402:20: branch_true: following ‘true’ branch...
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:407:25: branch_true: ...to here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:415:9: danger: ‘ctx’ leaks here; was allocated at [(1)](sarif:/runs/0/results/19/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def494]
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:418:9: warning[-Wanalyzer-malloc-leak]: leak of ‘ctx’
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:301:15: acquire_memory: allocated here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:302:12: branch_false: following ‘false’ branch (when ‘ctx’ is non-NULL)...
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:305:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:310:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:316:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:319:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:326:38: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:329:20: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:333:29: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:334:20: branch_false: following ‘false’ branch (when ‘size <= mtu’)...
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:340:12: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:340:12: branch_false: following ‘false’ branch (when ‘use_event == 0’)...
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:347:17: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:350:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:355:19: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:356:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:361:19: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:363:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:370:41: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:418:9: danger: ‘ctx’ leaks here; was allocated at [(1)](sarif:/runs/0/results/20/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def495]
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:421:9: warning[-Wanalyzer-malloc-leak]: leak of ‘ctx’
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:301:15: acquire_memory: allocated here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:302:12: branch_false: following ‘false’ branch (when ‘ctx’ is non-NULL)...
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:305:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:310:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:316:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:319:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:326:38: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:329:20: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:333:29: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:334:20: branch_false: following ‘false’ branch (when ‘size <= mtu’)...
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:340:12: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:340:12: branch_false: following ‘false’ branch (when ‘use_event == 0’)...
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:347:17: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:350:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:355:19: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:356:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:361:19: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:421:9: danger: ‘ctx’ leaks here; was allocated at [(1)](sarif:/runs/0/results/21/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def496]
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:424:9: warning[-Wanalyzer-malloc-leak]: leak of ‘ctx’
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:301:15: acquire_memory: allocated here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:302:12: branch_false: following ‘false’ branch (when ‘ctx’ is non-NULL)...
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:305:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:310:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:316:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:319:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:326:38: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:329:20: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:333:29: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:334:20: branch_false: following ‘false’ branch (when ‘size <= mtu’)...
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:340:12: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:340:12: branch_false: following ‘false’ branch (when ‘use_event == 0’)...
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:347:17: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:350:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:355:19: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:424:9: danger: ‘ctx’ leaks here; was allocated at [(1)](sarif:/runs/0/results/22/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def497]
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:428:17: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:302:12: branch_false: following ‘false’ branch (when ‘ctx’ is non-NULL)...
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:305:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:309:20: acquire_memory: allocated here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:310:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:316:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:319:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:326:38: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:329:20: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:333:29: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:334:20: branch_false: following ‘false’ branch (when ‘size <= mtu’)...
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:340:12: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:340:12: branch_true: following ‘true’ branch (when ‘use_event != 0’)...
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:341:32: branch_true: ...to here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:342:20: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:349:19: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:350:12: branch_true: following ‘true’ branch...
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:351:17: branch_true: ...to here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:427:12: branch_true: following ‘true’ branch...
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:428:17: branch_true: ...to here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:428:17: danger: ‘<unknown>’ leaks here; was allocated at [(3)](sarif:/runs/0/results/23/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def498]
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:428:17: warning[-Wanalyzer-malloc-leak]: leak of ‘ctx’
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:301:15: acquire_memory: allocated here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:302:12: branch_false: following ‘false’ branch (when ‘ctx’ is non-NULL)...
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:305:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:310:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:316:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:319:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:326:38: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:329:20: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:333:29: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:334:20: branch_false: following ‘false’ branch (when ‘size <= mtu’)...
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:340:12: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:340:12: branch_true: following ‘true’ branch (when ‘use_event != 0’)...
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:341:32: branch_true: ...to here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:342:20: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:349:19: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:350:12: branch_true: following ‘true’ branch...
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:351:17: branch_true: ...to here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:427:12: branch_true: following ‘true’ branch...
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:428:17: branch_true: ...to here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:428:17: danger: ‘ctx’ leaks here; was allocated at [(1)](sarif:/runs/0/results/24/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def499]
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:431:9: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:302:12: branch_false: following ‘false’ branch (when ‘ctx’ is non-NULL)...
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:305:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:309:20: acquire_memory: allocated here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:310:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:316:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:319:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:326:38: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:431:9: danger: ‘<unknown>’ leaks here; was allocated at [(3)](sarif:/runs/0/results/25/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def500]
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:431:9: warning[-Wanalyzer-malloc-leak]: leak of ‘ctx’
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:301:15: acquire_memory: allocated here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:302:12: branch_false: following ‘false’ branch (when ‘ctx’ is non-NULL)...
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:305:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:310:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:316:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:319:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:326:38: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:431:9: danger: ‘ctx’ leaks here; was allocated at [(1)](sarif:/runs/0/results/26/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def501]
rdma-core-59.0/libibverbs/examples/xsrq_pingpong.c:583:30: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sockfd’
rdma-core-59.0/libibverbs/examples/xsrq_pingpong.c:570:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/xsrq_pingpong.c:573:15: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/xsrq_pingpong.c:574:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/xsrq_pingpong.c:580:14: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/xsrq_pingpong.c:580:23: branch_true: following ‘true’ branch (when ‘t’ is non-NULL)...
rdma-core-59.0/libibverbs/examples/xsrq_pingpong.c:581:26: branch_true: ...to here
rdma-core-59.0/libibverbs/examples/xsrq_pingpong.c:581:26: acquire_resource: socket created here
rdma-core-59.0/libibverbs/examples/xsrq_pingpong.c:582:20: branch_true: following ‘true’ branch (when ‘sockfd >= 0’)...
rdma-core-59.0/libibverbs/examples/xsrq_pingpong.c:583:30: branch_true: ...to here
rdma-core-59.0/libibverbs/examples/xsrq_pingpong.c:583:30: danger: ‘sockfd’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def502]
rdma-core-59.0/libibverbs/ibdev_nl.c:61:24: warning[-Wanalyzer-malloc-leak]: leak of ‘opendir(&path)’
rdma-core-59.0/libibverbs/ibdev_nl.c:46:12: enter_function: entry to ‘find_uverbs_sysfs’
rdma-core-59.0/libibverbs/ibdev_nl.c:53:14: call_function: inlined call to ‘__good_snprintf’ from ‘find_uverbs_sysfs’
rdma-core-59.0/libibverbs/ibdev_nl.c:57:21: branch_true: ...to here
rdma-core-59.0/libibverbs/ibdev_nl.c:57:21: acquire_memory: allocated here
rdma-core-59.0/libibverbs/ibdev_nl.c:58:12: branch_false: following ‘false’ branch...
branch_false: ...to here
rdma-core-59.0/libibverbs/ibdev_nl.c:61:24: danger: ‘opendir(&path)’ leaks here; was allocated at [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def503]
rdma-core-59.0/libibverbs/ibdev_nl.c:161:32: warning[-Wanalyzer-malloc-leak]: leak of ‘sysfs_dev’
rdma-core-59.0/libibverbs/ibdev_nl.c:148:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/ibdev_nl.c:150:14: branch_false: ...to here
rdma-core-59.0/libibverbs/ibdev_nl.c:150:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/ibdev_nl.c:151:14: branch_false: ...to here
rdma-core-59.0/libibverbs/ibdev_nl.c:150:13: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/ibdev_nl.c:152:14: branch_false: ...to here
rdma-core-59.0/libibverbs/ibdev_nl.c:150:13: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/ibdev_nl.c:153:14: branch_false: ...to here
rdma-core-59.0/libibverbs/ibdev_nl.c:150:13: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/ibdev_nl.c:154:14: branch_false: ...to here
rdma-core-59.0/libibverbs/ibdev_nl.c:150:13: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/ibdev_nl.c:157:21: branch_false: ...to here
rdma-core-59.0/libibverbs/ibdev_nl.c:157:21: acquire_memory: allocated here
rdma-core-59.0/libibverbs/ibdev_nl.c:158:12: branch_false: following ‘false’ branch (when ‘sysfs_dev’ is non-NULL)...
rdma-core-59.0/libibverbs/ibdev_nl.c:161:32: branch_false: ...to here
rdma-core-59.0/libibverbs/ibdev_nl.c:161:32: danger: ‘sysfs_dev’ leaks here; was allocated at [(13)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/12)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def504]
rdma-core-59.0/libibverbs/ibdev_nl.c:162:32: warning[-Wanalyzer-malloc-leak]: leak of ‘sysfs_dev’
rdma-core-59.0/libibverbs/ibdev_nl.c:148:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/ibdev_nl.c:150:14: branch_false: ...to here
rdma-core-59.0/libibverbs/ibdev_nl.c:150:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/ibdev_nl.c:151:14: branch_false: ...to here
rdma-core-59.0/libibverbs/ibdev_nl.c:150:13: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/ibdev_nl.c:152:14: branch_false: ...to here
rdma-core-59.0/libibverbs/ibdev_nl.c:150:13: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/ibdev_nl.c:153:14: branch_false: ...to here
rdma-core-59.0/libibverbs/ibdev_nl.c:150:13: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/ibdev_nl.c:154:14: branch_false: ...to here
rdma-core-59.0/libibverbs/ibdev_nl.c:150:13: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/ibdev_nl.c:157:21: branch_false: ...to here
rdma-core-59.0/libibverbs/ibdev_nl.c:157:21: acquire_memory: allocated here
rdma-core-59.0/libibverbs/ibdev_nl.c:158:12: branch_false: following ‘false’ branch (when ‘sysfs_dev’ is non-NULL)...
rdma-core-59.0/libibverbs/ibdev_nl.c:161:32: branch_false: ...to here
rdma-core-59.0/libibverbs/ibdev_nl.c:162:32: danger: ‘sysfs_dev’ leaks here; was allocated at [(13)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/12)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def505]
rdma-core-59.0/libibverbs/ibdev_nl.c:163:32: warning[-Wanalyzer-malloc-leak]: leak of ‘sysfs_dev’
rdma-core-59.0/libibverbs/ibdev_nl.c:148:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/ibdev_nl.c:150:14: branch_false: ...to here
rdma-core-59.0/libibverbs/ibdev_nl.c:150:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/ibdev_nl.c:151:14: branch_false: ...to here
rdma-core-59.0/libibverbs/ibdev_nl.c:150:13: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/ibdev_nl.c:152:14: branch_false: ...to here
rdma-core-59.0/libibverbs/ibdev_nl.c:150:13: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/ibdev_nl.c:153:14: branch_false: ...to here
rdma-core-59.0/libibverbs/ibdev_nl.c:150:13: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/ibdev_nl.c:154:14: branch_false: ...to here
rdma-core-59.0/libibverbs/ibdev_nl.c:150:13: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/ibdev_nl.c:157:21: branch_false: ...to here
rdma-core-59.0/libibverbs/ibdev_nl.c:157:21: acquire_memory: allocated here
rdma-core-59.0/libibverbs/ibdev_nl.c:158:12: branch_false: following ‘false’ branch (when ‘sysfs_dev’ is non-NULL)...
rdma-core-59.0/libibverbs/ibdev_nl.c:161:32: branch_false: ...to here
rdma-core-59.0/libibverbs/ibdev_nl.c:163:32: danger: ‘sysfs_dev’ leaks here; was allocated at [(13)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/12)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def506]
rdma-core-59.0/libibverbs/ibdev_nl.c:165:14: warning[-Wanalyzer-malloc-leak]: leak of ‘sysfs_dev’
rdma-core-59.0/libibverbs/ibdev_nl.c:148:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/ibdev_nl.c:150:14: branch_false: ...to here
rdma-core-59.0/libibverbs/ibdev_nl.c:150:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/ibdev_nl.c:151:14: branch_false: ...to here
rdma-core-59.0/libibverbs/ibdev_nl.c:150:13: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/ibdev_nl.c:152:14: branch_false: ...to here
rdma-core-59.0/libibverbs/ibdev_nl.c:150:13: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/ibdev_nl.c:153:14: branch_false: ...to here
rdma-core-59.0/libibverbs/ibdev_nl.c:150:13: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/ibdev_nl.c:154:14: branch_false: ...to here
rdma-core-59.0/libibverbs/ibdev_nl.c:150:13: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/ibdev_nl.c:157:21: branch_false: ...to here
rdma-core-59.0/libibverbs/ibdev_nl.c:157:21: acquire_memory: allocated here
rdma-core-59.0/libibverbs/ibdev_nl.c:158:12: branch_false: following ‘false’ branch (when ‘sysfs_dev’ is non-NULL)...
rdma-core-59.0/libibverbs/ibdev_nl.c:161:32: branch_false: ...to here
rdma-core-59.0/libibverbs/ibdev_nl.c:165:14: danger: ‘sysfs_dev’ leaks here; was allocated at [(13)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/12)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def507]
rdma-core-59.0/libibverbs/init.c:166:20: warning[-Wanalyzer-malloc-leak]: leak of ‘sysfs_dev’
rdma-core-59.0/libibverbs/init.c:551:5: enter_function: entry to ‘ibverbs_get_device_list’
rdma-core-59.0/libibverbs/init.c:561:12: branch_true: following ‘true’ branch...
rdma-core-59.0/libibverbs/init.c:562:23: branch_true: ...to here
rdma-core-59.0/libibverbs/init.c:562:23: call_function: calling ‘find_sysfs_devs’ from ‘ibverbs_get_device_list’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def508]
rdma-core-59.0/libibverbs/init.c:170:13: warning[-Wanalyzer-malloc-leak]: leak of ‘sysfs_dev’
rdma-core-59.0/libibverbs/init.c:551:5: enter_function: entry to ‘ibverbs_get_device_list’
rdma-core-59.0/libibverbs/init.c:561:12: branch_true: following ‘true’ branch...
rdma-core-59.0/libibverbs/init.c:562:23: branch_true: ...to here
rdma-core-59.0/libibverbs/init.c:562:23: call_function: calling ‘find_sysfs_devs’ from ‘ibverbs_get_device_list’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def509]
rdma-core-59.0/libibverbs/init.c:220:24: warning[-Wanalyzer-malloc-leak]: leak of ‘opendir(&class_path)’
rdma-core-59.0/libibverbs/init.c:551:5: enter_function: entry to ‘ibverbs_get_device_list’
rdma-core-59.0/libibverbs/init.c:561:12: branch_true: following ‘true’ branch...
rdma-core-59.0/libibverbs/init.c:562:23: branch_true: ...to here
rdma-core-59.0/libibverbs/init.c:562:23: call_function: calling ‘find_sysfs_devs’ from ‘ibverbs_get_device_list’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def510]
rdma-core-59.0/libibverbs/memory.c:559:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
rdma-core-59.0/libibverbs/memory.c:624:12: enter_function: entry to ‘ibv_madvise_range’
rdma-core-59.0/libibverbs/memory.c:647:15: branch_true: following ‘true’ branch (when ‘advice == 10’)...
rdma-core-59.0/libibverbs/memory.c:649:16: branch_true: ...to here
rdma-core-59.0/libibverbs/memory.c:649:16: call_function: calling ‘get_start_node’ from ‘ibv_madvise_range’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def511]
rdma-core-59.0/libibverbs/neigh.c:230:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sock_fd’
rdma-core-59.0/libibverbs/neigh.c:205:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/neigh.c:210:9: branch_false: ...to here
rdma-core-59.0/libibverbs/neigh.c:214:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/neigh.c:220:29: branch_false: ...to here
rdma-core-59.0/libibverbs/neigh.c:224:19: acquire_resource: socket created here
rdma-core-59.0/libibverbs/neigh.c:226:12: branch_false: following ‘false’ branch (when ‘sock_fd != -1’)...
rdma-core-59.0/libibverbs/neigh.c:228:15: branch_false: ...to here
rdma-core-59.0/libibverbs/neigh.c:229:12: branch_true: following ‘true’ branch (when ‘err != 0’)...
rdma-core-59.0/libibverbs/neigh.c:230:17: branch_true: ...to here
rdma-core-59.0/libibverbs/neigh.c:230:17: danger: ‘sock_fd’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def512]
rdma-core-59.0/libibverbs/neigh.c:281:23: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sock_fd’
rdma-core-59.0/libibverbs/neigh.c:291:24: enter_function: entry to ‘process_get_neigh_mac’
rdma-core-59.0/libibverbs/neigh.c:307:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/neigh.c:310:15: branch_false: ...to here
rdma-core-59.0/libibverbs/neigh.c:312:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/neigh.c:316:52: branch_false: ...to here
rdma-core-59.0/libibverbs/neigh.c:317:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/neigh.c:320:9: call_function: inlined call to ‘set_neigh_filter’ from ‘process_get_neigh_mac’
rdma-core-59.0/libibverbs/neigh.c:328:15: call_function: calling ‘create_socket’ from ‘process_get_neigh_mac’
rdma-core-59.0/libibverbs/neigh.c:328:15: return_function: returning to ‘process_get_neigh_mac’ from ‘create_socket’
rdma-core-59.0/libibverbs/neigh.c:330:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/neigh.c:333:15: branch_false: ...to here
rdma-core-59.0/libibverbs/neigh.c:333:15: call_function: calling ‘try_send_to’ from ‘process_get_neigh_mac’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def513]
rdma-core-59.0/libibverbs/sysfs.c:67:23: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘dup’ where non-null expected
rdma-core-59.0/libibverbs/sysfs.c:52:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/sysfs.c:59:13: branch_false: ...to here
rdma-core-59.0/libibverbs/sysfs.c:59:12: branch_true: following ‘true’ branch...
rdma-core-59.0/libibverbs/sysfs.c:60:23: branch_true: ...to here
rdma-core-59.0/libibverbs/sysfs.c:62:12: branch_true: following ‘true’ branch (when ‘env’ is non-NULL)...
rdma-core-59.0/libibverbs/sysfs.c:66:36: branch_true: ...to here
rdma-core-59.0/libibverbs/sysfs.c:66:36: acquire_memory: this call could return NULL
rdma-core-59.0/libibverbs/sysfs.c:67:23: danger: argument 1 (‘dup’) from [(7)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/6) could be NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-401): [#def514]
rdma-core-59.0/libibverbs/verbs.c:561:13: warning[-Wanalyzer-malloc-leak]: leak of ‘channel’
rdma-core-59.0/libibverbs/verbs.c:550:26: enter_function: entry to ‘ibv_create_comp_channel’
rdma-core-59.0/libibverbs/verbs.c:556:19: acquire_memory: allocated here
rdma-core-59.0/libibverbs/verbs.c:557:12: branch_false: following ‘false’ branch (when ‘channel’ is non-NULL)...
rdma-core-59.0/libibverbs/verbs.c:561:13: call_function: inlined call to ‘ioctl_ptr_to_u64’ from ‘ibv_create_comp_channel’
rdma-core-59.0/libibverbs/verbs.c:561:13: danger: ‘channel’ leaks here; was allocated at [(2)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def515]
rdma-core-59.0/librdmacm/acm.c:150:9: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
rdma-core-59.0/librdmacm/acm.c:322:6: enter_function: entry to ‘ucma_ib_resolve’
rdma-core-59.0/librdmacm/acm.c:330:12: branch_false: following ‘false’ branch...
rdma-core-59.0/librdmacm/acm.c:333:9: branch_false: ...to here
rdma-core-59.0/librdmacm/acm.c:385:12: branch_false: following ‘false’ branch...
rdma-core-59.0/librdmacm/acm.c:390:15: branch_false: ...to here
rdma-core-59.0/librdmacm/acm.c:392:12: branch_false: following ‘false’ branch...
rdma-core-59.0/librdmacm/acm.c:395:9: call_function: calling ‘ucma_ib_save_resp’ from ‘ucma_ib_resolve’
rdma-core-59.0/librdmacm/acm.c:395:9: return_function: returning to ‘ucma_ib_resolve’ from ‘ucma_ib_save_resp’
rdma-core-59.0/librdmacm/acm.c:397:12: branch_true: following ‘true’ branch...
rdma-core-59.0/librdmacm/acm.c:398:17: call_function: calling ‘ucma_resolve_af_ib’ from ‘ucma_ib_resolve’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def516]
rdma-core-59.0/librdmacm/acm.c:150:9: warning[-Wanalyzer-malloc-leak]: leak of ‘dst’
rdma-core-59.0/librdmacm/acm.c:322:6: enter_function: entry to ‘ucma_ib_resolve’
rdma-core-59.0/librdmacm/acm.c:330:12: branch_false: following ‘false’ branch...
rdma-core-59.0/librdmacm/acm.c:333:9: branch_false: ...to here
rdma-core-59.0/librdmacm/acm.c:385:12: branch_false: following ‘false’ branch...
rdma-core-59.0/librdmacm/acm.c:390:15: branch_false: ...to here
rdma-core-59.0/librdmacm/acm.c:392:12: branch_false: following ‘false’ branch...
rdma-core-59.0/librdmacm/acm.c:395:9: call_function: calling ‘ucma_ib_save_resp’ from ‘ucma_ib_resolve’
rdma-core-59.0/librdmacm/acm.c:395:9: return_function: returning to ‘ucma_ib_resolve’ from ‘ucma_ib_save_resp’
rdma-core-59.0/librdmacm/acm.c:397:12: branch_true: following ‘true’ branch...
rdma-core-59.0/librdmacm/acm.c:398:17: call_function: calling ‘ucma_resolve_af_ib’ from ‘ucma_ib_resolve’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def517]
rdma-core-59.0/librdmacm/acm.c:150:9: warning[-Wanalyzer-malloc-leak]: leak of ‘ib_rai’
rdma-core-59.0/librdmacm/acm.c:322:6: enter_function: entry to ‘ucma_ib_resolve’
rdma-core-59.0/librdmacm/acm.c:330:12: branch_false: following ‘false’ branch...
rdma-core-59.0/librdmacm/acm.c:333:9: branch_false: ...to here
rdma-core-59.0/librdmacm/acm.c:385:12: branch_false: following ‘false’ branch...
rdma-core-59.0/librdmacm/acm.c:390:15: branch_false: ...to here
rdma-core-59.0/librdmacm/acm.c:392:12: branch_false: following ‘false’ branch...
rdma-core-59.0/librdmacm/acm.c:395:9: call_function: calling ‘ucma_ib_save_resp’ from ‘ucma_ib_resolve’
rdma-core-59.0/librdmacm/acm.c:395:9: return_function: returning to ‘ucma_ib_resolve’ from ‘ucma_ib_save_resp’
rdma-core-59.0/librdmacm/acm.c:397:12: branch_true: following ‘true’ branch...
rdma-core-59.0/librdmacm/acm.c:398:17: call_function: calling ‘ucma_resolve_af_ib’ from ‘ucma_ib_resolve’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def518]
rdma-core-59.0/librdmacm/acm.c:150:9: warning[-Wanalyzer-malloc-leak]: leak of ‘src’
rdma-core-59.0/librdmacm/acm.c:322:6: enter_function: entry to ‘ucma_ib_resolve’
rdma-core-59.0/librdmacm/acm.c:330:12: branch_false: following ‘false’ branch...
rdma-core-59.0/librdmacm/acm.c:333:9: branch_false: ...to here
rdma-core-59.0/librdmacm/acm.c:385:12: branch_false: following ‘false’ branch...
rdma-core-59.0/librdmacm/acm.c:390:15: branch_false: ...to here
rdma-core-59.0/librdmacm/acm.c:392:12: branch_false: following ‘false’ branch...
rdma-core-59.0/librdmacm/acm.c:395:9: call_function: calling ‘ucma_ib_save_resp’ from ‘ucma_ib_resolve’
rdma-core-59.0/librdmacm/acm.c:395:9: return_function: returning to ‘ucma_ib_resolve’ from ‘ucma_ib_save_resp’
rdma-core-59.0/librdmacm/acm.c:397:12: branch_true: following ‘true’ branch...
rdma-core-59.0/librdmacm/acm.c:398:17: call_function: calling ‘ucma_resolve_af_ib’ from ‘ucma_ib_resolve’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def519]
rdma-core-59.0/librdmacm/acm.c:156:9: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
rdma-core-59.0/librdmacm/acm.c:322:6: enter_function: entry to ‘ucma_ib_resolve’
rdma-core-59.0/librdmacm/acm.c:330:12: branch_false: following ‘false’ branch...
rdma-core-59.0/librdmacm/acm.c:333:9: branch_false: ...to here
rdma-core-59.0/librdmacm/acm.c:385:12: branch_false: following ‘false’ branch...
rdma-core-59.0/librdmacm/acm.c:390:15: branch_false: ...to here
rdma-core-59.0/librdmacm/acm.c:392:12: branch_false: following ‘false’ branch...
rdma-core-59.0/librdmacm/acm.c:395:9: call_function: calling ‘ucma_ib_save_resp’ from ‘ucma_ib_resolve’
rdma-core-59.0/librdmacm/acm.c:395:9: return_function: returning to ‘ucma_ib_resolve’ from ‘ucma_ib_save_resp’
rdma-core-59.0/librdmacm/acm.c:397:12: branch_true: following ‘true’ branch...
rdma-core-59.0/librdmacm/acm.c:398:17: call_function: calling ‘ucma_resolve_af_ib’ from ‘ucma_ib_resolve’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def520]
rdma-core-59.0/librdmacm/acm.c:156:9: warning[-Wanalyzer-malloc-leak]: leak of ‘dst’
rdma-core-59.0/librdmacm/acm.c:322:6: enter_function: entry to ‘ucma_ib_resolve’
rdma-core-59.0/librdmacm/acm.c:330:12: branch_false: following ‘false’ branch...
rdma-core-59.0/librdmacm/acm.c:333:9: branch_false: ...to here
rdma-core-59.0/librdmacm/acm.c:385:12: branch_false: following ‘false’ branch...
rdma-core-59.0/librdmacm/acm.c:390:15: branch_false: ...to here
rdma-core-59.0/librdmacm/acm.c:392:12: branch_false: following ‘false’ branch...
rdma-core-59.0/librdmacm/acm.c:395:9: call_function: calling ‘ucma_ib_save_resp’ from ‘ucma_ib_resolve’
rdma-core-59.0/librdmacm/acm.c:395:9: return_function: returning to ‘ucma_ib_resolve’ from ‘ucma_ib_save_resp’
rdma-core-59.0/librdmacm/acm.c:397:12: branch_true: following ‘true’ branch...
rdma-core-59.0/librdmacm/acm.c:398:17: call_function: calling ‘ucma_resolve_af_ib’ from ‘ucma_ib_resolve’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def521]
rdma-core-59.0/librdmacm/acm.c:156:9: warning[-Wanalyzer-malloc-leak]: leak of ‘ib_rai’
rdma-core-59.0/librdmacm/acm.c:322:6: enter_function: entry to ‘ucma_ib_resolve’
rdma-core-59.0/librdmacm/acm.c:330:12: branch_false: following ‘false’ branch...
rdma-core-59.0/librdmacm/acm.c:333:9: branch_false: ...to here
rdma-core-59.0/librdmacm/acm.c:385:12: branch_false: following ‘false’ branch...
rdma-core-59.0/librdmacm/acm.c:390:15: branch_false: ...to here
rdma-core-59.0/librdmacm/acm.c:392:12: branch_false: following ‘false’ branch...
rdma-core-59.0/librdmacm/acm.c:395:9: call_function: calling ‘ucma_ib_save_resp’ from ‘ucma_ib_resolve’
rdma-core-59.0/librdmacm/acm.c:395:9: return_function: returning to ‘ucma_ib_resolve’ from ‘ucma_ib_save_resp’
rdma-core-59.0/librdmacm/acm.c:397:12: branch_true: following ‘true’ branch...
rdma-core-59.0/librdmacm/acm.c:398:17: call_function: calling ‘ucma_resolve_af_ib’ from ‘ucma_ib_resolve’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def522]
rdma-core-59.0/librdmacm/acm.c:241:9: warning[-Wanalyzer-malloc-leak]: leak of ‘ib_rai’
rdma-core-59.0/librdmacm/acm.c:322:6: enter_function: entry to ‘ucma_ib_resolve’
rdma-core-59.0/librdmacm/acm.c:330:12: branch_false: following ‘false’ branch...
rdma-core-59.0/librdmacm/acm.c:333:9: branch_false: ...to here
rdma-core-59.0/librdmacm/acm.c:385:12: branch_false: following ‘false’ branch...
rdma-core-59.0/librdmacm/acm.c:390:15: branch_false: ...to here
rdma-core-59.0/librdmacm/acm.c:392:12: branch_false: following ‘false’ branch...
rdma-core-59.0/librdmacm/acm.c:395:9: call_function: calling ‘ucma_ib_save_resp’ from ‘ucma_ib_resolve’
rdma-core-59.0/librdmacm/acm.c:395:9: return_function: returning to ‘ucma_ib_resolve’ from ‘ucma_ib_save_resp’
rdma-core-59.0/librdmacm/acm.c:397:12: branch_true: following ‘true’ branch...
rdma-core-59.0/librdmacm/acm.c:398:17: call_function: calling ‘ucma_resolve_af_ib’ from ‘ucma_ib_resolve’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def523]
rdma-core-59.0/librdmacm/addrinfo.c:115:23: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
rdma-core-59.0/librdmacm/addrinfo.c:237:5: enter_function: entry to ‘rdma_getaddrinfo’
rdma-core-59.0/librdmacm/addrinfo.c:248:12: branch_false: following ‘false’ branch...
rdma-core-59.0/librdmacm/addrinfo.c:251:15: branch_false: ...to here
rdma-core-59.0/librdmacm/addrinfo.c:252:12: branch_false: following ‘false’ branch...
rdma-core-59.0/librdmacm/addrinfo.c:255:12: branch_false: ...to here
rdma-core-59.0/librdmacm/addrinfo.c:258:12: branch_true: following ‘true’ branch...
rdma-core-59.0/librdmacm/addrinfo.c:259:23: branch_true: ...to here
rdma-core-59.0/librdmacm/addrinfo.c:259:23: call_function: calling ‘ucma_getaddrinfo’ from ‘rdma_getaddrinfo’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def524]
rdma-core-59.0/librdmacm/addrinfo.c:115:23: warning[-Wanalyzer-malloc-leak]: leak of ‘rai’
rdma-core-59.0/librdmacm/addrinfo.c:237:5: enter_function: entry to ‘rdma_getaddrinfo’
rdma-core-59.0/librdmacm/addrinfo.c:248:12: branch_false: following ‘false’ branch...
rdma-core-59.0/librdmacm/addrinfo.c:251:15: branch_false: ...to here
rdma-core-59.0/librdmacm/addrinfo.c:251:15: acquire_memory: allocated here
rdma-core-59.0/librdmacm/addrinfo.c:252:12: branch_false: following ‘false’ branch...
rdma-core-59.0/librdmacm/addrinfo.c:255:12: branch_false: ...to here
rdma-core-59.0/librdmacm/addrinfo.c:258:12: branch_true: following ‘true’ branch...
rdma-core-59.0/librdmacm/addrinfo.c:259:23: branch_true: ...to here
rdma-core-59.0/librdmacm/addrinfo.c:259:23: call_function: calling ‘ucma_getaddrinfo’ from ‘rdma_getaddrinfo’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def525]
rdma-core-59.0/librdmacm/addrinfo.c:225:23: warning[-Wanalyzer-malloc-leak]: leak of ‘rai’
rdma-core-59.0/librdmacm/addrinfo.c:237:5: enter_function: entry to ‘rdma_getaddrinfo’
rdma-core-59.0/librdmacm/addrinfo.c:248:12: branch_false: following ‘false’ branch...
rdma-core-59.0/librdmacm/addrinfo.c:251:15: branch_false: ...to here
rdma-core-59.0/librdmacm/addrinfo.c:251:15: acquire_memory: allocated here
rdma-core-59.0/librdmacm/addrinfo.c:252:12: branch_false: following ‘false’ branch...
rdma-core-59.0/librdmacm/addrinfo.c:255:12: branch_false: ...to here
rdma-core-59.0/librdmacm/addrinfo.c:258:12: branch_true: following ‘true’ branch...
rdma-core-59.0/librdmacm/addrinfo.c:259:23: branch_true: ...to here
rdma-core-59.0/librdmacm/addrinfo.c:259:23: call_function: calling ‘ucma_getaddrinfo’ from ‘rdma_getaddrinfo’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def526]
rdma-core-59.0/librdmacm/addrinfo.c:227:23: warning[-Wanalyzer-malloc-leak]: leak of ‘rai’
rdma-core-59.0/librdmacm/addrinfo.c:237:5: enter_function: entry to ‘rdma_getaddrinfo’
rdma-core-59.0/librdmacm/addrinfo.c:248:12: branch_false: following ‘false’ branch...
rdma-core-59.0/librdmacm/addrinfo.c:251:15: branch_false: ...to here
rdma-core-59.0/librdmacm/addrinfo.c:251:15: acquire_memory: allocated here
rdma-core-59.0/librdmacm/addrinfo.c:252:12: branch_false: following ‘false’ branch...
rdma-core-59.0/librdmacm/addrinfo.c:255:12: branch_false: ...to here
rdma-core-59.0/librdmacm/addrinfo.c:258:12: branch_true: following ‘true’ branch...
rdma-core-59.0/librdmacm/addrinfo.c:259:23: branch_true: ...to here
rdma-core-59.0/librdmacm/addrinfo.c:259:23: call_function: calling ‘ucma_getaddrinfo’ from ‘rdma_getaddrinfo’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def527]
rdma-core-59.0/librdmacm/cma.c:188:14: warning[-Wanalyzer-malloc-leak]: leak of ‘id_priv’
rdma-core-59.0/librdmacm/cma.c:2317:12: enter_function: entry to ‘ucma_process_conn_req’
rdma-core-59.0/librdmacm/cma.c:2323:19: call_function: calling ‘ucma_alloc_id’ from ‘ucma_process_conn_req’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def528]
rdma-core-59.0/librdmacm/cma.c:191:13: warning[-Wanalyzer-malloc-leak]: leak of ‘id_priv’
rdma-core-59.0/librdmacm/cma.c:2317:12: enter_function: entry to ‘ucma_process_conn_req’
rdma-core-59.0/librdmacm/cma.c:2323:19: call_function: calling ‘ucma_alloc_id’ from ‘ucma_process_conn_req’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def529]
rdma-core-59.0/librdmacm/cma.c:200:9: warning[-Wanalyzer-malloc-leak]: leak of ‘id_priv’
rdma-core-59.0/librdmacm/cma.c:2317:12: enter_function: entry to ‘ucma_process_conn_req’
rdma-core-59.0/librdmacm/cma.c:2323:19: call_function: calling ‘ucma_alloc_id’ from ‘ucma_process_conn_req’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def530]
rdma-core-59.0/librdmacm/cma.c:208:14: warning[-Wanalyzer-malloc-leak]: leak of ‘id_priv’
rdma-core-59.0/librdmacm/cma.c:2317:12: enter_function: entry to ‘ucma_process_conn_req’
rdma-core-59.0/librdmacm/cma.c:2323:19: call_function: calling ‘ucma_alloc_id’ from ‘ucma_process_conn_req’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def531]
rdma-core-59.0/librdmacm/cma.c:211:14: warning[-Wanalyzer-malloc-leak]: leak of ‘id_priv’
rdma-core-59.0/librdmacm/cma.c:2317:12: enter_function: entry to ‘ucma_process_conn_req’
rdma-core-59.0/librdmacm/cma.c:2323:19: call_function: calling ‘ucma_alloc_id’ from ‘ucma_process_conn_req’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def532]
rdma-core-59.0/librdmacm/cma.c:273:25: warning[-Wanalyzer-malloc-leak]: leak of ‘cma_dev’
rdma-core-59.0/librdmacm/cma.c:2498:5: enter_function: entry to ‘rdma_get_cm_event’
rdma-core-59.0/librdmacm/cma.c:2506:15: call_function: calling ‘ucma_init’ from ‘rdma_get_cm_event’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def533]
rdma-core-59.0/librdmacm/cma.c:274:28: warning[-Wanalyzer-malloc-leak]: leak of ‘cma_dev’
rdma-core-59.0/librdmacm/cma.c:2498:5: enter_function: entry to ‘rdma_get_cm_event’
rdma-core-59.0/librdmacm/cma.c:2506:15: call_function: calling ‘ucma_init’ from ‘rdma_get_cm_event’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def534]
rdma-core-59.0/librdmacm/cma.c:322:20: warning[-Wanalyzer-malloc-leak]: leak of ‘id_priv’
rdma-core-59.0/librdmacm/cma.c:2317:12: enter_function: entry to ‘ucma_process_conn_req’
rdma-core-59.0/librdmacm/cma.c:2323:19: call_function: calling ‘ucma_alloc_id’ from ‘ucma_process_conn_req’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def535]
rdma-core-59.0/librdmacm/cma.c:2117:22: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘resp.id’
rdma-core-59.0/librdmacm/cma.c:2068:12: branch_false: following ‘false’ branch (when ‘mc’ is non-NULL)...
rdma-core-59.0/librdmacm/cma.c:2071:9: branch_false: ...to here
rdma-core-59.0/librdmacm/cma.c:2075:12: branch_false: following ‘false’ branch...
rdma-core-59.0/librdmacm/cma.c:2080:9: branch_false: ...to here
rdma-core-59.0/librdmacm/cma.c:2096:20: branch_false: following ‘false’ branch (when ‘ret == 160’)...
branch_false: ...to here
rdma-core-59.0/librdmacm/cma.c:2117:22: danger: use of uninitialized value ‘resp.id’ here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def536]
rdma-core-59.0/librdmacm/examples/common.c:242:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘listen_sock’
rdma-core-59.0/librdmacm/examples/common.c:224:12: branch_false: following ‘false’ branch...
rdma-core-59.0/librdmacm/examples/common.c:229:47: branch_false: ...to here
rdma-core-59.0/librdmacm/examples/common.c:229:23: acquire_resource: socket created here
rdma-core-59.0/librdmacm/examples/common.c:230:12: branch_false: following ‘false’ branch (when ‘listen_sock != -1’)...
rdma-core-59.0/librdmacm/examples/common.c:235:9: branch_false: ...to here
rdma-core-59.0/librdmacm/examples/common.c:236:15: acquire_resource: socket created here
rdma-core-59.0/librdmacm/examples/common.c:237:12: branch_true: following ‘true’ branch (when ‘ret != 0’)...
rdma-core-59.0/librdmacm/examples/common.c:238:23: branch_true: ...to here
rdma-core-59.0/librdmacm/examples/common.c:242:17: danger: ‘listen_sock’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def537]
rdma-core-59.0/librdmacm/examples/common.c:269:21: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘accept(listen_sock, 0, 0)’
rdma-core-59.0/librdmacm/examples/common.c:252:5: enter_function: entry to ‘oob_root_setup’
rdma-core-59.0/librdmacm/examples/common.c:257:15: call_function: calling ‘oob_init_root’ from ‘oob_root_setup’
rdma-core-59.0/librdmacm/examples/common.c:257:15: return_function: returning to ‘oob_root_setup’ from ‘oob_init_root’
rdma-core-59.0/librdmacm/examples/common.c:258:12: branch_false: following ‘false’ branch...
rdma-core-59.0/librdmacm/examples/common.c:261:15: branch_false: ...to here
rdma-core-59.0/librdmacm/examples/common.c:262:12: branch_false: following ‘false’ branch (when ‘ret == 0’)...
branch_false: ...to here
rdma-core-59.0/librdmacm/examples/common.c:267:21: branch_true: following ‘true’ branch (when ‘i < cnt’)...
rdma-core-59.0/librdmacm/examples/common.c:268:17: branch_true: ...to here
rdma-core-59.0/librdmacm/examples/common.c:269:20: branch_false: following ‘false’ branch...
rdma-core-59.0/librdmacm/examples/common.c:273:17: branch_false: ...to here
rdma-core-59.0/librdmacm/examples/common.c:267:21: branch_true: following ‘true’ branch (when ‘i < cnt’)...
rdma-core-59.0/librdmacm/examples/common.c:268:17: branch_true: ...to here
rdma-core-59.0/librdmacm/examples/common.c:269:21: danger: ‘accept(listen_sock, 0, 0)’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def538]
rdma-core-59.0/librdmacm/examples/common.c:305:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘*sock’
rdma-core-59.0/librdmacm/examples/common.c:293:12: branch_false: following ‘false’ branch...
rdma-core-59.0/librdmacm/examples/common.c:298:41: branch_false: ...to here
rdma-core-59.0/librdmacm/examples/common.c:299:12: branch_false: following ‘false’ branch...
rdma-core-59.0/librdmacm/examples/common.c:303:9: branch_false: ...to here
rdma-core-59.0/librdmacm/examples/common.c:305:15: acquire_resource: socket created here
rdma-core-59.0/librdmacm/examples/common.c:305:15: danger: ‘*sock’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def539]
rdma-core-59.0/librdmacm/examples/rcopy.c:128:23: warning[-Wanalyzer-malloc-leak]: leak of ‘msg’
rdma-core-59.0/librdmacm/examples/rcopy.c:422:12: enter_function: entry to ‘client_open’
rdma-core-59.0/librdmacm/examples/rcopy.c:432:12: branch_false: following ‘false’ branch...
rdma-core-59.0/librdmacm/examples/rcopy.c:435:15: branch_false: ...to here
rdma-core-59.0/librdmacm/examples/rcopy.c:436:12: branch_false: following ‘false’ branch (when ‘ret >= 0’)...
rdma-core-59.0/librdmacm/examples/rcopy.c:439:28: branch_false: ...to here
rdma-core-59.0/librdmacm/examples/rcopy.c:441:12: branch_false: following ‘false’ branch...
rdma-core-59.0/librdmacm/examples/rcopy.c:446:28: branch_false: ...to here
rdma-core-59.0/librdmacm/examples/rcopy.c:447:15: acquire_memory: allocated here
rdma-core-59.0/librdmacm/examples/rcopy.c:448:12: branch_false: following ‘false’ branch (when ‘msg’ is non-NULL)...
rdma-core-59.0/librdmacm/examples/rcopy.c:453:9: branch_false: ...to here
rdma-core-59.0/librdmacm/examples/rcopy.c:458:12: branch_false: following ‘false’ branch...
rdma-core-59.0/librdmacm/examples/rcopy.c:461:15: branch_false: ...to here
rdma-core-59.0/librdmacm/examples/rcopy.c:461:15: call_function: calling ‘msg_get_resp’ from ‘client_open’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def540]
rdma-core-59.0/librdmacm/examples/rcopy.c:128:23: warning[-Wanalyzer-malloc-leak]: leak of ‘path’
rdma-core-59.0/librdmacm/examples/rcopy.c:339:13: enter_function: entry to ‘server_process’
rdma-core-59.0/librdmacm/examples/rcopy.c:345:23: call_function: calling ‘msg_recv_hdr’ from ‘server_process’
rdma-core-59.0/librdmacm/examples/rcopy.c:345:23: return_function: returning to ‘server_process’ from ‘msg_recv_hdr’
rdma-core-59.0/librdmacm/examples/rcopy.c:346:20: branch_false: following ‘false’ branch...
rdma-core-59.0/librdmacm/examples/rcopy.c:349:25: branch_false: ...to here
rdma-core-59.0/librdmacm/examples/rcopy.c:351:31: call_function: calling ‘server_open’ from ‘server_process’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def541]
rdma-core-59.0/librdmacm/examples/rcopy.c:202:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘rs_socket(*res.ai_family, *res.ai_socktype, *res.ai_protocol)’
rdma-core-59.0/librdmacm/examples/rcopy.c:369:12: enter_function: entry to ‘server_run’
rdma-core-59.0/librdmacm/examples/rcopy.c:375:15: call_function: calling ‘server_listen’ from ‘server_run’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def542]
rdma-core-59.0/librdmacm/examples/rcopy.c:258:9: warning[-Wanalyzer-malloc-leak]: leak of ‘path’
rdma-core-59.0/librdmacm/examples/rcopy.c:339:13: enter_function: entry to ‘server_process’
rdma-core-59.0/librdmacm/examples/rcopy.c:345:23: call_function: calling ‘msg_recv_hdr’ from ‘server_process’
rdma-core-59.0/librdmacm/examples/rcopy.c:345:23: return_function: returning to ‘server_process’ from ‘msg_recv_hdr’
rdma-core-59.0/librdmacm/examples/rcopy.c:346:20: branch_false: following ‘false’ branch...
rdma-core-59.0/librdmacm/examples/rcopy.c:349:25: branch_false: ...to here
rdma-core-59.0/librdmacm/examples/rcopy.c:351:31: call_function: calling ‘server_open’ from ‘server_process’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def543]
rdma-core-59.0/librdmacm/examples/rcopy.c:259:14: warning[-Wanalyzer-malloc-leak]: leak of ‘path’
rdma-core-59.0/librdmacm/examples/rcopy.c:339:13: enter_function: entry to ‘server_process’
rdma-core-59.0/librdmacm/examples/rcopy.c:345:23: call_function: calling ‘msg_recv_hdr’ from ‘server_process’
rdma-core-59.0/librdmacm/examples/rcopy.c:345:23: return_function: returning to ‘server_process’ from ‘msg_recv_hdr’
rdma-core-59.0/librdmacm/examples/rcopy.c:346:20: branch_false: following ‘false’ branch...
rdma-core-59.0/librdmacm/examples/rcopy.c:349:25: branch_false: ...to here
rdma-core-59.0/librdmacm/examples/rcopy.c:351:31: call_function: calling ‘server_open’ from ‘server_process’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def544]
rdma-core-59.0/librdmacm/examples/rcopy.c:410:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘rs_socket(*res.ai_family, *res.ai_socktype, *res.ai_protocol)’
rdma-core-59.0/librdmacm/examples/rcopy.c:394:12: enter_function: entry to ‘client_connect’
rdma-core-59.0/librdmacm/examples/rcopy.c:400:12: branch_false: following ‘false’ branch...
rdma-core-59.0/librdmacm/examples/rcopy.c:405:61: branch_false: ...to here
rdma-core-59.0/librdmacm/examples/rcopy.c:405:14: call_function: calling ‘rs_socket’ from ‘client_connect’
rdma-core-59.0/librdmacm/examples/rcopy.c:405:14: return_function: returning to ‘client_connect’ from ‘rs_socket’
rdma-core-59.0/librdmacm/examples/rcopy.c:406:12: branch_false: following ‘false’ branch...
rdma-core-59.0/librdmacm/examples/rcopy.c:410:45: branch_false: ...to here
rdma-core-59.0/librdmacm/examples/rcopy.c:410:15: danger: ‘rs_socket(*res.ai_family, *res.ai_socktype, *res.ai_protocol)’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def545]
rdma-core-59.0/librdmacm/examples/rcopy.c:457:15: warning[-Wanalyzer-malloc-leak]: leak of ‘msg’
rdma-core-59.0/librdmacm/examples/rcopy.c:432:12: branch_false: following ‘false’ branch...
rdma-core-59.0/librdmacm/examples/rcopy.c:435:15: branch_false: ...to here
rdma-core-59.0/librdmacm/examples/rcopy.c:436:12: branch_false: following ‘false’ branch (when ‘ret >= 0’)...
rdma-core-59.0/librdmacm/examples/rcopy.c:439:28: branch_false: ...to here
rdma-core-59.0/librdmacm/examples/rcopy.c:441:12: branch_false: following ‘false’ branch...
rdma-core-59.0/librdmacm/examples/rcopy.c:446:28: branch_false: ...to here
rdma-core-59.0/librdmacm/examples/rcopy.c:447:15: acquire_memory: allocated here
rdma-core-59.0/librdmacm/examples/rcopy.c:448:12: branch_false: following ‘false’ branch (when ‘msg’ is non-NULL)...
rdma-core-59.0/librdmacm/examples/rcopy.c:453:9: branch_false: ...to here
rdma-core-59.0/librdmacm/examples/rcopy.c:457:15: danger: ‘msg’ leaks here; was allocated at [(7)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-457): [#def546]
rdma-core-59.0/librdmacm/examples/riostream.c:371:33: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ai’
rdma-core-59.0/librdmacm/examples/riostream.c:498:12: enter_function: entry to ‘run’
rdma-core-59.0/librdmacm/examples/riostream.c:503:12: branch_false: following ‘false’ branch...
rdma-core-59.0/librdmacm/examples/riostream.c:508:13: branch_false: ...to here
rdma-core-59.0/librdmacm/examples/riostream.c:508:12: branch_true: following ‘true’ branch...
rdma-core-59.0/librdmacm/examples/riostream.c:509:23: branch_true: ...to here
rdma-core-59.0/librdmacm/examples/riostream.c:509:23: call_function: calling ‘server_listen’ from ‘run’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def547]
rdma-core-59.0/librdmacm/examples/riostream.c:385:47: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ai’
rdma-core-59.0/librdmacm/examples/riostream.c:498:12: enter_function: entry to ‘run’
rdma-core-59.0/librdmacm/examples/riostream.c:503:12: branch_false: following ‘false’ branch...
rdma-core-59.0/librdmacm/examples/riostream.c:508:13: branch_false: ...to here
rdma-core-59.0/librdmacm/examples/riostream.c:508:12: branch_true: following ‘true’ branch...
rdma-core-59.0/librdmacm/examples/riostream.c:509:23: branch_true: ...to here
rdma-core-59.0/librdmacm/examples/riostream.c:509:23: call_function: calling ‘server_listen’ from ‘run’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def548]
rdma-core-59.0/librdmacm/examples/riostream.c:402:17: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ai’
rdma-core-59.0/librdmacm/examples/riostream.c:498:12: enter_function: entry to ‘run’
rdma-core-59.0/librdmacm/examples/riostream.c:503:12: branch_false: following ‘false’ branch...
rdma-core-59.0/librdmacm/examples/riostream.c:508:13: branch_false: ...to here
rdma-core-59.0/librdmacm/examples/riostream.c:508:12: branch_true: following ‘true’ branch...
rdma-core-59.0/librdmacm/examples/riostream.c:509:23: branch_true: ...to here
rdma-core-59.0/librdmacm/examples/riostream.c:509:23: call_function: calling ‘server_listen’ from ‘run’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def549]
rdma-core-59.0/librdmacm/examples/riostream.c:451:32: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ai’
rdma-core-59.0/librdmacm/examples/riostream.c:443:15: branch_true: following ‘true’ branch...
rdma-core-59.0/librdmacm/examples/riostream.c:443:26: branch_true: ...to here
rdma-core-59.0/librdmacm/examples/riostream.c:445:12: branch_false: following ‘false’ branch (when ‘ret == 0’)...
rdma-core-59.0/librdmacm/examples/riostream.c:450:18: branch_false: ...to here
rdma-core-59.0/librdmacm/examples/riostream.c:450:14: branch_false: following ‘false’ branch...
rdma-core-59.0/librdmacm/examples/riostream.c:451:32: branch_false: ...to here
rdma-core-59.0/librdmacm/examples/riostream.c:451:32: danger: use of uninitialized value ‘ai’ here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def550]
rdma-core-59.0/librdmacm/examples/riostream.c:494:17: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ai’
rdma-core-59.0/librdmacm/examples/riostream.c:498:12: enter_function: entry to ‘run’
rdma-core-59.0/librdmacm/examples/riostream.c:503:12: branch_false: following ‘false’ branch...
rdma-core-59.0/librdmacm/examples/riostream.c:508:13: branch_false: ...to here
rdma-core-59.0/librdmacm/examples/riostream.c:508:12: branch_false: following ‘false’ branch...
rdma-core-59.0/librdmacm/examples/riostream.c:514:9: branch_false: ...to here
rdma-core-59.0/librdmacm/examples/riostream.c:516:12: branch_true: following ‘true’ branch...
rdma-core-59.0/librdmacm/examples/riostream.c:517:17: branch_true: ...to here
rdma-core-59.0/librdmacm/examples/riostream.c:518:23: branch_true: following ‘true’ branch...
rdma-core-59.0/librdmacm/examples/riostream.c:518:34: branch_true: ...to here
rdma-core-59.0/librdmacm/examples/riostream.c:518:34: call_function: calling ‘client_connect’ from ‘run’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def551]
rdma-core-59.0/librdmacm/examples/rstream.c:335:33: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ai’
rdma-core-59.0/librdmacm/examples/rstream.c:499:12: enter_function: entry to ‘run’
rdma-core-59.0/librdmacm/examples/rstream.c:504:12: branch_false: following ‘false’ branch...
rdma-core-59.0/librdmacm/examples/rstream.c:509:13: branch_false: ...to here
rdma-core-59.0/librdmacm/examples/rstream.c:509:12: branch_true: following ‘true’ branch...
rdma-core-59.0/librdmacm/examples/rstream.c:510:23: branch_true: ...to here
rdma-core-59.0/librdmacm/examples/rstream.c:510:23: call_function: calling ‘server_listen’ from ‘run’
Error: GCC_ANALYZER_WARNING (CWE-404): [#def552]
rdma-core-59.0/librdmacm/rsocket.c:699:31: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
rdma-core-59.0/librdmacm/rsocket.c:3976:5: enter_function: entry to ‘rfcntl’
rdma-core-59.0/librdmacm/rsocket.c:3983:14: call_function: calling ‘idm_lookup’ from ‘rfcntl’
rdma-core-59.0/librdmacm/rsocket.c:3983:14: return_function: returning to ‘rfcntl’ from ‘idm_lookup’
rdma-core-59.0/librdmacm/rsocket.c:3984:12: branch_false: following ‘false’ branch...
rdma-core-59.0/librdmacm/rsocket.c:3986:9: branch_false: ...to here
rdma-core-59.0/librdmacm/rsocket.c:3986:9: acquire_resource: ‘va_start’ called here
rdma-core-59.0/librdmacm/rsocket.c:3993:20: branch_true: following ‘true’ branch...
rdma-core-59.0/librdmacm/rsocket.c:3994:31: branch_true: ...to here
rdma-core-59.0/librdmacm/rsocket.c:3994:31: call_function: calling ‘rs_set_nonblocking’ from ‘rfcntl’
Error: GCC_ANALYZER_WARNING (CWE-404): [#def553]
rdma-core-59.0/librdmacm/rsocket.c:702:31: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
rdma-core-59.0/librdmacm/rsocket.c:3976:5: enter_function: entry to ‘rfcntl’
rdma-core-59.0/librdmacm/rsocket.c:3983:14: call_function: calling ‘idm_lookup’ from ‘rfcntl’
rdma-core-59.0/librdmacm/rsocket.c:3983:14: return_function: returning to ‘rfcntl’ from ‘idm_lookup’
rdma-core-59.0/librdmacm/rsocket.c:3984:12: branch_false: following ‘false’ branch...
rdma-core-59.0/librdmacm/rsocket.c:3986:9: branch_false: ...to here
rdma-core-59.0/librdmacm/rsocket.c:3986:9: acquire_resource: ‘va_start’ called here
rdma-core-59.0/librdmacm/rsocket.c:3993:20: branch_true: following ‘true’ branch...
rdma-core-59.0/librdmacm/rsocket.c:3994:31: branch_true: ...to here
rdma-core-59.0/librdmacm/rsocket.c:3994:31: call_function: calling ‘rs_set_nonblocking’ from ‘rfcntl’
Error: GCC_ANALYZER_WARNING (CWE-404): [#def554]
rdma-core-59.0/librdmacm/rsocket.c:704:31: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
rdma-core-59.0/librdmacm/rsocket.c:3976:5: enter_function: entry to ‘rfcntl’
rdma-core-59.0/librdmacm/rsocket.c:3983:14: call_function: calling ‘idm_lookup’ from ‘rfcntl’
rdma-core-59.0/librdmacm/rsocket.c:3983:14: return_function: returning to ‘rfcntl’ from ‘idm_lookup’
rdma-core-59.0/librdmacm/rsocket.c:3984:12: branch_false: following ‘false’ branch...
rdma-core-59.0/librdmacm/rsocket.c:3986:9: branch_false: ...to here
rdma-core-59.0/librdmacm/rsocket.c:3986:9: acquire_resource: ‘va_start’ called here
rdma-core-59.0/librdmacm/rsocket.c:3993:20: branch_true: following ‘true’ branch...
rdma-core-59.0/librdmacm/rsocket.c:3994:31: branch_true: ...to here
rdma-core-59.0/librdmacm/rsocket.c:3994:31: call_function: calling ‘rs_set_nonblocking’ from ‘rfcntl’
Error: GCC_ANALYZER_WARNING (CWE-404): [#def555]
rdma-core-59.0/librdmacm/rsocket.c:706:23: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
rdma-core-59.0/librdmacm/rsocket.c:3976:5: enter_function: entry to ‘rfcntl’
rdma-core-59.0/librdmacm/rsocket.c:3983:14: call_function: calling ‘idm_lookup’ from ‘rfcntl’
rdma-core-59.0/librdmacm/rsocket.c:3983:14: return_function: returning to ‘rfcntl’ from ‘idm_lookup’
rdma-core-59.0/librdmacm/rsocket.c:3984:12: branch_false: following ‘false’ branch...
rdma-core-59.0/librdmacm/rsocket.c:3986:9: branch_false: ...to here
rdma-core-59.0/librdmacm/rsocket.c:3986:9: acquire_resource: ‘va_start’ called here
rdma-core-59.0/librdmacm/rsocket.c:3993:20: branch_true: following ‘true’ branch...
rdma-core-59.0/librdmacm/rsocket.c:3994:31: branch_true: ...to here
rdma-core-59.0/librdmacm/rsocket.c:3994:31: call_function: calling ‘rs_set_nonblocking’ from ‘rfcntl’
Error: GCC_ANALYZER_WARNING (CWE-404): [#def556]
rdma-core-59.0/librdmacm/rsocket.c:710:39: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
rdma-core-59.0/librdmacm/rsocket.c:3976:5: enter_function: entry to ‘rfcntl’
rdma-core-59.0/librdmacm/rsocket.c:3983:14: call_function: calling ‘idm_lookup’ from ‘rfcntl’
rdma-core-59.0/librdmacm/rsocket.c:3983:14: return_function: returning to ‘rfcntl’ from ‘idm_lookup’
rdma-core-59.0/librdmacm/rsocket.c:3984:12: branch_false: following ‘false’ branch...
rdma-core-59.0/librdmacm/rsocket.c:3986:9: branch_false: ...to here
rdma-core-59.0/librdmacm/rsocket.c:3986:9: acquire_resource: ‘va_start’ called here
rdma-core-59.0/librdmacm/rsocket.c:3993:20: branch_true: following ‘true’ branch...
rdma-core-59.0/librdmacm/rsocket.c:3994:31: branch_true: ...to here
rdma-core-59.0/librdmacm/rsocket.c:3994:31: call_function: calling ‘rs_set_nonblocking’ from ‘rfcntl’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def557]
rdma-core-59.0/librdmacm/rsocket.c:1533:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sock’
rdma-core-59.0/librdmacm/rsocket.c:4427:13: enter_function: entry to ‘udp_svc_process_rs’
rdma-core-59.0/librdmacm/rsocket.c:4438:12: branch_false: following ‘false’ branch (when ‘ret > 15’)...
rdma-core-59.0/librdmacm/rsocket.c:4442:14: branch_false: ...to here
rdma-core-59.0/librdmacm/rsocket.c:4442:12: branch_false: following ‘false’ branch...
rdma-core-59.0/librdmacm/rsocket.c:4445:21: branch_false: ...to here
rdma-core-59.0/librdmacm/rsocket.c:4451:15: call_function: calling ‘ds_get_dest’ from ‘udp_svc_process_rs’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def558]
rdma-core-59.0/librdmacm/rsocket.c:1600:15: warning[-Wanalyzer-malloc-leak]: leak of ‘qp’
rdma-core-59.0/librdmacm/rsocket.c:4427:13: enter_function: entry to ‘udp_svc_process_rs’
rdma-core-59.0/librdmacm/rsocket.c:4438:12: branch_false: following ‘false’ branch (when ‘ret > 15’)...
rdma-core-59.0/librdmacm/rsocket.c:4442:14: branch_false: ...to here
rdma-core-59.0/librdmacm/rsocket.c:4442:12: branch_false: following ‘false’ branch...
rdma-core-59.0/librdmacm/rsocket.c:4445:21: branch_false: ...to here
rdma-core-59.0/librdmacm/rsocket.c:4451:15: call_function: calling ‘ds_get_dest’ from ‘udp_svc_process_rs’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def559]
rdma-core-59.0/librdmacm/rsocket.c:4051:17: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘iomr’
rdma-core-59.0/librdmacm/rsocket.c:4040:12: branch_false: following ‘false’ branch...
rdma-core-59.0/librdmacm/rsocket.c:4042:14: branch_false: ...to here
rdma-core-59.0/librdmacm/rsocket.c:4042:12: branch_false: following ‘false’ branch...
rdma-core-59.0/librdmacm/rsocket.c:4046:12: branch_false: following ‘false’ branch...
rdma-core-59.0/librdmacm/rsocket.c:4050:24: branch_false: ...to here
rdma-core-59.0/librdmacm/rsocket.c:4050:24: acquire_memory: this call could return NULL
rdma-core-59.0/librdmacm/rsocket.c:4051:17: danger: ‘iomr’ could be NULL: unchecked value from [(7)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-131): [#def560]
rdma-core-59.0/librdmacm/rsocket.c:4232:9: warning[-Wanalyzer-allocation-size]: allocated buffer size is not a multiple of the pointee's size
rdma-core-59.0/librdmacm/rsocket.c:4220:12: branch_false: following ‘false’ branch (when ‘set’ is non-NULL)...
rdma-core-59.0/librdmacm/rsocket.c:4223:9: branch_false: ...to here
rdma-core-59.0/librdmacm/rsocket.c:4226:12: branch_false: following ‘false’ branch...
rdma-core-59.0/librdmacm/rsocket.c:4231:14: branch_false: ...to here
rdma-core-59.0/librdmacm/rsocket.c:4232:9: danger: assigned to ‘struct rsocket **’ here; ‘sizeof (struct rsocket *)’ is ‘8’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def561]
rdma-core-59.0/librdmacm/rsocket.c:4417:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘&hdr’
rdma-core-59.0/librdmacm/rsocket.c:4407:12: branch_false: following ‘false’ branch...
rdma-core-59.0/librdmacm/rsocket.c:4412:9: branch_false: ...to here
rdma-core-59.0/librdmacm/rsocket.c:4417:9: danger: use of uninitialized value ‘&hdr’ here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def562]
rdma-core-59.0/providers/bnxt_re/main.c:311:16: warning[-Wanalyzer-malloc-leak]: leak of ‘rdev’
rdma-core-59.0/providers/bnxt_re/main.c:307:16: acquire_memory: allocated here
rdma-core-59.0/providers/bnxt_re/main.c:308:12: branch_false: following ‘false’ branch (when ‘rdev’ is non-NULL)...
rdma-core-59.0/providers/bnxt_re/main.c:311:16: branch_false: ...to here
rdma-core-59.0/providers/bnxt_re/main.c:311:16: danger: ‘rdev’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def563]
rdma-core-59.0/providers/bnxt_re/memory.c:72:13: warning[-Wanalyzer-malloc-leak]: leak of ‘mem’
rdma-core-59.0/providers/bnxt_re/memory.c:61:15: acquire_memory: allocated here
rdma-core-59.0/providers/bnxt_re/memory.c:62:12: branch_false: following ‘false’ branch (when ‘mem’ is non-NULL)...
rdma-core-59.0/providers/bnxt_re/memory.c:65:16: branch_false: ...to here
rdma-core-59.0/providers/bnxt_re/memory.c:69:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/bnxt_re/memory.c:72:13: branch_false: ...to here
rdma-core-59.0/providers/bnxt_re/memory.c:72:13: danger: ‘mem’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def564]
rdma-core-59.0/providers/bnxt_re/verbs.c:2930:18: warning[-Wanalyzer-malloc-leak]: leak of ‘ah’
rdma-core-59.0/providers/bnxt_re/verbs.c:2924:14: acquire_memory: allocated here
rdma-core-59.0/providers/bnxt_re/verbs.c:2925:12: branch_false: following ‘false’ branch (when ‘ah’ is non-NULL)...
rdma-core-59.0/providers/bnxt_re/verbs.c:2928:9: branch_false: ...to here
rdma-core-59.0/providers/bnxt_re/verbs.c:2930:18: danger: ‘ah’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-457): [#def565]
rdma-core-59.0/providers/cxgb4/cq.c:59:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘&cqe’
rdma-core-59.0/providers/cxgb4/cq.c:929:6: enter_function: entry to ‘c4iw_flush_srqidx’
rdma-core-59.0/providers/cxgb4/cq.c:934:9: call_function: calling ‘insert_recv_cqe’ from ‘c4iw_flush_srqidx’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def566]
rdma-core-59.0/providers/cxgb4/qp.c:604:17: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘len16’
rdma-core-59.0/providers/cxgb4/qp.c:474:5: enter_function: entry to ‘c4iw_post_send’
rdma-core-59.0/providers/cxgb4/qp.c:495:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/cxgb4/qp.c:510:13: branch_false: ...to here
rdma-core-59.0/providers/cxgb4/qp.c:524:16: branch_false: following ‘false’ branch (when ‘wr’ is NULL)...
rdma-core-59.0/providers/cxgb4/qp.c:603:13: call_function: inlined call to ‘t4_wq_db_enabled’ from ‘c4iw_post_send’
rdma-core-59.0/providers/cxgb4/qp.c:604:17: danger: use of uninitialized value ‘len16’ here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def567]
rdma-core-59.0/providers/cxgb4/verbs.c:95:13: warning[-Wanalyzer-malloc-leak]: leak of ‘pd’
rdma-core-59.0/providers/cxgb4/verbs.c:91:14: acquire_memory: allocated here
rdma-core-59.0/providers/cxgb4/verbs.c:92:12: branch_false: following ‘false’ branch (when ‘pd’ is non-NULL)...
rdma-core-59.0/providers/cxgb4/verbs.c:95:13: branch_false: ...to here
rdma-core-59.0/providers/cxgb4/verbs.c:95:13: danger: ‘pd’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def568]
rdma-core-59.0/providers/cxgb4/verbs.c:131:13: warning[-Wanalyzer-malloc-leak]: leak of ‘mhp’
rdma-core-59.0/providers/cxgb4/verbs.c:127:15: acquire_memory: allocated here
rdma-core-59.0/providers/cxgb4/verbs.c:128:12: branch_false: following ‘false’ branch (when ‘mhp’ is non-NULL)...
rdma-core-59.0/providers/cxgb4/verbs.c:131:13: branch_false: ...to here
rdma-core-59.0/providers/cxgb4/verbs.c:131:13: danger: ‘mhp’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def569]
rdma-core-59.0/providers/cxgb4/verbs.c:191:15: warning[-Wanalyzer-malloc-leak]: leak of ‘chp’
rdma-core-59.0/providers/cxgb4/verbs.c:178:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/cxgb4/verbs.c:183:15: branch_false: ...to here
rdma-core-59.0/providers/cxgb4/verbs.c:183:15: acquire_memory: allocated here
rdma-core-59.0/providers/cxgb4/verbs.c:184:12: branch_false: following ‘false’ branch (when ‘chp’ is non-NULL)...
rdma-core-59.0/providers/cxgb4/verbs.c:188:9: branch_false: ...to here
rdma-core-59.0/providers/cxgb4/verbs.c:191:15: danger: ‘chp’ leaks here; was allocated at [(3)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def570]
rdma-core-59.0/providers/cxgb4/verbs.c:293:15: warning[-Wanalyzer-malloc-leak]: leak of ‘srq’
rdma-core-59.0/providers/cxgb4/verbs.c:288:15: acquire_memory: allocated here
rdma-core-59.0/providers/cxgb4/verbs.c:289:12: branch_false: following ‘false’ branch (when ‘srq’ is non-NULL)...
rdma-core-59.0/providers/cxgb4/verbs.c:292:9: branch_false: ...to here
rdma-core-59.0/providers/cxgb4/verbs.c:293:15: danger: ‘srq’ leaks here; was allocated at [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def571]
rdma-core-59.0/providers/cxgb4/verbs.c:433:15: warning[-Wanalyzer-malloc-leak]: leak of ‘qhp’
rdma-core-59.0/providers/cxgb4/verbs.c:428:15: acquire_memory: allocated here
rdma-core-59.0/providers/cxgb4/verbs.c:429:12: branch_false: following ‘false’ branch (when ‘qhp’ is non-NULL)...
rdma-core-59.0/providers/cxgb4/verbs.c:432:9: branch_false: ...to here
rdma-core-59.0/providers/cxgb4/verbs.c:433:15: danger: ‘qhp’ leaks here; was allocated at [(1)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def572]
rdma-core-59.0/providers/cxgb4/verbs.c:538:15: warning[-Wanalyzer-malloc-leak]: leak of ‘qhp’
rdma-core-59.0/providers/cxgb4/verbs.c:533:15: acquire_memory: allocated here
rdma-core-59.0/providers/cxgb4/verbs.c:534:12: branch_false: following ‘false’ branch (when ‘qhp’ is non-NULL)...
rdma-core-59.0/providers/cxgb4/verbs.c:537:9: branch_false: ...to here
rdma-core-59.0/providers/cxgb4/verbs.c:538:15: danger: ‘qhp’ leaks here; was allocated at [(1)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def573]
rdma-core-59.0/providers/efa/efa.c:131:16: warning[-Wanalyzer-malloc-leak]: leak of ‘dev’
rdma-core-59.0/providers/efa/efa.c:125:15: acquire_memory: allocated here
rdma-core-59.0/providers/efa/efa.c:126:12: branch_false: following ‘false’ branch (when ‘dev’ is non-NULL)...
rdma-core-59.0/providers/efa/efa.c:129:22: branch_false: ...to here
rdma-core-59.0/providers/efa/efa.c:131:16: danger: ‘dev’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def574]
rdma-core-59.0/providers/efa/verbs.c:210:15: warning[-Wanalyzer-malloc-leak]: leak of ‘pd’
rdma-core-59.0/providers/efa/verbs.c:206:14: acquire_memory: allocated here
rdma-core-59.0/providers/efa/verbs.c:207:12: branch_false: following ‘false’ branch (when ‘pd’ is non-NULL)...
rdma-core-59.0/providers/efa/verbs.c:210:15: branch_false: ...to here
rdma-core-59.0/providers/efa/verbs.c:210:15: danger: ‘pd’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def575]
rdma-core-59.0/providers/efa/verbs.c:275:16: warning[-Wanalyzer-malloc-leak]: leak of ‘parent_domain’
rdma-core-59.0/providers/efa/verbs.c:228:16: enter_function: entry to ‘efa_alloc_parent_domain’
rdma-core-59.0/providers/efa/verbs.c:234:13: call_function: inlined call to ‘ibv_check_alloc_parent_domain’ from ‘efa_alloc_parent_domain’
rdma-core-59.0/providers/efa/verbs.c:239:30: branch_false: ...to here
rdma-core-59.0/providers/efa/verbs.c:239:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/efa/verbs.c:249:13: branch_false: ...to here
rdma-core-59.0/providers/efa/verbs.c:249:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/efa/verbs.c:254:25: branch_false: ...to here
rdma-core-59.0/providers/efa/verbs.c:254:25: acquire_memory: allocated here
rdma-core-59.0/providers/efa/verbs.c:255:12: branch_false: following ‘false’ branch (when ‘parent_domain’ is non-NULL)...
rdma-core-59.0/providers/efa/verbs.c:260:9: branch_false: ...to here
rdma-core-59.0/providers/efa/verbs.c:262:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/efa/verbs.c:267:9: branch_false: ...to here
rdma-core-59.0/providers/efa/verbs.c:272:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/efa/verbs.c:275:16: branch_false: ...to here
rdma-core-59.0/providers/efa/verbs.c:275:16: danger: ‘parent_domain’ leaks here; was allocated at [(9)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def576]
rdma-core-59.0/providers/efa/verbs.c:327:15: warning[-Wanalyzer-malloc-leak]: leak of ‘mr’
rdma-core-59.0/providers/efa/verbs.c:323:14: acquire_memory: allocated here
rdma-core-59.0/providers/efa/verbs.c:324:12: branch_false: following ‘false’ branch (when ‘mr’ is non-NULL)...
rdma-core-59.0/providers/efa/verbs.c:327:15: branch_false: ...to here
rdma-core-59.0/providers/efa/verbs.c:327:15: danger: ‘mr’ leaks here; was allocated at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def577]
rdma-core-59.0/providers/efa/verbs.c:350:15: warning[-Wanalyzer-malloc-leak]: leak of ‘mr’
rdma-core-59.0/providers/efa/verbs.c:346:14: acquire_memory: allocated here
rdma-core-59.0/providers/efa/verbs.c:347:12: branch_false: following ‘false’ branch (when ‘mr’ is non-NULL)...
rdma-core-59.0/providers/efa/verbs.c:350:15: branch_false: ...to here
rdma-core-59.0/providers/efa/verbs.c:350:15: danger: ‘mr’ leaks here; was allocated at [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def578]
rdma-core-59.0/providers/efa/verbs.c:1048:15: warning[-Wanalyzer-malloc-leak]: leak of ‘cq’
rdma-core-59.0/providers/efa/verbs.c:1000:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/efa/verbs.c:1001:14: branch_false: ...to here
rdma-core-59.0/providers/efa/verbs.c:1000:13: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/efa/verbs.c:1008:13: branch_false: ...to here
rdma-core-59.0/providers/efa/verbs.c:1014:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/efa/verbs.c:1026:50: branch_false: ...to here
rdma-core-59.0/providers/efa/verbs.c:1025:14: acquire_memory: allocated here
rdma-core-59.0/providers/efa/verbs.c:1027:12: branch_false: following ‘false’ branch (when ‘cq’ is non-NULL)...
rdma-core-59.0/providers/efa/verbs.c:1030:13: branch_false: ...to here
rdma-core-59.0/providers/efa/verbs.c:1037:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/efa/verbs.c:1044:12: branch_false: ...to here
rdma-core-59.0/providers/efa/verbs.c:1044:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/efa/verbs.c:1047:40: branch_false: ...to here
rdma-core-59.0/providers/efa/verbs.c:1048:15: danger: ‘cq’ leaks here; was allocated at [(7)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def579]
rdma-core-59.0/providers/efa/verbs.c:1679:15: warning[-Wanalyzer-malloc-leak]: leak of ‘qp’
rdma-core-59.0/providers/efa/verbs.c:1728:16: enter_function: entry to ‘efa_create_qp’
rdma-core-59.0/providers/efa/verbs.c:1735:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/efa/verbs.c:1742:9: branch_false: ...to here
rdma-core-59.0/providers/efa/verbs.c:1746:17: call_function: calling ‘create_qp’ from ‘efa_create_qp’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def580]
rdma-core-59.0/providers/efa/verbs.c:2760:15: warning[-Wanalyzer-malloc-leak]: leak of ‘ah’
rdma-core-59.0/providers/efa/verbs.c:2756:14: acquire_memory: allocated here
rdma-core-59.0/providers/efa/verbs.c:2757:12: branch_false: following ‘false’ branch (when ‘ah’ is non-NULL)...
rdma-core-59.0/providers/efa/verbs.c:2760:15: branch_false: ...to here
rdma-core-59.0/providers/efa/verbs.c:2760:15: danger: ‘ah’ leaks here; was allocated at [(1)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def581]
rdma-core-59.0/providers/efa/verbs.c:2811:16: warning[-Wanalyzer-malloc-leak]: leak of ‘td’
rdma-core-59.0/providers/efa/verbs.c:2796:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/efa/verbs.c:2802:14: branch_false: ...to here
rdma-core-59.0/providers/efa/verbs.c:2802:14: acquire_memory: allocated here
rdma-core-59.0/providers/efa/verbs.c:2803:12: branch_false: following ‘false’ branch (when ‘td’ is non-NULL)...
rdma-core-59.0/providers/efa/verbs.c:2808:9: branch_false: ...to here
rdma-core-59.0/providers/efa/verbs.c:2811:16: danger: ‘td’ leaks here; was allocated at [(3)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def582]
rdma-core-59.0/providers/erdma/erdma.c:109:16: warning[-Wanalyzer-malloc-leak]: leak of ‘dev’
rdma-core-59.0/providers/erdma/erdma.c:105:15: acquire_memory: allocated here
rdma-core-59.0/providers/erdma/erdma.c:106:12: branch_false: following ‘false’ branch (when ‘dev’ is non-NULL)...
rdma-core-59.0/providers/erdma/erdma.c:109:16: branch_false: ...to here
rdma-core-59.0/providers/erdma/erdma.c:109:16: danger: ‘dev’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def583]
rdma-core-59.0/providers/erdma/erdma_verbs.c:78:13: warning[-Wanalyzer-malloc-leak]: leak of ‘pd’
rdma-core-59.0/providers/erdma/erdma_verbs.c:74:14: acquire_memory: allocated here
rdma-core-59.0/providers/erdma/erdma_verbs.c:75:12: branch_false: following ‘false’ branch (when ‘pd’ is non-NULL)...
rdma-core-59.0/providers/erdma/erdma_verbs.c:78:13: branch_false: ...to here
rdma-core-59.0/providers/erdma/erdma_verbs.c:78:13: danger: ‘pd’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def584]
rdma-core-59.0/providers/erdma/erdma_verbs.c:110:15: warning[-Wanalyzer-malloc-leak]: leak of ‘vmr’
rdma-core-59.0/providers/erdma/erdma_verbs.c:106:15: acquire_memory: allocated here
rdma-core-59.0/providers/erdma/erdma_verbs.c:107:12: branch_false: following ‘false’ branch (when ‘vmr’ is non-NULL)...
rdma-core-59.0/providers/erdma/erdma_verbs.c:110:15: branch_false: ...to here
rdma-core-59.0/providers/erdma/erdma_verbs.c:110:15: danger: ‘vmr’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def585]
rdma-core-59.0/providers/hfi1verbs/hfiverbs.c:200:16: warning[-Wanalyzer-malloc-leak]: leak of ‘dev’
rdma-core-59.0/providers/hfi1verbs/hfiverbs.c:194:15: acquire_memory: allocated here
rdma-core-59.0/providers/hfi1verbs/hfiverbs.c:195:12: branch_false: following ‘false’ branch (when ‘dev’ is non-NULL)...
rdma-core-59.0/providers/hfi1verbs/hfiverbs.c:198:28: branch_false: ...to here
rdma-core-59.0/providers/hfi1verbs/hfiverbs.c:200:16: danger: ‘dev’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def586]
rdma-core-59.0/providers/hfi1verbs/verbs.c:114:13: warning[-Wanalyzer-malloc-leak]: leak of ‘pd’
rdma-core-59.0/providers/hfi1verbs/verbs.c:110:14: acquire_memory: allocated here
rdma-core-59.0/providers/hfi1verbs/verbs.c:111:12: branch_false: following ‘false’ branch (when ‘pd’ is non-NULL)...
rdma-core-59.0/providers/hfi1verbs/verbs.c:114:13: branch_false: ...to here
rdma-core-59.0/providers/hfi1verbs/verbs.c:114:13: danger: ‘pd’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def587]
rdma-core-59.0/providers/hfi1verbs/verbs.c:147:15: warning[-Wanalyzer-malloc-leak]: leak of ‘vmr’
rdma-core-59.0/providers/hfi1verbs/verbs.c:143:15: acquire_memory: allocated here
rdma-core-59.0/providers/hfi1verbs/verbs.c:144:12: branch_false: following ‘false’ branch (when ‘vmr’ is non-NULL)...
rdma-core-59.0/providers/hfi1verbs/verbs.c:147:15: branch_false: ...to here
rdma-core-59.0/providers/hfi1verbs/verbs.c:147:15: danger: ‘vmr’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def588]
rdma-core-59.0/providers/hfi1verbs/verbs.c:184:15: warning[-Wanalyzer-malloc-leak]: leak of ‘cq’
rdma-core-59.0/providers/hfi1verbs/verbs.c:180:14: acquire_memory: allocated here
rdma-core-59.0/providers/hfi1verbs/verbs.c:181:12: branch_false: following ‘false’ branch (when ‘cq’ is non-NULL)...
rdma-core-59.0/providers/hfi1verbs/verbs.c:184:15: branch_false: ...to here
rdma-core-59.0/providers/hfi1verbs/verbs.c:184:15: danger: ‘cq’ leaks here; was allocated at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def589]
rdma-core-59.0/providers/hfi1verbs/verbs.c:216:15: warning[-Wanalyzer-malloc-leak]: leak of ‘cq’
rdma-core-59.0/providers/hfi1verbs/verbs.c:212:14: acquire_memory: allocated here
rdma-core-59.0/providers/hfi1verbs/verbs.c:213:12: branch_false: following ‘false’ branch (when ‘cq’ is non-NULL)...
rdma-core-59.0/providers/hfi1verbs/verbs.c:216:15: branch_false: ...to here
rdma-core-59.0/providers/hfi1verbs/verbs.c:216:15: danger: ‘cq’ leaks here; was allocated at [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def590]
rdma-core-59.0/providers/hfi1verbs/verbs.c:331:15: warning[-Wanalyzer-malloc-leak]: leak of ‘qp’
rdma-core-59.0/providers/hfi1verbs/verbs.c:327:14: acquire_memory: allocated here
rdma-core-59.0/providers/hfi1verbs/verbs.c:328:12: branch_false: following ‘false’ branch (when ‘qp’ is non-NULL)...
rdma-core-59.0/providers/hfi1verbs/verbs.c:331:15: branch_false: ...to here
rdma-core-59.0/providers/hfi1verbs/verbs.c:331:15: danger: ‘qp’ leaks here; was allocated at [(1)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def591]
rdma-core-59.0/providers/hfi1verbs/verbs.c:375:15: warning[-Wanalyzer-malloc-leak]: leak of ‘qp’
rdma-core-59.0/providers/hfi1verbs/verbs.c:371:14: acquire_memory: allocated here
rdma-core-59.0/providers/hfi1verbs/verbs.c:372:12: branch_false: following ‘false’ branch (when ‘qp’ is non-NULL)...
rdma-core-59.0/providers/hfi1verbs/verbs.c:375:15: branch_false: ...to here
rdma-core-59.0/providers/hfi1verbs/verbs.c:375:15: danger: ‘qp’ leaks here; was allocated at [(1)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def592]
rdma-core-59.0/providers/hfi1verbs/verbs.c:535:15: warning[-Wanalyzer-malloc-leak]: leak of ‘srq’
rdma-core-59.0/providers/hfi1verbs/verbs.c:531:15: acquire_memory: allocated here
rdma-core-59.0/providers/hfi1verbs/verbs.c:532:12: branch_false: following ‘false’ branch (when ‘srq’ is non-NULL)...
rdma-core-59.0/providers/hfi1verbs/verbs.c:535:15: branch_false: ...to here
rdma-core-59.0/providers/hfi1verbs/verbs.c:535:15: danger: ‘srq’ leaks here; was allocated at [(1)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def593]
rdma-core-59.0/providers/hfi1verbs/verbs.c:571:15: warning[-Wanalyzer-malloc-leak]: leak of ‘srq’
rdma-core-59.0/providers/hfi1verbs/verbs.c:567:15: acquire_memory: allocated here
rdma-core-59.0/providers/hfi1verbs/verbs.c:568:12: branch_false: following ‘false’ branch (when ‘srq’ is non-NULL)...
rdma-core-59.0/providers/hfi1verbs/verbs.c:571:15: branch_false: ...to here
rdma-core-59.0/providers/hfi1verbs/verbs.c:571:15: danger: ‘srq’ leaks here; was allocated at [(1)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def594]
rdma-core-59.0/providers/hfi1verbs/verbs.c:688:13: warning[-Wanalyzer-malloc-leak]: leak of ‘ah’
rdma-core-59.0/providers/hfi1verbs/verbs.c:683:14: acquire_memory: allocated here
rdma-core-59.0/providers/hfi1verbs/verbs.c:684:12: branch_false: following ‘false’ branch (when ‘ah’ is non-NULL)...
rdma-core-59.0/providers/hfi1verbs/verbs.c:687:9: branch_false: ...to here
rdma-core-59.0/providers/hfi1verbs/verbs.c:688:13: danger: ‘ah’ leaks here; was allocated at [(1)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def595]
rdma-core-59.0/providers/hns/hns_roce_u.c:264:16: warning[-Wanalyzer-malloc-leak]: leak of ‘dev’
rdma-core-59.0/providers/hns/hns_roce_u.c:257:15: acquire_memory: allocated here
rdma-core-59.0/providers/hns/hns_roce_u.c:258:12: branch_false: following ‘false’ branch (when ‘dev’ is non-NULL)...
rdma-core-59.0/providers/hns/hns_roce_u.c:261:21: branch_false: ...to here
rdma-core-59.0/providers/hns/hns_roce_u.c:264:16: danger: ‘dev’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def596]
rdma-core-59.0/providers/hns/hns_roce_u_db.c:66:13: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
rdma-core-59.0/providers/hns/hns_roce_u_db.c:47:33: enter_function: entry to ‘hns_roce_add_db_page’
rdma-core-59.0/providers/hns/hns_roce_u_db.c:56:12: branch_false: following ‘false’ branch (when ‘page’ is non-NULL)...
rdma-core-59.0/providers/hns/hns_roce_u_db.c:60:24: branch_false: ...to here
rdma-core-59.0/providers/hns/hns_roce_u_db.c:62:24: call_function: calling ‘bitmap_alloc1’ from ‘hns_roce_add_db_page’
rdma-core-59.0/providers/hns/hns_roce_u_db.c:62:24: return_function: returning to ‘hns_roce_add_db_page’ from ‘bitmap_alloc1’
rdma-core-59.0/providers/hns/hns_roce_u_db.c:63:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/hns/hns_roce_u_db.c:66:13: branch_false: ...to here
rdma-core-59.0/providers/hns/hns_roce_u_db.c:66:13: danger: ‘<unknown>’ leaks here; was allocated at [(7)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def597]
rdma-core-59.0/providers/hns/hns_roce_u_db.c:66:13: warning[-Wanalyzer-malloc-leak]: leak of ‘page’
rdma-core-59.0/providers/hns/hns_roce_u_db.c:47:33: enter_function: entry to ‘hns_roce_add_db_page’
rdma-core-59.0/providers/hns/hns_roce_u_db.c:55:16: acquire_memory: allocated here
rdma-core-59.0/providers/hns/hns_roce_u_db.c:56:12: branch_false: following ‘false’ branch (when ‘page’ is non-NULL)...
rdma-core-59.0/providers/hns/hns_roce_u_db.c:60:24: branch_false: ...to here
rdma-core-59.0/providers/hns/hns_roce_u_db.c:62:24: call_function: calling ‘bitmap_alloc1’ from ‘hns_roce_add_db_page’
rdma-core-59.0/providers/hns/hns_roce_u_db.c:62:24: return_function: returning to ‘hns_roce_add_db_page’ from ‘bitmap_alloc1’
rdma-core-59.0/providers/hns/hns_roce_u_db.c:63:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/hns/hns_roce_u_db.c:66:13: branch_false: ...to here
rdma-core-59.0/providers/hns/hns_roce_u_db.c:66:13: danger: ‘page’ leaks here; was allocated at [(2)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def598]
rdma-core-59.0/providers/hns/hns_roce_u_verbs.c:683:13: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
rdma-core-59.0/providers/hns/hns_roce_u_verbs.c:852:17: enter_function: entry to ‘hns_roce_u_create_srq’
rdma-core-59.0/providers/hns/hns_roce_u_verbs.c:862:15: call_function: calling ‘create_srq’ from ‘hns_roce_u_create_srq’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def599]
rdma-core-59.0/providers/hns/hns_roce_u_verbs.c:683:13: warning[-Wanalyzer-malloc-leak]: leak of ‘srq’
rdma-core-59.0/providers/hns/hns_roce_u_verbs.c:852:17: enter_function: entry to ‘hns_roce_u_create_srq’
rdma-core-59.0/providers/hns/hns_roce_u_verbs.c:862:15: call_function: calling ‘create_srq’ from ‘hns_roce_u_create_srq’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def600]
rdma-core-59.0/providers/hns/hns_roce_u_verbs.c:1678:15: warning[-Wanalyzer-malloc-leak]: leak of ‘qp’
rdma-core-59.0/providers/hns/hns_roce_u_verbs.c:1674:14: acquire_memory: allocated here
rdma-core-59.0/providers/hns/hns_roce_u_verbs.c:1675:12: branch_false: following ‘false’ branch (when ‘qp’ is non-NULL)...
rdma-core-59.0/providers/hns/hns_roce_u_verbs.c:1678:15: branch_false: ...to here
rdma-core-59.0/providers/hns/hns_roce_u_verbs.c:1678:15: danger: ‘qp’ leaks here; was allocated at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def601]
rdma-core-59.0/providers/hns/hns_roce_u_verbs.c:1741:15: warning[-Wanalyzer-malloc-leak]: leak of ‘ah’
rdma-core-59.0/providers/hns/hns_roce_u_verbs.c:1753:16: enter_function: entry to ‘hns_roce_u_create_ah’
rdma-core-59.0/providers/hns/hns_roce_u_verbs.c:1760:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/hns/hns_roce_u_verbs.c:1763:14: branch_false: ...to here
rdma-core-59.0/providers/hns/hns_roce_u_verbs.c:1763:14: acquire_memory: allocated here
rdma-core-59.0/providers/hns/hns_roce_u_verbs.c:1764:12: branch_false: following ‘false’ branch (when ‘ah’ is non-NULL)...
rdma-core-59.0/providers/hns/hns_roce_u_verbs.c:1767:9: branch_false: ...to here
rdma-core-59.0/providers/hns/hns_roce_u_verbs.c:1772:12: branch_true: following ‘true’ branch...
rdma-core-59.0/providers/hns/hns_roce_u_verbs.c:1773:36: branch_true: ...to here
rdma-core-59.0/providers/hns/hns_roce_u_verbs.c:1776:21: call_function: calling ‘get_tclass’ from ‘hns_roce_u_create_ah’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def602]
rdma-core-59.0/providers/hns/hns_roce_u_verbs.c:1784:13: warning[-Wanalyzer-malloc-leak]: leak of ‘ah’
rdma-core-59.0/providers/hns/hns_roce_u_verbs.c:1760:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/hns/hns_roce_u_verbs.c:1763:14: branch_false: ...to here
rdma-core-59.0/providers/hns/hns_roce_u_verbs.c:1763:14: acquire_memory: allocated here
rdma-core-59.0/providers/hns/hns_roce_u_verbs.c:1764:12: branch_false: following ‘false’ branch (when ‘ah’ is non-NULL)...
rdma-core-59.0/providers/hns/hns_roce_u_verbs.c:1767:9: branch_false: ...to here
rdma-core-59.0/providers/hns/hns_roce_u_verbs.c:1772:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/hns/hns_roce_u_verbs.c:1784:13: branch_false: ...to here
rdma-core-59.0/providers/hns/hns_roce_u_verbs.c:1784:13: danger: ‘ah’ leaks here; was allocated at [(3)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def603]
rdma-core-59.0/providers/ipathverbs/ipathverbs.c:198:16: warning[-Wanalyzer-malloc-leak]: leak of ‘dev’
rdma-core-59.0/providers/ipathverbs/ipathverbs.c:192:15: acquire_memory: allocated here
rdma-core-59.0/providers/ipathverbs/ipathverbs.c:193:12: branch_false: following ‘false’ branch (when ‘dev’ is non-NULL)...
rdma-core-59.0/providers/ipathverbs/ipathverbs.c:196:28: branch_false: ...to here
rdma-core-59.0/providers/ipathverbs/ipathverbs.c:198:16: danger: ‘dev’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def604]
rdma-core-59.0/providers/ipathverbs/verbs.c:94:13: warning[-Wanalyzer-malloc-leak]: leak of ‘pd’
rdma-core-59.0/providers/ipathverbs/verbs.c:90:14: acquire_memory: allocated here
rdma-core-59.0/providers/ipathverbs/verbs.c:91:12: branch_false: following ‘false’ branch (when ‘pd’ is non-NULL)...
rdma-core-59.0/providers/ipathverbs/verbs.c:94:13: branch_false: ...to here
rdma-core-59.0/providers/ipathverbs/verbs.c:94:13: danger: ‘pd’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def605]
rdma-core-59.0/providers/ipathverbs/verbs.c:127:15: warning[-Wanalyzer-malloc-leak]: leak of ‘vmr’
rdma-core-59.0/providers/ipathverbs/verbs.c:123:15: acquire_memory: allocated here
rdma-core-59.0/providers/ipathverbs/verbs.c:124:12: branch_false: following ‘false’ branch (when ‘vmr’ is non-NULL)...
rdma-core-59.0/providers/ipathverbs/verbs.c:127:15: branch_false: ...to here
rdma-core-59.0/providers/ipathverbs/verbs.c:127:15: danger: ‘vmr’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def606]
rdma-core-59.0/providers/ipathverbs/verbs.c:162:15: warning[-Wanalyzer-malloc-leak]: leak of ‘cq’
rdma-core-59.0/providers/ipathverbs/verbs.c:158:14: acquire_memory: allocated here
rdma-core-59.0/providers/ipathverbs/verbs.c:159:12: branch_false: following ‘false’ branch (when ‘cq’ is non-NULL)...
rdma-core-59.0/providers/ipathverbs/verbs.c:162:15: branch_false: ...to here
rdma-core-59.0/providers/ipathverbs/verbs.c:162:15: danger: ‘cq’ leaks here; was allocated at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def607]
rdma-core-59.0/providers/ipathverbs/verbs.c:194:15: warning[-Wanalyzer-malloc-leak]: leak of ‘cq’
rdma-core-59.0/providers/ipathverbs/verbs.c:190:14: acquire_memory: allocated here
rdma-core-59.0/providers/ipathverbs/verbs.c:191:12: branch_false: following ‘false’ branch (when ‘cq’ is non-NULL)...
rdma-core-59.0/providers/ipathverbs/verbs.c:194:15: branch_false: ...to here
rdma-core-59.0/providers/ipathverbs/verbs.c:194:15: danger: ‘cq’ leaks here; was allocated at [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def608]
rdma-core-59.0/providers/ipathverbs/verbs.c:308:15: warning[-Wanalyzer-malloc-leak]: leak of ‘qp’
rdma-core-59.0/providers/ipathverbs/verbs.c:304:14: acquire_memory: allocated here
rdma-core-59.0/providers/ipathverbs/verbs.c:305:12: branch_false: following ‘false’ branch (when ‘qp’ is non-NULL)...
rdma-core-59.0/providers/ipathverbs/verbs.c:308:15: branch_false: ...to here
rdma-core-59.0/providers/ipathverbs/verbs.c:308:15: danger: ‘qp’ leaks here; was allocated at [(1)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def609]
rdma-core-59.0/providers/ipathverbs/verbs.c:352:15: warning[-Wanalyzer-malloc-leak]: leak of ‘qp’
rdma-core-59.0/providers/ipathverbs/verbs.c:348:14: acquire_memory: allocated here
rdma-core-59.0/providers/ipathverbs/verbs.c:349:12: branch_false: following ‘false’ branch (when ‘qp’ is non-NULL)...
rdma-core-59.0/providers/ipathverbs/verbs.c:352:15: branch_false: ...to here
rdma-core-59.0/providers/ipathverbs/verbs.c:352:15: danger: ‘qp’ leaks here; was allocated at [(1)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def610]
rdma-core-59.0/providers/ipathverbs/verbs.c:511:15: warning[-Wanalyzer-malloc-leak]: leak of ‘srq’
rdma-core-59.0/providers/ipathverbs/verbs.c:507:15: acquire_memory: allocated here
rdma-core-59.0/providers/ipathverbs/verbs.c:508:12: branch_false: following ‘false’ branch (when ‘srq’ is non-NULL)...
rdma-core-59.0/providers/ipathverbs/verbs.c:511:15: branch_false: ...to here
rdma-core-59.0/providers/ipathverbs/verbs.c:511:15: danger: ‘srq’ leaks here; was allocated at [(1)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def611]
rdma-core-59.0/providers/ipathverbs/verbs.c:547:15: warning[-Wanalyzer-malloc-leak]: leak of ‘srq’
rdma-core-59.0/providers/ipathverbs/verbs.c:543:15: acquire_memory: allocated here
rdma-core-59.0/providers/ipathverbs/verbs.c:544:12: branch_false: following ‘false’ branch (when ‘srq’ is non-NULL)...
rdma-core-59.0/providers/ipathverbs/verbs.c:547:15: branch_false: ...to here
rdma-core-59.0/providers/ipathverbs/verbs.c:547:15: danger: ‘srq’ leaks here; was allocated at [(1)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def612]
rdma-core-59.0/providers/ipathverbs/verbs.c:664:13: warning[-Wanalyzer-malloc-leak]: leak of ‘ah’
rdma-core-59.0/providers/ipathverbs/verbs.c:659:14: acquire_memory: allocated here
rdma-core-59.0/providers/ipathverbs/verbs.c:660:12: branch_false: following ‘false’ branch (when ‘ah’ is non-NULL)...
rdma-core-59.0/providers/ipathverbs/verbs.c:663:9: branch_false: ...to here
rdma-core-59.0/providers/ipathverbs/verbs.c:664:13: danger: ‘ah’ leaks here; was allocated at [(1)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def613]
rdma-core-59.0/providers/irdma/umain.c:236:16: warning[-Wanalyzer-malloc-leak]: leak of ‘dev’
rdma-core-59.0/providers/irdma/umain.c:232:15: acquire_memory: allocated here
rdma-core-59.0/providers/irdma/umain.c:233:12: branch_false: following ‘false’ branch (when ‘dev’ is non-NULL)...
rdma-core-59.0/providers/irdma/umain.c:236:16: branch_false: ...to here
rdma-core-59.0/providers/irdma/umain.c:236:16: danger: ‘dev’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def614]
rdma-core-59.0/providers/irdma/uverbs.c:305:13: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
rdma-core-59.0/providers/irdma/uverbs.c:1260:12: enter_function: entry to ‘irdma_vmapped_qp’
rdma-core-59.0/providers/irdma/uverbs.c:1287:20: call_function: calling ‘irdma_calloc_hw_buf_sz’ from ‘irdma_vmapped_qp’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def615]
rdma-core-59.0/providers/irdma/uverbs.c:305:13: warning[-Wanalyzer-malloc-leak]: leak of ‘iwuqp’
rdma-core-59.0/providers/irdma/uverbs.c:1343:16: enter_function: entry to ‘irdma_ucreate_qp’
rdma-core-59.0/providers/irdma/uverbs.c:1352:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/irdma/uverbs.c:1357:18: branch_false: ...to here
rdma-core-59.0/providers/irdma/uverbs.c:1361:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/irdma/uverbs.c:1362:13: branch_false: ...to here
rdma-core-59.0/providers/irdma/uverbs.c:1361:13: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/irdma/uverbs.c:1363:13: branch_false: ...to here
rdma-core-59.0/providers/irdma/uverbs.c:1361:13: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/irdma/uverbs.c:1364:13: branch_false: ...to here
rdma-core-59.0/providers/irdma/uverbs.c:1361:13: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/irdma/uverbs.c:1365:13: branch_false: ...to here
rdma-core-59.0/providers/irdma/uverbs.c:1361:13: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/irdma/uverbs.c:1370:9: branch_false: ...to here
rdma-core-59.0/providers/irdma/uverbs.c:1379:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/irdma/uverbs.c:1384:18: branch_false: ...to here
rdma-core-59.0/providers/irdma/uverbs.c:1385:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/irdma/uverbs.c:1390:17: branch_false: ...to here
rdma-core-59.0/providers/irdma/uverbs.c:1390:17: acquire_memory: allocated here
rdma-core-59.0/providers/irdma/uverbs.c:1391:12: branch_false: following ‘false’ branch (when ‘iwuqp’ is non-NULL)...
rdma-core-59.0/providers/irdma/uverbs.c:1394:9: branch_false: ...to here
rdma-core-59.0/providers/irdma/uverbs.c:1396:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/irdma/uverbs.c:1399:24: branch_false: ...to here
rdma-core-59.0/providers/irdma/uverbs.c:1413:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/irdma/uverbs.c:1416:30: branch_false: ...to here
rdma-core-59.0/providers/irdma/uverbs.c:1417:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/irdma/uverbs.c:1420:29: branch_false: ...to here
rdma-core-59.0/providers/irdma/uverbs.c:1422:18: call_function: calling ‘irdma_vmapped_qp’ from ‘irdma_ucreate_qp’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def616]
rdma-core-59.0/providers/irdma/uverbs.c:321:9: warning[-Wanalyzer-malloc-leak]: leak of ‘iwuqp’
rdma-core-59.0/providers/irdma/uverbs.c:1343:16: enter_function: entry to ‘irdma_ucreate_qp’
rdma-core-59.0/providers/irdma/uverbs.c:1352:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/irdma/uverbs.c:1357:18: branch_false: ...to here
rdma-core-59.0/providers/irdma/uverbs.c:1361:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/irdma/uverbs.c:1362:13: branch_false: ...to here
rdma-core-59.0/providers/irdma/uverbs.c:1361:13: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/irdma/uverbs.c:1363:13: branch_false: ...to here
rdma-core-59.0/providers/irdma/uverbs.c:1361:13: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/irdma/uverbs.c:1364:13: branch_false: ...to here
rdma-core-59.0/providers/irdma/uverbs.c:1361:13: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/irdma/uverbs.c:1365:13: branch_false: ...to here
rdma-core-59.0/providers/irdma/uverbs.c:1361:13: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/irdma/uverbs.c:1370:9: branch_false: ...to here
rdma-core-59.0/providers/irdma/uverbs.c:1379:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/irdma/uverbs.c:1384:18: branch_false: ...to here
rdma-core-59.0/providers/irdma/uverbs.c:1385:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/irdma/uverbs.c:1390:17: branch_false: ...to here
rdma-core-59.0/providers/irdma/uverbs.c:1390:17: acquire_memory: allocated here
rdma-core-59.0/providers/irdma/uverbs.c:1391:12: branch_false: following ‘false’ branch (when ‘iwuqp’ is non-NULL)...
rdma-core-59.0/providers/irdma/uverbs.c:1394:9: branch_false: ...to here
rdma-core-59.0/providers/irdma/uverbs.c:1396:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/irdma/uverbs.c:1399:24: branch_false: ...to here
rdma-core-59.0/providers/irdma/uverbs.c:1413:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/irdma/uverbs.c:1416:30: branch_false: ...to here
rdma-core-59.0/providers/irdma/uverbs.c:1417:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/irdma/uverbs.c:1420:29: branch_false: ...to here
rdma-core-59.0/providers/irdma/uverbs.c:1422:18: call_function: calling ‘irdma_vmapped_qp’ from ‘irdma_ucreate_qp’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def617]
rdma-core-59.0/providers/irdma/uverbs.c:1299:15: warning[-Wanalyzer-malloc-leak]: leak of ‘iwuqp’
rdma-core-59.0/providers/irdma/uverbs.c:1343:16: enter_function: entry to ‘irdma_ucreate_qp’
rdma-core-59.0/providers/irdma/uverbs.c:1352:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/irdma/uverbs.c:1357:18: branch_false: ...to here
rdma-core-59.0/providers/irdma/uverbs.c:1361:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/irdma/uverbs.c:1362:13: branch_false: ...to here
rdma-core-59.0/providers/irdma/uverbs.c:1361:13: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/irdma/uverbs.c:1363:13: branch_false: ...to here
rdma-core-59.0/providers/irdma/uverbs.c:1361:13: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/irdma/uverbs.c:1364:13: branch_false: ...to here
rdma-core-59.0/providers/irdma/uverbs.c:1361:13: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/irdma/uverbs.c:1365:13: branch_false: ...to here
rdma-core-59.0/providers/irdma/uverbs.c:1361:13: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/irdma/uverbs.c:1370:9: branch_false: ...to here
rdma-core-59.0/providers/irdma/uverbs.c:1379:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/irdma/uverbs.c:1384:18: branch_false: ...to here
rdma-core-59.0/providers/irdma/uverbs.c:1385:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/irdma/uverbs.c:1390:17: branch_false: ...to here
rdma-core-59.0/providers/irdma/uverbs.c:1390:17: acquire_memory: allocated here
rdma-core-59.0/providers/irdma/uverbs.c:1391:12: branch_false: following ‘false’ branch (when ‘iwuqp’ is non-NULL)...
rdma-core-59.0/providers/irdma/uverbs.c:1394:9: branch_false: ...to here
rdma-core-59.0/providers/irdma/uverbs.c:1396:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/irdma/uverbs.c:1399:24: branch_false: ...to here
rdma-core-59.0/providers/irdma/uverbs.c:1413:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/irdma/uverbs.c:1416:30: branch_false: ...to here
rdma-core-59.0/providers/irdma/uverbs.c:1417:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/irdma/uverbs.c:1420:29: branch_false: ...to here
rdma-core-59.0/providers/irdma/uverbs.c:1422:18: call_function: calling ‘irdma_vmapped_qp’ from ‘irdma_ucreate_qp’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def618]
rdma-core-59.0/providers/irdma/uverbs.c:1309:15: warning[-Wanalyzer-malloc-leak]: leak of ‘iwuqp’
rdma-core-59.0/providers/irdma/uverbs.c:1343:16: enter_function: entry to ‘irdma_ucreate_qp’
rdma-core-59.0/providers/irdma/uverbs.c:1352:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/irdma/uverbs.c:1357:18: branch_false: ...to here
rdma-core-59.0/providers/irdma/uverbs.c:1361:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/irdma/uverbs.c:1362:13: branch_false: ...to here
rdma-core-59.0/providers/irdma/uverbs.c:1361:13: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/irdma/uverbs.c:1363:13: branch_false: ...to here
rdma-core-59.0/providers/irdma/uverbs.c:1361:13: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/irdma/uverbs.c:1364:13: branch_false: ...to here
rdma-core-59.0/providers/irdma/uverbs.c:1361:13: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/irdma/uverbs.c:1365:13: branch_false: ...to here
rdma-core-59.0/providers/irdma/uverbs.c:1361:13: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/irdma/uverbs.c:1370:9: branch_false: ...to here
rdma-core-59.0/providers/irdma/uverbs.c:1379:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/irdma/uverbs.c:1384:18: branch_false: ...to here
rdma-core-59.0/providers/irdma/uverbs.c:1385:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/irdma/uverbs.c:1390:17: branch_false: ...to here
rdma-core-59.0/providers/irdma/uverbs.c:1390:17: acquire_memory: allocated here
rdma-core-59.0/providers/irdma/uverbs.c:1391:12: branch_false: following ‘false’ branch (when ‘iwuqp’ is non-NULL)...
rdma-core-59.0/providers/irdma/uverbs.c:1394:9: branch_false: ...to here
rdma-core-59.0/providers/irdma/uverbs.c:1396:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/irdma/uverbs.c:1399:24: branch_false: ...to here
rdma-core-59.0/providers/irdma/uverbs.c:1413:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/irdma/uverbs.c:1416:30: branch_false: ...to here
rdma-core-59.0/providers/irdma/uverbs.c:1417:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/irdma/uverbs.c:1420:29: branch_false: ...to here
rdma-core-59.0/providers/irdma/uverbs.c:1422:18: call_function: calling ‘irdma_vmapped_qp’ from ‘irdma_ucreate_qp’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def619]
rdma-core-59.0/providers/irdma/uverbs.c:1332:9: warning[-Wanalyzer-malloc-leak]: leak of ‘iwuqp’
rdma-core-59.0/providers/irdma/uverbs.c:1343:16: enter_function: entry to ‘irdma_ucreate_qp’
rdma-core-59.0/providers/irdma/uverbs.c:1352:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/irdma/uverbs.c:1357:18: branch_false: ...to here
rdma-core-59.0/providers/irdma/uverbs.c:1361:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/irdma/uverbs.c:1362:13: branch_false: ...to here
rdma-core-59.0/providers/irdma/uverbs.c:1361:13: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/irdma/uverbs.c:1363:13: branch_false: ...to here
rdma-core-59.0/providers/irdma/uverbs.c:1361:13: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/irdma/uverbs.c:1364:13: branch_false: ...to here
rdma-core-59.0/providers/irdma/uverbs.c:1361:13: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/irdma/uverbs.c:1365:13: branch_false: ...to here
rdma-core-59.0/providers/irdma/uverbs.c:1361:13: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/irdma/uverbs.c:1370:9: branch_false: ...to here
rdma-core-59.0/providers/irdma/uverbs.c:1379:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/irdma/uverbs.c:1384:18: branch_false: ...to here
rdma-core-59.0/providers/irdma/uverbs.c:1385:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/irdma/uverbs.c:1390:17: branch_false: ...to here
rdma-core-59.0/providers/irdma/uverbs.c:1390:17: acquire_memory: allocated here
rdma-core-59.0/providers/irdma/uverbs.c:1391:12: branch_false: following ‘false’ branch (when ‘iwuqp’ is non-NULL)...
rdma-core-59.0/providers/irdma/uverbs.c:1394:9: branch_false: ...to here
rdma-core-59.0/providers/irdma/uverbs.c:1396:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/irdma/uverbs.c:1399:24: branch_false: ...to here
rdma-core-59.0/providers/irdma/uverbs.c:1413:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/irdma/uverbs.c:1416:30: branch_false: ...to here
rdma-core-59.0/providers/irdma/uverbs.c:1417:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/irdma/uverbs.c:1420:29: branch_false: ...to here
rdma-core-59.0/providers/irdma/uverbs.c:1422:18: call_function: calling ‘irdma_vmapped_qp’ from ‘irdma_ucreate_qp’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def620]
rdma-core-59.0/providers/irdma/uverbs.c:1843:15: warning[-Wanalyzer-malloc-leak]: leak of ‘ah’
rdma-core-59.0/providers/irdma/uverbs.c:1834:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/irdma/uverbs.c:1839:14: branch_false: ...to here
rdma-core-59.0/providers/irdma/uverbs.c:1839:14: acquire_memory: allocated here
rdma-core-59.0/providers/irdma/uverbs.c:1840:12: branch_false: following ‘false’ branch (when ‘ah’ is non-NULL)...
rdma-core-59.0/providers/irdma/uverbs.c:1843:15: branch_false: ...to here
rdma-core-59.0/providers/irdma/uverbs.c:1843:15: danger: ‘ah’ leaks here; was allocated at [(3)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def621]
rdma-core-59.0/providers/irdma/uverbs.c:1959:15: warning[-Wanalyzer-malloc-leak]: leak of ‘cq_buf’
rdma-core-59.0/providers/irdma/uverbs.c:1905:5: enter_function: entry to ‘irdma_uresize_cq’
rdma-core-59.0/providers/irdma/uverbs.c:1927:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/irdma/uverbs.c:1930:12: branch_false: ...to here
rdma-core-59.0/providers/irdma/uverbs.c:1930:12: branch_false: following ‘false’ branch (when ‘cqe <= 1048575’)...
rdma-core-59.0/providers/irdma/uverbs.c:1933:9: branch_false: ...to here
rdma-core-59.0/providers/irdma/uverbs.c:1940:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/irdma/uverbs.c:1943:19: call_function: inlined call to ‘get_cq_total_bytes’ from ‘irdma_uresize_cq’
rdma-core-59.0/providers/irdma/uverbs.c:1945:19: call_function: inlined call to ‘irdma_calloc_hw_buf’ from ‘irdma_uresize_cq’
rdma-core-59.0/providers/irdma/uverbs.c:1945:19: call_function: inlined call to ‘irdma_calloc_hw_buf’ from ‘irdma_uresize_cq’
rdma-core-59.0/providers/irdma/uverbs.c:1946:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/irdma/uverbs.c:1949:18: branch_false: ...to here
rdma-core-59.0/providers/irdma/uverbs.c:1949:18: acquire_memory: allocated here
rdma-core-59.0/providers/irdma/uverbs.c:1950:12: branch_false: following ‘false’ branch (when ‘cq_buf’ is non-NULL)...
rdma-core-59.0/providers/irdma/uverbs.c:1955:28: branch_false: ...to here
rdma-core-59.0/providers/irdma/uverbs.c:1959:15: danger: ‘cq_buf’ leaks here; was allocated at [(20)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/19)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def622]
rdma-core-59.0/providers/irdma/uverbs.c:1971:15: warning[-Wanalyzer-malloc-leak]: leak of ‘cq_buf’
rdma-core-59.0/providers/irdma/uverbs.c:1905:5: enter_function: entry to ‘irdma_uresize_cq’
rdma-core-59.0/providers/irdma/uverbs.c:1927:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/irdma/uverbs.c:1930:12: branch_false: ...to here
rdma-core-59.0/providers/irdma/uverbs.c:1930:12: branch_false: following ‘false’ branch (when ‘cqe <= 1048575’)...
rdma-core-59.0/providers/irdma/uverbs.c:1933:9: branch_false: ...to here
rdma-core-59.0/providers/irdma/uverbs.c:1940:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/irdma/uverbs.c:1943:19: call_function: inlined call to ‘get_cq_total_bytes’ from ‘irdma_uresize_cq’
rdma-core-59.0/providers/irdma/uverbs.c:1945:19: call_function: inlined call to ‘irdma_calloc_hw_buf’ from ‘irdma_uresize_cq’
rdma-core-59.0/providers/irdma/uverbs.c:1945:19: call_function: inlined call to ‘irdma_calloc_hw_buf’ from ‘irdma_uresize_cq’
rdma-core-59.0/providers/irdma/uverbs.c:1946:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/irdma/uverbs.c:1949:18: branch_false: ...to here
rdma-core-59.0/providers/irdma/uverbs.c:1949:18: acquire_memory: allocated here
rdma-core-59.0/providers/irdma/uverbs.c:1950:12: branch_false: following ‘false’ branch (when ‘cq_buf’ is non-NULL)...
rdma-core-59.0/providers/irdma/uverbs.c:1955:28: branch_false: ...to here
rdma-core-59.0/providers/irdma/uverbs.c:1963:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/irdma/uverbs.c:1966:15: branch_false: ...to here
rdma-core-59.0/providers/irdma/uverbs.c:1967:12: branch_false: following ‘false’ branch (when ‘ret == 0’)...
rdma-core-59.0/providers/irdma/uverbs.c:1970:9: branch_false: ...to here
rdma-core-59.0/providers/irdma/uverbs.c:1971:15: danger: ‘cq_buf’ leaks here; was allocated at [(20)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/19)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def623]
rdma-core-59.0/providers/irdma/uverbs.c:1979:9: warning[-Wanalyzer-malloc-leak]: leak of ‘cq_buf’
rdma-core-59.0/providers/irdma/uverbs.c:1905:5: enter_function: entry to ‘irdma_uresize_cq’
rdma-core-59.0/providers/irdma/uverbs.c:1927:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/irdma/uverbs.c:1930:12: branch_false: ...to here
rdma-core-59.0/providers/irdma/uverbs.c:1930:12: branch_false: following ‘false’ branch (when ‘cqe <= 1048575’)...
rdma-core-59.0/providers/irdma/uverbs.c:1933:9: branch_false: ...to here
rdma-core-59.0/providers/irdma/uverbs.c:1940:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/irdma/uverbs.c:1943:19: call_function: inlined call to ‘get_cq_total_bytes’ from ‘irdma_uresize_cq’
rdma-core-59.0/providers/irdma/uverbs.c:1945:19: call_function: inlined call to ‘irdma_calloc_hw_buf’ from ‘irdma_uresize_cq’
rdma-core-59.0/providers/irdma/uverbs.c:1945:19: call_function: inlined call to ‘irdma_calloc_hw_buf’ from ‘irdma_uresize_cq’
rdma-core-59.0/providers/irdma/uverbs.c:1946:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/irdma/uverbs.c:1949:18: branch_false: ...to here
rdma-core-59.0/providers/irdma/uverbs.c:1949:18: acquire_memory: allocated here
rdma-core-59.0/providers/irdma/uverbs.c:1950:12: branch_false: following ‘false’ branch (when ‘cq_buf’ is non-NULL)...
rdma-core-59.0/providers/irdma/uverbs.c:1955:28: branch_false: ...to here
rdma-core-59.0/providers/irdma/uverbs.c:1963:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/irdma/uverbs.c:1966:15: branch_false: ...to here
rdma-core-59.0/providers/irdma/uverbs.c:1967:12: branch_false: following ‘false’ branch (when ‘ret == 0’)...
rdma-core-59.0/providers/irdma/uverbs.c:1970:9: branch_false: ...to here
rdma-core-59.0/providers/irdma/uverbs.c:1973:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/irdma/uverbs.c:1976:29: branch_false: ...to here
rdma-core-59.0/providers/irdma/uverbs.c:1979:9: danger: ‘cq_buf’ leaks here; was allocated at [(20)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/19)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def624]
rdma-core-59.0/providers/irdma/uverbs.c:1990:9: warning[-Wanalyzer-malloc-leak]: leak of ‘cq_buf’
rdma-core-59.0/providers/irdma/uverbs.c:1905:5: enter_function: entry to ‘irdma_uresize_cq’
rdma-core-59.0/providers/irdma/uverbs.c:1927:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/irdma/uverbs.c:1930:12: branch_false: ...to here
rdma-core-59.0/providers/irdma/uverbs.c:1930:12: branch_false: following ‘false’ branch (when ‘cqe <= 1048575’)...
rdma-core-59.0/providers/irdma/uverbs.c:1933:9: branch_false: ...to here
rdma-core-59.0/providers/irdma/uverbs.c:1940:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/irdma/uverbs.c:1943:19: call_function: inlined call to ‘get_cq_total_bytes’ from ‘irdma_uresize_cq’
rdma-core-59.0/providers/irdma/uverbs.c:1945:19: call_function: inlined call to ‘irdma_calloc_hw_buf’ from ‘irdma_uresize_cq’
rdma-core-59.0/providers/irdma/uverbs.c:1945:19: call_function: inlined call to ‘irdma_calloc_hw_buf’ from ‘irdma_uresize_cq’
rdma-core-59.0/providers/irdma/uverbs.c:1946:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/irdma/uverbs.c:1949:18: branch_false: ...to here
rdma-core-59.0/providers/irdma/uverbs.c:1949:18: acquire_memory: allocated here
rdma-core-59.0/providers/irdma/uverbs.c:1950:12: branch_false: following ‘false’ branch (when ‘cq_buf’ is non-NULL)...
rdma-core-59.0/providers/irdma/uverbs.c:1955:28: branch_false: ...to here
rdma-core-59.0/providers/irdma/uverbs.c:1963:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/irdma/uverbs.c:1966:15: branch_false: ...to here
rdma-core-59.0/providers/irdma/uverbs.c:1990:9: danger: ‘cq_buf’ leaks here; was allocated at [(20)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/19)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def625]
rdma-core-59.0/providers/mana/mana.c:88:15: warning[-Wanalyzer-malloc-leak]: leak of ‘pd’
rdma-core-59.0/providers/mana/mana.c:84:14: acquire_memory: allocated here
rdma-core-59.0/providers/mana/mana.c:85:12: branch_false: following ‘false’ branch (when ‘pd’ is non-NULL)...
rdma-core-59.0/providers/mana/mana.c:88:15: branch_false: ...to here
rdma-core-59.0/providers/mana/mana.c:88:15: danger: ‘pd’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def626]
rdma-core-59.0/providers/mana/mana.c:133:16: warning[-Wanalyzer-malloc-leak]: leak of ‘mparent_domain’
rdma-core-59.0/providers/mana/mana.c:101:1: enter_function: entry to ‘mana_alloc_parent_domain’
rdma-core-59.0/providers/mana/mana.c:106:13: call_function: inlined call to ‘ibv_check_alloc_parent_domain’ from ‘mana_alloc_parent_domain’
rdma-core-59.0/providers/mana/mana.c:111:30: branch_false: ...to here
rdma-core-59.0/providers/mana/mana.c:111:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mana/mana.c:120:26: branch_false: ...to here
rdma-core-59.0/providers/mana/mana.c:120:26: acquire_memory: allocated here
rdma-core-59.0/providers/mana/mana.c:121:12: branch_false: following ‘false’ branch (when ‘mparent_domain’ is non-NULL)...
rdma-core-59.0/providers/mana/mana.c:126:9: branch_false: ...to here
rdma-core-59.0/providers/mana/mana.c:130:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mana/mana.c:133:16: branch_false: ...to here
rdma-core-59.0/providers/mana/mana.c:133:16: danger: ‘mparent_domain’ leaks here; was allocated at [(7)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def627]
rdma-core-59.0/providers/mana/mana.c:172:15: warning[-Wanalyzer-malloc-leak]: leak of ‘vmr’
rdma-core-59.0/providers/mana/mana.c:168:15: acquire_memory: allocated here
rdma-core-59.0/providers/mana/mana.c:169:12: branch_false: following ‘false’ branch (when ‘vmr’ is non-NULL)...
rdma-core-59.0/providers/mana/mana.c:172:15: branch_false: ...to here
rdma-core-59.0/providers/mana/mana.c:172:15: danger: ‘vmr’ leaks here; was allocated at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def628]
rdma-core-59.0/providers/mana/mana.c:196:15: warning[-Wanalyzer-malloc-leak]: leak of ‘vmr’
rdma-core-59.0/providers/mana/mana.c:192:15: acquire_memory: allocated here
rdma-core-59.0/providers/mana/mana.c:193:12: branch_false: following ‘false’ branch (when ‘vmr’ is non-NULL)...
rdma-core-59.0/providers/mana/mana.c:196:15: branch_false: ...to here
rdma-core-59.0/providers/mana/mana.c:196:15: danger: ‘vmr’ leaks here; was allocated at [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def629]
rdma-core-59.0/providers/mana/mana.c:296:16: warning[-Wanalyzer-malloc-leak]: leak of ‘dev’
rdma-core-59.0/providers/mana/mana.c:292:15: acquire_memory: allocated here
rdma-core-59.0/providers/mana/mana.c:293:12: branch_false: following ‘false’ branch (when ‘dev’ is non-NULL)...
rdma-core-59.0/providers/mana/mana.c:296:16: branch_false: ...to here
rdma-core-59.0/providers/mana/mana.c:296:16: danger: ‘dev’ leaks here; was allocated at [(1)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def630]
rdma-core-59.0/providers/mana/qp.c:79:31: warning[-Wanalyzer-malloc-leak]: leak of ‘qp’
rdma-core-59.0/providers/mana/qp.c:364:16: enter_function: entry to ‘mana_create_qp’
rdma-core-59.0/providers/mana/qp.c:369:24: call_function: calling ‘mana_create_qp_raw’ from ‘mana_create_qp’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def631]
rdma-core-59.0/providers/mana/qp.c:93:15: warning[-Wanalyzer-malloc-leak]: leak of ‘qp’
rdma-core-59.0/providers/mana/qp.c:364:16: enter_function: entry to ‘mana_create_qp’
rdma-core-59.0/providers/mana/qp.c:369:24: call_function: calling ‘mana_create_qp_raw’ from ‘mana_create_qp’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def632]
rdma-core-59.0/providers/mana/qp.c:545:15: warning[-Wanalyzer-malloc-leak]: leak of ‘qp’
rdma-core-59.0/providers/mana/qp.c:514:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mana/qp.c:521:13: branch_false: ...to here
rdma-core-59.0/providers/mana/qp.c:521:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mana/qp.c:530:37: branch_false: ...to here
rdma-core-59.0/providers/mana/qp.c:532:14: acquire_memory: allocated here
rdma-core-59.0/providers/mana/qp.c:533:12: branch_false: following ‘false’ branch (when ‘qp’ is non-NULL)...
rdma-core-59.0/providers/mana/qp.c:536:40: branch_false: ...to here
rdma-core-59.0/providers/mana/qp.c:545:15: danger: ‘qp’ leaks here; was allocated at [(5)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def633]
rdma-core-59.0/providers/mana/wq.c:58:19: warning[-Wanalyzer-malloc-leak]: leak of ‘wq’
rdma-core-59.0/providers/mana/wq.c:44:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mana/wq.c:51:14: acquire_memory: allocated here
rdma-core-59.0/providers/mana/wq.c:52:12: branch_false: following ‘false’ branch (when ‘wq’ is non-NULL)...
rdma-core-59.0/providers/mana/wq.c:55:19: branch_false: ...to here
rdma-core-59.0/providers/mana/wq.c:58:19: danger: ‘wq’ leaks here; was allocated at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def634]
rdma-core-59.0/providers/mana/wq.c:71:15: warning[-Wanalyzer-malloc-leak]: leak of ‘wq’
rdma-core-59.0/providers/mana/wq.c:44:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mana/wq.c:51:14: acquire_memory: allocated here
rdma-core-59.0/providers/mana/wq.c:52:12: branch_false: following ‘false’ branch (when ‘wq’ is non-NULL)...
rdma-core-59.0/providers/mana/wq.c:55:19: branch_false: ...to here
rdma-core-59.0/providers/mana/wq.c:60:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mana/wq.c:65:19: branch_false: ...to here
rdma-core-59.0/providers/mana/wq.c:71:15: danger: ‘wq’ leaks here; was allocated at [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def635]
rdma-core-59.0/providers/mana/wq.c:127:15: warning[-Wanalyzer-malloc-leak]: leak of ‘ind_table’
rdma-core-59.0/providers/mana/wq.c:123:21: acquire_memory: allocated here
rdma-core-59.0/providers/mana/wq.c:124:12: branch_false: following ‘false’ branch (when ‘ind_table’ is non-NULL)...
rdma-core-59.0/providers/mana/wq.c:127:15: branch_false: ...to here
rdma-core-59.0/providers/mana/wq.c:127:15: danger: ‘ind_table’ leaks here; was allocated at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def636]
rdma-core-59.0/providers/mlx4/dbrec.c:68:13: warning[-Wanalyzer-malloc-leak]: leak of ‘page’
rdma-core-59.0/providers/mlx4/dbrec.c:64:16: acquire_memory: allocated here
rdma-core-59.0/providers/mlx4/dbrec.c:65:12: branch_false: following ‘false’ branch (when ‘page’ is non-NULL)...
rdma-core-59.0/providers/mlx4/dbrec.c:68:13: branch_false: ...to here
rdma-core-59.0/providers/mlx4/dbrec.c:68:13: danger: ‘page’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def637]
rdma-core-59.0/providers/mlx4/mlx4.c:266:16: warning[-Wanalyzer-malloc-leak]: leak of ‘dev’
rdma-core-59.0/providers/mlx4/mlx4.c:259:15: acquire_memory: allocated here
rdma-core-59.0/providers/mlx4/mlx4.c:260:12: branch_false: following ‘false’ branch (when ‘dev’ is non-NULL)...
rdma-core-59.0/providers/mlx4/mlx4.c:263:28: branch_false: ...to here
rdma-core-59.0/providers/mlx4/mlx4.c:266:16: danger: ‘dev’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def638]
rdma-core-59.0/providers/mlx4/verbs.c:231:13: warning[-Wanalyzer-malloc-leak]: leak of ‘pd’
rdma-core-59.0/providers/mlx4/verbs.c:227:14: acquire_memory: allocated here
rdma-core-59.0/providers/mlx4/verbs.c:228:12: branch_false: following ‘false’ branch (when ‘pd’ is non-NULL)...
rdma-core-59.0/providers/mlx4/verbs.c:231:13: branch_false: ...to here
rdma-core-59.0/providers/mlx4/verbs.c:231:13: danger: ‘pd’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def639]
rdma-core-59.0/providers/mlx4/verbs.c:266:15: warning[-Wanalyzer-malloc-leak]: leak of ‘xrcd’
rdma-core-59.0/providers/mlx4/verbs.c:262:16: acquire_memory: allocated here
rdma-core-59.0/providers/mlx4/verbs.c:263:12: branch_false: following ‘false’ branch (when ‘xrcd’ is non-NULL)...
rdma-core-59.0/providers/mlx4/verbs.c:266:15: branch_false: ...to here
rdma-core-59.0/providers/mlx4/verbs.c:266:15: danger: ‘xrcd’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def640]
rdma-core-59.0/providers/mlx4/verbs.c:314:15: warning[-Wanalyzer-malloc-leak]: leak of ‘vmr’
rdma-core-59.0/providers/mlx4/verbs.c:310:15: acquire_memory: allocated here
rdma-core-59.0/providers/mlx4/verbs.c:311:12: branch_false: following ‘false’ branch (when ‘vmr’ is non-NULL)...
rdma-core-59.0/providers/mlx4/verbs.c:314:15: branch_false: ...to here
rdma-core-59.0/providers/mlx4/verbs.c:314:15: danger: ‘vmr’ leaks here; was allocated at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def641]
rdma-core-59.0/providers/mlx4/verbs.c:362:15: warning[-Wanalyzer-malloc-leak]: leak of ‘mw’
rdma-core-59.0/providers/mlx4/verbs.c:358:14: acquire_memory: allocated here
rdma-core-59.0/providers/mlx4/verbs.c:359:12: branch_false: following ‘false’ branch (when ‘mw’ is non-NULL)...
rdma-core-59.0/providers/mlx4/verbs.c:362:15: branch_false: ...to here
rdma-core-59.0/providers/mlx4/verbs.c:362:15: danger: ‘mw’ leaks here; was allocated at [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def642]
rdma-core-59.0/providers/mlx4/verbs.c:932:17: warning[-Wanalyzer-malloc-leak]: leak of ‘qp’
rdma-core-59.0/providers/mlx4/verbs.c:892:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx4/verbs.c:898:13: branch_false: ...to here
rdma-core-59.0/providers/mlx4/verbs.c:899:20: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx4/verbs.c:900:21: branch_false: ...to here
rdma-core-59.0/providers/mlx4/verbs.c:899:21: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx4/verbs.c:901:21: branch_false: ...to here
rdma-core-59.0/providers/mlx4/verbs.c:899:21: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx4/verbs.c:902:21: branch_false: ...to here
rdma-core-59.0/providers/mlx4/verbs.c:899:21: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx4/verbs.c:915:13: branch_false: ...to here
rdma-core-59.0/providers/mlx4/verbs.c:915:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx4/verbs.c:920:12: branch_false: ...to here
rdma-core-59.0/providers/mlx4/verbs.c:920:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx4/verbs.c:925:14: branch_false: ...to here
rdma-core-59.0/providers/mlx4/verbs.c:925:14: acquire_memory: allocated here
rdma-core-59.0/providers/mlx4/verbs.c:926:12: branch_false: following ‘false’ branch (when ‘qp’ is non-NULL)...
rdma-core-59.0/providers/mlx4/verbs.c:929:13: branch_false: ...to here
rdma-core-59.0/providers/mlx4/verbs.c:929:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx4/verbs.c:932:17: branch_false: ...to here
rdma-core-59.0/providers/mlx4/verbs.c:932:17: danger: ‘qp’ leaks here; was allocated at [(15)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/14)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def643]
rdma-core-59.0/providers/mlx4/verbs.c:952:13: warning[-Wanalyzer-malloc-leak]: leak of ‘qp’
rdma-core-59.0/providers/mlx4/verbs.c:892:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx4/verbs.c:898:13: branch_false: ...to here
rdma-core-59.0/providers/mlx4/verbs.c:899:20: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx4/verbs.c:900:21: branch_false: ...to here
rdma-core-59.0/providers/mlx4/verbs.c:899:21: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx4/verbs.c:901:21: branch_false: ...to here
rdma-core-59.0/providers/mlx4/verbs.c:899:21: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx4/verbs.c:902:21: branch_false: ...to here
rdma-core-59.0/providers/mlx4/verbs.c:899:21: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx4/verbs.c:915:13: branch_false: ...to here
rdma-core-59.0/providers/mlx4/verbs.c:915:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx4/verbs.c:920:12: branch_false: ...to here
rdma-core-59.0/providers/mlx4/verbs.c:920:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx4/verbs.c:925:14: branch_false: ...to here
rdma-core-59.0/providers/mlx4/verbs.c:925:14: acquire_memory: allocated here
rdma-core-59.0/providers/mlx4/verbs.c:926:12: branch_false: following ‘false’ branch (when ‘qp’ is non-NULL)...
rdma-core-59.0/providers/mlx4/verbs.c:929:13: branch_false: ...to here
rdma-core-59.0/providers/mlx4/verbs.c:929:12: branch_true: following ‘true’ branch...
rdma-core-59.0/providers/mlx4/verbs.c:930:17: branch_true: ...to here
rdma-core-59.0/providers/mlx4/verbs.c:952:13: danger: ‘qp’ leaks here; was allocated at [(15)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/14)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def644]
rdma-core-59.0/providers/mlx4/verbs.c:1083:15: warning[-Wanalyzer-malloc-leak]: leak of ‘qp’
rdma-core-59.0/providers/mlx4/verbs.c:1079:14: acquire_memory: allocated here
rdma-core-59.0/providers/mlx4/verbs.c:1080:12: branch_false: following ‘false’ branch (when ‘qp’ is non-NULL)...
rdma-core-59.0/providers/mlx4/verbs.c:1083:15: branch_false: ...to here
rdma-core-59.0/providers/mlx4/verbs.c:1083:15: danger: ‘qp’ leaks here; was allocated at [(1)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def645]
rdma-core-59.0/providers/mlx4/verbs.c:1335:23: warning[-Wanalyzer-malloc-leak]: leak of ‘ah’
rdma-core-59.0/providers/mlx4/verbs.c:1355:16: enter_function: entry to ‘mlx4_create_ah’
rdma-core-59.0/providers/mlx4/verbs.c:1360:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx4/verbs.c:1363:13: branch_false: ...to here
rdma-core-59.0/providers/mlx4/verbs.c:1369:14: acquire_memory: allocated here
rdma-core-59.0/providers/mlx4/verbs.c:1370:12: branch_false: following ‘false’ branch (when ‘ah’ is non-NULL)...
rdma-core-59.0/providers/mlx4/verbs.c:1373:16: branch_false: ...to here
rdma-core-59.0/providers/mlx4/verbs.c:1377:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx4/verbs.c:1382:46: branch_false: ...to here
rdma-core-59.0/providers/mlx4/verbs.c:1384:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx4/verbs.c:1388:13: branch_false: ...to here
rdma-core-59.0/providers/mlx4/verbs.c:1388:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx4/verbs.c:1398:12: branch_false: ...to here
rdma-core-59.0/providers/mlx4/verbs.c:1398:12: branch_true: following ‘true’ branch...
rdma-core-59.0/providers/mlx4/verbs.c:1399:21: branch_true: ...to here
rdma-core-59.0/providers/mlx4/verbs.c:1399:20: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx4/verbs.c:1415:29: branch_false: ...to here
rdma-core-59.0/providers/mlx4/verbs.c:1415:29: call_function: calling ‘mlx4_resolve_grh_to_l2’ from ‘mlx4_create_ah’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def646]
rdma-core-59.0/providers/mlx4/verbs.c:1402:29: warning[-Wanalyzer-malloc-leak]: leak of ‘ah’
rdma-core-59.0/providers/mlx4/verbs.c:1360:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx4/verbs.c:1363:13: branch_false: ...to here
rdma-core-59.0/providers/mlx4/verbs.c:1369:14: acquire_memory: allocated here
rdma-core-59.0/providers/mlx4/verbs.c:1370:12: branch_false: following ‘false’ branch (when ‘ah’ is non-NULL)...
rdma-core-59.0/providers/mlx4/verbs.c:1373:16: branch_false: ...to here
rdma-core-59.0/providers/mlx4/verbs.c:1377:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx4/verbs.c:1382:46: branch_false: ...to here
rdma-core-59.0/providers/mlx4/verbs.c:1384:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx4/verbs.c:1388:13: branch_false: ...to here
rdma-core-59.0/providers/mlx4/verbs.c:1388:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx4/verbs.c:1398:12: branch_false: ...to here
rdma-core-59.0/providers/mlx4/verbs.c:1398:12: branch_true: following ‘true’ branch...
rdma-core-59.0/providers/mlx4/verbs.c:1399:21: branch_true: ...to here
rdma-core-59.0/providers/mlx4/verbs.c:1399:20: branch_true: following ‘true’ branch...
rdma-core-59.0/providers/mlx4/verbs.c:1403:57: branch_true: ...to here
rdma-core-59.0/providers/mlx4/verbs.c:1402:29: danger: ‘ah’ leaks here; was allocated at [(3)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def647]
rdma-core-59.0/providers/mlx4/verbs.c:1488:13: warning[-Wanalyzer-malloc-leak]: leak of ‘qp’
rdma-core-59.0/providers/mlx4/verbs.c:1441:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx4/verbs.c:1447:13: branch_false: ...to here
rdma-core-59.0/providers/mlx4/verbs.c:1448:20: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx4/verbs.c:1449:21: branch_false: ...to here
rdma-core-59.0/providers/mlx4/verbs.c:1448:21: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx4/verbs.c:1461:30: branch_false: ...to here
rdma-core-59.0/providers/mlx4/verbs.c:1461:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx4/verbs.c:1466:12: branch_false: ...to here
rdma-core-59.0/providers/mlx4/verbs.c:1472:14: acquire_memory: allocated here
rdma-core-59.0/providers/mlx4/verbs.c:1473:12: branch_false: following ‘false’ branch (when ‘qp’ is non-NULL)...
rdma-core-59.0/providers/mlx4/verbs.c:1476:13: branch_false: ...to here
rdma-core-59.0/providers/mlx4/verbs.c:1488:13: danger: ‘qp’ leaks here; was allocated at [(9)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def648]
rdma-core-59.0/providers/mlx4/verbs.c:1580:15: warning[-Wanalyzer-malloc-leak]: leak of ‘flow_id’
rdma-core-59.0/providers/mlx4/verbs.c:1576:19: acquire_memory: allocated here
rdma-core-59.0/providers/mlx4/verbs.c:1577:12: branch_false: following ‘false’ branch (when ‘flow_id’ is non-NULL)...
rdma-core-59.0/providers/mlx4/verbs.c:1580:15: branch_false: ...to here
rdma-core-59.0/providers/mlx4/verbs.c:1580:15: danger: ‘flow_id’ leaks here; was allocated at [(1)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def649]
rdma-core-59.0/providers/mlx4/verbs.c:1649:15: warning[-Wanalyzer-malloc-leak]: leak of ‘ind_table’
rdma-core-59.0/providers/mlx4/verbs.c:1645:21: acquire_memory: allocated here
rdma-core-59.0/providers/mlx4/verbs.c:1646:12: branch_false: following ‘false’ branch (when ‘ind_table’ is non-NULL)...
rdma-core-59.0/providers/mlx4/verbs.c:1649:15: branch_false: ...to here
rdma-core-59.0/providers/mlx4/verbs.c:1649:15: danger: ‘ind_table’ leaks here; was allocated at [(1)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def650]
rdma-core-59.0/providers/mlx5/buf.c:160:17: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
rdma-core-59.0/providers/mlx5/buf.c:122:12: enter_function: entry to ‘alloc_huge_buf’
rdma-core-59.0/providers/mlx5/buf.c:133:12: branch_false: following ‘false’ branch (when ‘nchunk != 0’)...
rdma-core-59.0/providers/mlx5/buf.c:136:9: branch_false: ...to here
rdma-core-59.0/providers/mlx5/buf.c:151:9: call_function: calling ‘mlx5_spin_unlock’ from ‘alloc_huge_buf’
rdma-core-59.0/providers/mlx5/buf.c:151:9: return_function: returning to ‘alloc_huge_buf’ from ‘mlx5_spin_unlock’
rdma-core-59.0/providers/mlx5/buf.c:153:12: branch_true: following ‘true’ branch (when ‘found == 0’)...
rdma-core-59.0/providers/mlx5/buf.c:154:24: branch_true: ...to here
rdma-core-59.0/providers/mlx5/buf.c:154:24: call_function: calling ‘alloc_huge_mem’ from ‘alloc_huge_buf’
rdma-core-59.0/providers/mlx5/buf.c:154:24: return_function: returning to ‘alloc_huge_buf’ from ‘alloc_huge_mem’
rdma-core-59.0/providers/mlx5/buf.c:155:20: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/buf.c:158:17: branch_false: ...to here
rdma-core-59.0/providers/mlx5/buf.c:160:17: danger: ‘<unknown>’ leaks here; was allocated at [(21)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/20)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def651]
rdma-core-59.0/providers/mlx5/buf.c:160:17: warning[-Wanalyzer-malloc-leak]: leak of ‘alloc_huge_mem(*buf.length)’
rdma-core-59.0/providers/mlx5/buf.c:122:12: enter_function: entry to ‘alloc_huge_buf’
rdma-core-59.0/providers/mlx5/buf.c:133:12: branch_false: following ‘false’ branch (when ‘nchunk != 0’)...
rdma-core-59.0/providers/mlx5/buf.c:136:9: branch_false: ...to here
rdma-core-59.0/providers/mlx5/buf.c:151:9: call_function: calling ‘mlx5_spin_unlock’ from ‘alloc_huge_buf’
rdma-core-59.0/providers/mlx5/buf.c:151:9: return_function: returning to ‘alloc_huge_buf’ from ‘mlx5_spin_unlock’
rdma-core-59.0/providers/mlx5/buf.c:153:12: branch_true: following ‘true’ branch (when ‘found == 0’)...
rdma-core-59.0/providers/mlx5/buf.c:154:24: branch_true: ...to here
rdma-core-59.0/providers/mlx5/buf.c:154:24: call_function: calling ‘alloc_huge_mem’ from ‘alloc_huge_buf’
rdma-core-59.0/providers/mlx5/buf.c:154:24: return_function: returning to ‘alloc_huge_buf’ from ‘alloc_huge_mem’
rdma-core-59.0/providers/mlx5/buf.c:155:20: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/buf.c:158:17: branch_false: ...to here
rdma-core-59.0/providers/mlx5/buf.c:160:17: danger: ‘alloc_huge_mem(*buf.length)’ leaks here; was allocated at [(13)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/12)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def652]
rdma-core-59.0/providers/mlx5/dbrec.c:66:13: warning[-Wanalyzer-malloc-leak]: leak of ‘page’
rdma-core-59.0/providers/mlx5/dbrec.c:62:16: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/dbrec.c:63:12: branch_false: following ‘false’ branch (when ‘page’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dbrec.c:66:13: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dbrec.c:66:13: danger: ‘page’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def653]
rdma-core-59.0/providers/mlx5/dbrec.c:67:23: warning[-Wanalyzer-malloc-leak]: leak of ‘page’
rdma-core-59.0/providers/mlx5/dbrec.c:62:16: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/dbrec.c:63:12: branch_false: following ‘false’ branch (when ‘page’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dbrec.c:66:13: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dbrec.c:66:12: branch_true: following ‘true’ branch...
rdma-core-59.0/providers/mlx5/dbrec.c:67:23: branch_true: ...to here
rdma-core-59.0/providers/mlx5/dbrec.c:67:23: danger: ‘page’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def654]
rdma-core-59.0/providers/mlx5/dbrec.c:69:23: warning[-Wanalyzer-malloc-leak]: leak of ‘page’
rdma-core-59.0/providers/mlx5/dbrec.c:62:16: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/dbrec.c:63:12: branch_false: following ‘false’ branch (when ‘page’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dbrec.c:66:13: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dbrec.c:66:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dbrec.c:69:23: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dbrec.c:69:23: danger: ‘page’ leaks here; was allocated at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def655]
rdma-core-59.0/providers/mlx5/dbrec.c:97:22: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
rdma-core-59.0/providers/mlx5/dbrec.c:87:9: enter_function: entry to ‘mlx5_alloc_dbrec’
rdma-core-59.0/providers/mlx5/dbrec.c:94:12: branch_true: following ‘true’ branch...
rdma-core-59.0/providers/mlx5/dbrec.c:95:61: call_function: inlined call to ‘to_mparent_domain’ from ‘mlx5_alloc_dbrec’
branch_false: ...to here
rdma-core-59.0/providers/mlx5/dbrec.c:97:22: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def656]
rdma-core-59.0/providers/mlx5/dbrec.c:153:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
rdma-core-59.0/providers/mlx5/dbrec.c:142:6: enter_function: entry to ‘mlx5_free_db’
rdma-core-59.0/providers/mlx5/dbrec.c:150:12: branch_true: following ‘true’ branch (when ‘custom_alloc != 0’)...
rdma-core-59.0/providers/mlx5/dbrec.c:151:61: call_function: inlined call to ‘to_mparent_domain’ from ‘mlx5_free_db’
branch_false: ...to here
rdma-core-59.0/providers/mlx5/dbrec.c:153:17: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def657]
rdma-core-59.0/providers/mlx5/dr_action.c:1589:15: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
rdma-core-59.0/providers/mlx5/dr_action.c:1703:1: enter_function: entry to ‘mlx5dv_dr_action_create_packet_reformat’
rdma-core-59.0/providers/mlx5/dr_action.c:1715:12: branch_false: following ‘false’ branch (when ‘flags <= 1’)...
rdma-core-59.0/providers/mlx5/dr_action.c:1720:14: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:1729:12: branch_false: following ‘false’ branch...
branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:1733:18: call_function: calling ‘dr_action_create_generic’ from ‘mlx5dv_dr_action_create_packet_reformat’
rdma-core-59.0/providers/mlx5/dr_action.c:1733:18: return_function: returning to ‘mlx5dv_dr_action_create_packet_reformat’ from ‘dr_action_create_generic’
rdma-core-59.0/providers/mlx5/dr_action.c:1734:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:1737:9: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:1740:12: branch_false: following ‘false’ branch (when ‘flags == 0’)...
rdma-core-59.0/providers/mlx5/dr_action.c:1747:17: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:1748:23: call_function: calling ‘dr_action_create_reformat_action’ from ‘mlx5dv_dr_action_create_packet_reformat’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def658]
rdma-core-59.0/providers/mlx5/dr_action.c:1589:15: warning[-Wanalyzer-malloc-leak]: leak of ‘dr_action_create_generic(<unknown>)’
rdma-core-59.0/providers/mlx5/dr_action.c:1703:1: enter_function: entry to ‘mlx5dv_dr_action_create_packet_reformat’
rdma-core-59.0/providers/mlx5/dr_action.c:1715:12: branch_false: following ‘false’ branch (when ‘flags <= 1’)...
rdma-core-59.0/providers/mlx5/dr_action.c:1720:14: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:1729:12: branch_false: following ‘false’ branch...
branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:1733:18: call_function: calling ‘dr_action_create_generic’ from ‘mlx5dv_dr_action_create_packet_reformat’
rdma-core-59.0/providers/mlx5/dr_action.c:1733:18: return_function: returning to ‘mlx5dv_dr_action_create_packet_reformat’ from ‘dr_action_create_generic’
rdma-core-59.0/providers/mlx5/dr_action.c:1734:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:1737:9: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:1740:12: branch_false: following ‘false’ branch (when ‘flags == 0’)...
rdma-core-59.0/providers/mlx5/dr_action.c:1747:17: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:1748:23: call_function: calling ‘dr_action_create_reformat_action’ from ‘mlx5dv_dr_action_create_packet_reformat’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def659]
rdma-core-59.0/providers/mlx5/dr_action.c:1620:15: warning[-Wanalyzer-malloc-leak]: leak of ‘dr_action_create_generic(<unknown>)’
rdma-core-59.0/providers/mlx5/dr_action.c:1703:1: enter_function: entry to ‘mlx5dv_dr_action_create_packet_reformat’
rdma-core-59.0/providers/mlx5/dr_action.c:1715:12: branch_false: following ‘false’ branch (when ‘flags <= 1’)...
rdma-core-59.0/providers/mlx5/dr_action.c:1720:14: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:1729:12: branch_false: following ‘false’ branch...
branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:1733:18: call_function: calling ‘dr_action_create_generic’ from ‘mlx5dv_dr_action_create_packet_reformat’
rdma-core-59.0/providers/mlx5/dr_action.c:1733:18: return_function: returning to ‘mlx5dv_dr_action_create_packet_reformat’ from ‘dr_action_create_generic’
rdma-core-59.0/providers/mlx5/dr_action.c:1734:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:1737:9: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:1740:12: branch_false: following ‘false’ branch (when ‘flags == 0’)...
rdma-core-59.0/providers/mlx5/dr_action.c:1747:17: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:1748:23: call_function: calling ‘dr_action_create_reformat_action’ from ‘mlx5dv_dr_action_create_packet_reformat’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def660]
rdma-core-59.0/providers/mlx5/dr_action.c:1646:21: warning[-Wanalyzer-malloc-leak]: leak of ‘dr_action_create_generic(<unknown>)’
rdma-core-59.0/providers/mlx5/dr_action.c:1703:1: enter_function: entry to ‘mlx5dv_dr_action_create_packet_reformat’
rdma-core-59.0/providers/mlx5/dr_action.c:1715:12: branch_false: following ‘false’ branch (when ‘flags <= 1’)...
rdma-core-59.0/providers/mlx5/dr_action.c:1720:14: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:1729:12: branch_false: following ‘false’ branch...
branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:1733:18: call_function: calling ‘dr_action_create_generic’ from ‘mlx5dv_dr_action_create_packet_reformat’
rdma-core-59.0/providers/mlx5/dr_action.c:1733:18: return_function: returning to ‘mlx5dv_dr_action_create_packet_reformat’ from ‘dr_action_create_generic’
rdma-core-59.0/providers/mlx5/dr_action.c:1734:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:1737:9: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:1740:12: branch_false: following ‘false’ branch (when ‘flags == 0’)...
rdma-core-59.0/providers/mlx5/dr_action.c:1747:17: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:1748:23: call_function: calling ‘dr_action_create_reformat_action’ from ‘mlx5dv_dr_action_create_packet_reformat’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def661]
rdma-core-59.0/providers/mlx5/dr_action.c:1672:23: warning[-Wanalyzer-malloc-leak]: leak of ‘dr_action_create_generic(<unknown>)’
rdma-core-59.0/providers/mlx5/dr_action.c:1703:1: enter_function: entry to ‘mlx5dv_dr_action_create_packet_reformat’
rdma-core-59.0/providers/mlx5/dr_action.c:1715:12: branch_false: following ‘false’ branch (when ‘flags <= 1’)...
rdma-core-59.0/providers/mlx5/dr_action.c:1720:14: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:1729:12: branch_false: following ‘false’ branch...
branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:1733:18: call_function: calling ‘dr_action_create_generic’ from ‘mlx5dv_dr_action_create_packet_reformat’
rdma-core-59.0/providers/mlx5/dr_action.c:1733:18: return_function: returning to ‘mlx5dv_dr_action_create_packet_reformat’ from ‘dr_action_create_generic’
rdma-core-59.0/providers/mlx5/dr_action.c:1734:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:1737:9: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:1740:12: branch_false: following ‘false’ branch (when ‘flags == 0’)...
rdma-core-59.0/providers/mlx5/dr_action.c:1747:17: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:1748:23: call_function: calling ‘dr_action_create_reformat_action’ from ‘mlx5dv_dr_action_create_packet_reformat’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def662]
rdma-core-59.0/providers/mlx5/dr_action.c:1672:23: warning[-Wanalyzer-malloc-leak]: leak of ‘hw_actions’
rdma-core-59.0/providers/mlx5/dr_action.c:1666:30: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/dr_action.c:1667:20: branch_false: following ‘false’ branch (when ‘hw_actions’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_action.c:1672:23: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:1672:23: danger: ‘hw_actions’ leaks here; was allocated at [(3)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def663]
rdma-core-59.0/providers/mlx5/dr_action.c:1818:26: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
rdma-core-59.0/providers/mlx5/dr_action.c:2843:1: enter_function: entry to ‘mlx5dv_dr_action_create_flow_sampler’
rdma-core-59.0/providers/mlx5/dr_action.c:2850:12: branch_false: following ‘false’ branch (when ‘dmn’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_action.c:2851:42: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2850:13: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2852:14: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2850:13: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2852:38: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2850:13: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2857:13: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2857:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2863:12: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2869:18: call_function: calling ‘dr_action_create_generic’ from ‘mlx5dv_dr_action_create_flow_sampler’
rdma-core-59.0/providers/mlx5/dr_action.c:2869:18: return_function: returning to ‘mlx5dv_dr_action_create_flow_sampler’ from ‘dr_action_create_generic’
rdma-core-59.0/providers/mlx5/dr_action.c:2870:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2873:9: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2875:36: call_function: calling ‘dr_action_create_sampler_term_tbl’ from ‘mlx5dv_dr_action_create_flow_sampler’
rdma-core-59.0/providers/mlx5/dr_action.c:2875:36: return_function: returning to ‘mlx5dv_dr_action_create_flow_sampler’ from ‘dr_action_create_sampler_term_tbl’
rdma-core-59.0/providers/mlx5/dr_action.c:2876:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2879:43: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2879:43: call_function: calling ‘dr_action_create_sampler’ from ‘mlx5dv_dr_action_create_flow_sampler’
rdma-core-59.0/providers/mlx5/dr_action.c:2879:43: return_function: returning to ‘mlx5dv_dr_action_create_flow_sampler’ from ‘dr_action_create_sampler’
rdma-core-59.0/providers/mlx5/dr_action.c:2882:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2885:12: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2885:12: branch_true: following ‘true’ branch (when ‘restore != 0’)...
rdma-core-59.0/providers/mlx5/dr_action.c:2888:47: branch_true: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2888:47: call_function: calling ‘dr_action_create_sampler_restore_tbl’ from ‘mlx5dv_dr_action_create_flow_sampler’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def664]
rdma-core-59.0/providers/mlx5/dr_action.c:1818:26: warning[-Wanalyzer-malloc-leak]: leak of ‘calloc(2, 8)’
rdma-core-59.0/providers/mlx5/dr_action.c:2739:1: enter_function: entry to ‘dr_action_create_sampler_restore_tbl’
rdma-core-59.0/providers/mlx5/dr_action.c:2752:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2760:16: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2761:12: branch_false: following ‘false’ branch (when ‘mask’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_action.c:2765:9: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2768:12: branch_false: following ‘false’ branch (when ‘restore’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_action.c:2773:52: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2774:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2777:28: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2778:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2781:9: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2782:28: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/dr_action.c:2784:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2790:17: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2790:17: call_function: calling ‘mlx5dv_dr_action_create_modify_header’ from ‘dr_action_create_sampler_restore_tbl’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def665]
rdma-core-59.0/providers/mlx5/dr_action.c:1818:26: warning[-Wanalyzer-malloc-leak]: leak of ‘dr_action_create_generic(13)’
rdma-core-59.0/providers/mlx5/dr_action.c:2843:1: enter_function: entry to ‘mlx5dv_dr_action_create_flow_sampler’
rdma-core-59.0/providers/mlx5/dr_action.c:2850:12: branch_false: following ‘false’ branch (when ‘dmn’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_action.c:2851:42: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2850:13: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2852:14: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2850:13: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2852:38: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2850:13: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2857:13: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2857:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2863:12: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2869:18: call_function: calling ‘dr_action_create_generic’ from ‘mlx5dv_dr_action_create_flow_sampler’
rdma-core-59.0/providers/mlx5/dr_action.c:2869:18: return_function: returning to ‘mlx5dv_dr_action_create_flow_sampler’ from ‘dr_action_create_generic’
rdma-core-59.0/providers/mlx5/dr_action.c:2870:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2873:9: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2875:36: call_function: calling ‘dr_action_create_sampler_term_tbl’ from ‘mlx5dv_dr_action_create_flow_sampler’
rdma-core-59.0/providers/mlx5/dr_action.c:2875:36: return_function: returning to ‘mlx5dv_dr_action_create_flow_sampler’ from ‘dr_action_create_sampler_term_tbl’
rdma-core-59.0/providers/mlx5/dr_action.c:2876:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2879:43: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2879:43: call_function: calling ‘dr_action_create_sampler’ from ‘mlx5dv_dr_action_create_flow_sampler’
rdma-core-59.0/providers/mlx5/dr_action.c:2879:43: return_function: returning to ‘mlx5dv_dr_action_create_flow_sampler’ from ‘dr_action_create_sampler’
rdma-core-59.0/providers/mlx5/dr_action.c:2882:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2885:12: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2885:12: branch_true: following ‘true’ branch (when ‘restore != 0’)...
rdma-core-59.0/providers/mlx5/dr_action.c:2888:47: branch_true: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2888:47: call_function: calling ‘dr_action_create_sampler_restore_tbl’ from ‘mlx5dv_dr_action_create_flow_sampler’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def666]
rdma-core-59.0/providers/mlx5/dr_action.c:1818:26: warning[-Wanalyzer-malloc-leak]: leak of ‘dr_action_create_generic(9)’
rdma-core-59.0/providers/mlx5/dr_action.c:2280:1: enter_function: entry to ‘mlx5dv_dr_action_create_modify_header’
rdma-core-59.0/providers/mlx5/dr_action.c:2290:12: branch_false: following ‘false’ branch (when ‘flags <= 1’)...
rdma-core-59.0/providers/mlx5/dr_action.c:2295:13: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2295:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2301:14: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2308:18: call_function: calling ‘dr_action_create_generic’ from ‘mlx5dv_dr_action_create_modify_header’
rdma-core-59.0/providers/mlx5/dr_action.c:2308:18: return_function: returning to ‘mlx5dv_dr_action_create_modify_header’ from ‘dr_action_create_generic’
rdma-core-59.0/providers/mlx5/dr_action.c:2309:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2312:9: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2315:12: branch_false: following ‘false’ branch (when ‘flags == 0’)...
rdma-core-59.0/providers/mlx5/dr_action.c:2322:17: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2323:23: call_function: calling ‘dr_action_create_modify_action’ from ‘mlx5dv_dr_action_create_modify_header’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def667]
rdma-core-59.0/providers/mlx5/dr_action.c:1818:26: warning[-Wanalyzer-malloc-leak]: leak of ‘hw_actions’
rdma-core-59.0/providers/mlx5/dr_action.c:2226:12: enter_function: entry to ‘dr_action_create_modify_action’
rdma-core-59.0/providers/mlx5/dr_action.c:2237:12: branch_false: following ‘false’ branch (when ‘num_sw_actions != 0’)...
rdma-core-59.0/providers/mlx5/dr_action.c:2243:32: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2243:22: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/dr_action.c:2244:12: branch_false: following ‘false’ branch (when ‘hw_actions’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_action.c:2249:15: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2249:15: call_function: calling ‘dr_actions_convert_modify_header’ from ‘dr_action_create_modify_action’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def668]
rdma-core-59.0/providers/mlx5/dr_action.c:1818:26: warning[-Wanalyzer-malloc-leak]: leak of ‘restore’
rdma-core-59.0/providers/mlx5/dr_action.c:2739:1: enter_function: entry to ‘dr_action_create_sampler_restore_tbl’
rdma-core-59.0/providers/mlx5/dr_action.c:2752:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2760:16: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2761:12: branch_false: following ‘false’ branch (when ‘mask’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_action.c:2765:9: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2767:19: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/dr_action.c:2768:12: branch_false: following ‘false’ branch (when ‘restore’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_action.c:2773:52: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2774:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2777:28: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2778:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2781:9: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2784:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2790:17: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2790:17: call_function: calling ‘mlx5dv_dr_action_create_modify_header’ from ‘dr_action_create_sampler_restore_tbl’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def669]
rdma-core-59.0/providers/mlx5/dr_action.c:1829:9: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
rdma-core-59.0/providers/mlx5/dr_action.c:2843:1: enter_function: entry to ‘mlx5dv_dr_action_create_flow_sampler’
rdma-core-59.0/providers/mlx5/dr_action.c:2850:12: branch_false: following ‘false’ branch (when ‘dmn’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_action.c:2851:42: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2850:13: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2852:14: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2850:13: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2852:38: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2850:13: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2857:13: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2857:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2863:12: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2869:18: call_function: calling ‘dr_action_create_generic’ from ‘mlx5dv_dr_action_create_flow_sampler’
rdma-core-59.0/providers/mlx5/dr_action.c:2869:18: return_function: returning to ‘mlx5dv_dr_action_create_flow_sampler’ from ‘dr_action_create_generic’
rdma-core-59.0/providers/mlx5/dr_action.c:2870:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2873:9: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2875:36: call_function: calling ‘dr_action_create_sampler_term_tbl’ from ‘mlx5dv_dr_action_create_flow_sampler’
rdma-core-59.0/providers/mlx5/dr_action.c:2875:36: return_function: returning to ‘mlx5dv_dr_action_create_flow_sampler’ from ‘dr_action_create_sampler_term_tbl’
rdma-core-59.0/providers/mlx5/dr_action.c:2876:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2879:43: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2879:43: call_function: calling ‘dr_action_create_sampler’ from ‘mlx5dv_dr_action_create_flow_sampler’
rdma-core-59.0/providers/mlx5/dr_action.c:2879:43: return_function: returning to ‘mlx5dv_dr_action_create_flow_sampler’ from ‘dr_action_create_sampler’
rdma-core-59.0/providers/mlx5/dr_action.c:2882:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2885:12: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2885:12: branch_true: following ‘true’ branch (when ‘restore != 0’)...
rdma-core-59.0/providers/mlx5/dr_action.c:2888:47: branch_true: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2888:47: call_function: calling ‘dr_action_create_sampler_restore_tbl’ from ‘mlx5dv_dr_action_create_flow_sampler’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def670]
rdma-core-59.0/providers/mlx5/dr_action.c:1829:9: warning[-Wanalyzer-malloc-leak]: leak of ‘calloc(2, 8)’
rdma-core-59.0/providers/mlx5/dr_action.c:2739:1: enter_function: entry to ‘dr_action_create_sampler_restore_tbl’
rdma-core-59.0/providers/mlx5/dr_action.c:2752:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2760:16: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2761:12: branch_false: following ‘false’ branch (when ‘mask’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_action.c:2765:9: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2768:12: branch_false: following ‘false’ branch (when ‘restore’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_action.c:2773:52: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2774:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2777:28: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2778:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2781:9: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2782:28: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/dr_action.c:2784:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2790:17: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2790:17: call_function: calling ‘mlx5dv_dr_action_create_modify_header’ from ‘dr_action_create_sampler_restore_tbl’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def671]
rdma-core-59.0/providers/mlx5/dr_action.c:1829:9: warning[-Wanalyzer-malloc-leak]: leak of ‘dr_action_create_generic(13)’
rdma-core-59.0/providers/mlx5/dr_action.c:2843:1: enter_function: entry to ‘mlx5dv_dr_action_create_flow_sampler’
rdma-core-59.0/providers/mlx5/dr_action.c:2850:12: branch_false: following ‘false’ branch (when ‘dmn’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_action.c:2851:42: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2850:13: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2852:14: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2850:13: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2852:38: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2850:13: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2857:13: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2857:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2863:12: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2869:18: call_function: calling ‘dr_action_create_generic’ from ‘mlx5dv_dr_action_create_flow_sampler’
rdma-core-59.0/providers/mlx5/dr_action.c:2869:18: return_function: returning to ‘mlx5dv_dr_action_create_flow_sampler’ from ‘dr_action_create_generic’
rdma-core-59.0/providers/mlx5/dr_action.c:2870:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2873:9: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2875:36: call_function: calling ‘dr_action_create_sampler_term_tbl’ from ‘mlx5dv_dr_action_create_flow_sampler’
rdma-core-59.0/providers/mlx5/dr_action.c:2875:36: return_function: returning to ‘mlx5dv_dr_action_create_flow_sampler’ from ‘dr_action_create_sampler_term_tbl’
rdma-core-59.0/providers/mlx5/dr_action.c:2876:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2879:43: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2879:43: call_function: calling ‘dr_action_create_sampler’ from ‘mlx5dv_dr_action_create_flow_sampler’
rdma-core-59.0/providers/mlx5/dr_action.c:2879:43: return_function: returning to ‘mlx5dv_dr_action_create_flow_sampler’ from ‘dr_action_create_sampler’
rdma-core-59.0/providers/mlx5/dr_action.c:2882:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2885:12: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2885:12: branch_true: following ‘true’ branch (when ‘restore != 0’)...
rdma-core-59.0/providers/mlx5/dr_action.c:2888:47: branch_true: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2888:47: call_function: calling ‘dr_action_create_sampler_restore_tbl’ from ‘mlx5dv_dr_action_create_flow_sampler’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def672]
rdma-core-59.0/providers/mlx5/dr_action.c:1829:9: warning[-Wanalyzer-malloc-leak]: leak of ‘dr_action_create_generic(9)’
rdma-core-59.0/providers/mlx5/dr_action.c:2280:1: enter_function: entry to ‘mlx5dv_dr_action_create_modify_header’
rdma-core-59.0/providers/mlx5/dr_action.c:2290:12: branch_false: following ‘false’ branch (when ‘flags <= 1’)...
rdma-core-59.0/providers/mlx5/dr_action.c:2295:13: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2295:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2301:14: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2308:18: call_function: calling ‘dr_action_create_generic’ from ‘mlx5dv_dr_action_create_modify_header’
rdma-core-59.0/providers/mlx5/dr_action.c:2308:18: return_function: returning to ‘mlx5dv_dr_action_create_modify_header’ from ‘dr_action_create_generic’
rdma-core-59.0/providers/mlx5/dr_action.c:2309:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2312:9: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2315:12: branch_false: following ‘false’ branch (when ‘flags == 0’)...
rdma-core-59.0/providers/mlx5/dr_action.c:2322:17: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2323:23: call_function: calling ‘dr_action_create_modify_action’ from ‘mlx5dv_dr_action_create_modify_header’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def673]
rdma-core-59.0/providers/mlx5/dr_action.c:1829:9: warning[-Wanalyzer-malloc-leak]: leak of ‘hw_actions’
rdma-core-59.0/providers/mlx5/dr_action.c:2226:12: enter_function: entry to ‘dr_action_create_modify_action’
rdma-core-59.0/providers/mlx5/dr_action.c:2237:12: branch_false: following ‘false’ branch (when ‘num_sw_actions != 0’)...
rdma-core-59.0/providers/mlx5/dr_action.c:2243:32: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2243:22: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/dr_action.c:2244:12: branch_false: following ‘false’ branch (when ‘hw_actions’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_action.c:2249:15: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2249:15: call_function: calling ‘dr_actions_convert_modify_header’ from ‘dr_action_create_modify_action’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def674]
rdma-core-59.0/providers/mlx5/dr_action.c:1829:9: warning[-Wanalyzer-malloc-leak]: leak of ‘restore’
rdma-core-59.0/providers/mlx5/dr_action.c:2739:1: enter_function: entry to ‘dr_action_create_sampler_restore_tbl’
rdma-core-59.0/providers/mlx5/dr_action.c:2752:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2760:16: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2761:12: branch_false: following ‘false’ branch (when ‘mask’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_action.c:2765:9: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2767:19: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/dr_action.c:2768:12: branch_false: following ‘false’ branch (when ‘restore’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_action.c:2773:52: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2774:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2777:28: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2778:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2781:9: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2784:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2790:17: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2790:17: call_function: calling ‘mlx5dv_dr_action_create_modify_header’ from ‘dr_action_create_sampler_restore_tbl’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def675]
rdma-core-59.0/providers/mlx5/dr_action.c:1858:26: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
rdma-core-59.0/providers/mlx5/dr_action.c:2843:1: enter_function: entry to ‘mlx5dv_dr_action_create_flow_sampler’
rdma-core-59.0/providers/mlx5/dr_action.c:2850:12: branch_false: following ‘false’ branch (when ‘dmn’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_action.c:2851:42: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2850:13: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2852:14: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2850:13: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2852:38: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2850:13: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2857:13: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2857:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2863:12: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2869:18: call_function: calling ‘dr_action_create_generic’ from ‘mlx5dv_dr_action_create_flow_sampler’
rdma-core-59.0/providers/mlx5/dr_action.c:2869:18: return_function: returning to ‘mlx5dv_dr_action_create_flow_sampler’ from ‘dr_action_create_generic’
rdma-core-59.0/providers/mlx5/dr_action.c:2870:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2873:9: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2875:36: call_function: calling ‘dr_action_create_sampler_term_tbl’ from ‘mlx5dv_dr_action_create_flow_sampler’
rdma-core-59.0/providers/mlx5/dr_action.c:2875:36: return_function: returning to ‘mlx5dv_dr_action_create_flow_sampler’ from ‘dr_action_create_sampler_term_tbl’
rdma-core-59.0/providers/mlx5/dr_action.c:2876:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2879:43: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2879:43: call_function: calling ‘dr_action_create_sampler’ from ‘mlx5dv_dr_action_create_flow_sampler’
rdma-core-59.0/providers/mlx5/dr_action.c:2879:43: return_function: returning to ‘mlx5dv_dr_action_create_flow_sampler’ from ‘dr_action_create_sampler’
rdma-core-59.0/providers/mlx5/dr_action.c:2882:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2885:12: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2885:12: branch_true: following ‘true’ branch (when ‘restore != 0’)...
rdma-core-59.0/providers/mlx5/dr_action.c:2888:47: branch_true: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2888:47: call_function: calling ‘dr_action_create_sampler_restore_tbl’ from ‘mlx5dv_dr_action_create_flow_sampler’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def676]
rdma-core-59.0/providers/mlx5/dr_action.c:1858:26: warning[-Wanalyzer-malloc-leak]: leak of ‘calloc(2, 8)’
rdma-core-59.0/providers/mlx5/dr_action.c:2739:1: enter_function: entry to ‘dr_action_create_sampler_restore_tbl’
rdma-core-59.0/providers/mlx5/dr_action.c:2752:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2760:16: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2761:12: branch_false: following ‘false’ branch (when ‘mask’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_action.c:2765:9: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2768:12: branch_false: following ‘false’ branch (when ‘restore’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_action.c:2773:52: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2774:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2777:28: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2778:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2781:9: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2782:28: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/dr_action.c:2784:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2790:17: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2790:17: call_function: calling ‘mlx5dv_dr_action_create_modify_header’ from ‘dr_action_create_sampler_restore_tbl’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def677]
rdma-core-59.0/providers/mlx5/dr_action.c:1858:26: warning[-Wanalyzer-malloc-leak]: leak of ‘dr_action_create_generic(13)’
rdma-core-59.0/providers/mlx5/dr_action.c:2843:1: enter_function: entry to ‘mlx5dv_dr_action_create_flow_sampler’
rdma-core-59.0/providers/mlx5/dr_action.c:2850:12: branch_false: following ‘false’ branch (when ‘dmn’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_action.c:2851:42: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2850:13: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2852:14: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2850:13: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2852:38: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2850:13: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2857:13: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2857:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2863:12: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2869:18: call_function: calling ‘dr_action_create_generic’ from ‘mlx5dv_dr_action_create_flow_sampler’
rdma-core-59.0/providers/mlx5/dr_action.c:2869:18: return_function: returning to ‘mlx5dv_dr_action_create_flow_sampler’ from ‘dr_action_create_generic’
rdma-core-59.0/providers/mlx5/dr_action.c:2870:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2873:9: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2875:36: call_function: calling ‘dr_action_create_sampler_term_tbl’ from ‘mlx5dv_dr_action_create_flow_sampler’
rdma-core-59.0/providers/mlx5/dr_action.c:2875:36: return_function: returning to ‘mlx5dv_dr_action_create_flow_sampler’ from ‘dr_action_create_sampler_term_tbl’
rdma-core-59.0/providers/mlx5/dr_action.c:2876:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2879:43: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2879:43: call_function: calling ‘dr_action_create_sampler’ from ‘mlx5dv_dr_action_create_flow_sampler’
rdma-core-59.0/providers/mlx5/dr_action.c:2879:43: return_function: returning to ‘mlx5dv_dr_action_create_flow_sampler’ from ‘dr_action_create_sampler’
rdma-core-59.0/providers/mlx5/dr_action.c:2882:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2885:12: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2885:12: branch_true: following ‘true’ branch (when ‘restore != 0’)...
rdma-core-59.0/providers/mlx5/dr_action.c:2888:47: branch_true: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2888:47: call_function: calling ‘dr_action_create_sampler_restore_tbl’ from ‘mlx5dv_dr_action_create_flow_sampler’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def678]
rdma-core-59.0/providers/mlx5/dr_action.c:1858:26: warning[-Wanalyzer-malloc-leak]: leak of ‘dr_action_create_generic(9)’
rdma-core-59.0/providers/mlx5/dr_action.c:2280:1: enter_function: entry to ‘mlx5dv_dr_action_create_modify_header’
rdma-core-59.0/providers/mlx5/dr_action.c:2290:12: branch_false: following ‘false’ branch (when ‘flags <= 1’)...
rdma-core-59.0/providers/mlx5/dr_action.c:2295:13: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2295:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2301:14: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2308:18: call_function: calling ‘dr_action_create_generic’ from ‘mlx5dv_dr_action_create_modify_header’
rdma-core-59.0/providers/mlx5/dr_action.c:2308:18: return_function: returning to ‘mlx5dv_dr_action_create_modify_header’ from ‘dr_action_create_generic’
rdma-core-59.0/providers/mlx5/dr_action.c:2309:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2312:9: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2315:12: branch_false: following ‘false’ branch (when ‘flags == 0’)...
rdma-core-59.0/providers/mlx5/dr_action.c:2322:17: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2323:23: call_function: calling ‘dr_action_create_modify_action’ from ‘mlx5dv_dr_action_create_modify_header’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def679]
rdma-core-59.0/providers/mlx5/dr_action.c:1858:26: warning[-Wanalyzer-malloc-leak]: leak of ‘hw_actions’
rdma-core-59.0/providers/mlx5/dr_action.c:2226:12: enter_function: entry to ‘dr_action_create_modify_action’
rdma-core-59.0/providers/mlx5/dr_action.c:2237:12: branch_false: following ‘false’ branch (when ‘num_sw_actions != 0’)...
rdma-core-59.0/providers/mlx5/dr_action.c:2243:32: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2243:22: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/dr_action.c:2244:12: branch_false: following ‘false’ branch (when ‘hw_actions’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_action.c:2249:15: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2249:15: call_function: calling ‘dr_actions_convert_modify_header’ from ‘dr_action_create_modify_action’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def680]
rdma-core-59.0/providers/mlx5/dr_action.c:1858:26: warning[-Wanalyzer-malloc-leak]: leak of ‘restore’
rdma-core-59.0/providers/mlx5/dr_action.c:2739:1: enter_function: entry to ‘dr_action_create_sampler_restore_tbl’
rdma-core-59.0/providers/mlx5/dr_action.c:2752:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2760:16: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2761:12: branch_false: following ‘false’ branch (when ‘mask’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_action.c:2765:9: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2767:19: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/dr_action.c:2768:12: branch_false: following ‘false’ branch (when ‘restore’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_action.c:2773:52: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2774:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2777:28: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2778:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2781:9: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2784:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2790:17: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2790:17: call_function: calling ‘mlx5dv_dr_action_create_modify_header’ from ‘dr_action_create_sampler_restore_tbl’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def681]
rdma-core-59.0/providers/mlx5/dr_action.c:1877:9: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
rdma-core-59.0/providers/mlx5/dr_action.c:2843:1: enter_function: entry to ‘mlx5dv_dr_action_create_flow_sampler’
rdma-core-59.0/providers/mlx5/dr_action.c:2850:12: branch_false: following ‘false’ branch (when ‘dmn’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_action.c:2851:42: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2850:13: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2852:14: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2850:13: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2852:38: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2850:13: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2857:13: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2857:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2863:12: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2869:18: call_function: calling ‘dr_action_create_generic’ from ‘mlx5dv_dr_action_create_flow_sampler’
rdma-core-59.0/providers/mlx5/dr_action.c:2869:18: return_function: returning to ‘mlx5dv_dr_action_create_flow_sampler’ from ‘dr_action_create_generic’
rdma-core-59.0/providers/mlx5/dr_action.c:2870:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2873:9: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2875:36: call_function: calling ‘dr_action_create_sampler_term_tbl’ from ‘mlx5dv_dr_action_create_flow_sampler’
rdma-core-59.0/providers/mlx5/dr_action.c:2875:36: return_function: returning to ‘mlx5dv_dr_action_create_flow_sampler’ from ‘dr_action_create_sampler_term_tbl’
rdma-core-59.0/providers/mlx5/dr_action.c:2876:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2879:43: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2879:43: call_function: calling ‘dr_action_create_sampler’ from ‘mlx5dv_dr_action_create_flow_sampler’
rdma-core-59.0/providers/mlx5/dr_action.c:2879:43: return_function: returning to ‘mlx5dv_dr_action_create_flow_sampler’ from ‘dr_action_create_sampler’
rdma-core-59.0/providers/mlx5/dr_action.c:2882:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2885:12: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2885:12: branch_true: following ‘true’ branch (when ‘restore != 0’)...
rdma-core-59.0/providers/mlx5/dr_action.c:2888:47: branch_true: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2888:47: call_function: calling ‘dr_action_create_sampler_restore_tbl’ from ‘mlx5dv_dr_action_create_flow_sampler’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def682]
rdma-core-59.0/providers/mlx5/dr_action.c:1877:9: warning[-Wanalyzer-malloc-leak]: leak of ‘calloc(2, 8)’
rdma-core-59.0/providers/mlx5/dr_action.c:2739:1: enter_function: entry to ‘dr_action_create_sampler_restore_tbl’
rdma-core-59.0/providers/mlx5/dr_action.c:2752:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2760:16: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2761:12: branch_false: following ‘false’ branch (when ‘mask’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_action.c:2765:9: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2768:12: branch_false: following ‘false’ branch (when ‘restore’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_action.c:2773:52: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2774:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2777:28: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2778:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2781:9: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2782:28: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/dr_action.c:2784:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2790:17: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2790:17: call_function: calling ‘mlx5dv_dr_action_create_modify_header’ from ‘dr_action_create_sampler_restore_tbl’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def683]
rdma-core-59.0/providers/mlx5/dr_action.c:1877:9: warning[-Wanalyzer-malloc-leak]: leak of ‘dr_action_create_generic(13)’
rdma-core-59.0/providers/mlx5/dr_action.c:2843:1: enter_function: entry to ‘mlx5dv_dr_action_create_flow_sampler’
rdma-core-59.0/providers/mlx5/dr_action.c:2850:12: branch_false: following ‘false’ branch (when ‘dmn’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_action.c:2851:42: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2850:13: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2852:14: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2850:13: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2852:38: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2850:13: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2857:13: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2857:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2863:12: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2869:18: call_function: calling ‘dr_action_create_generic’ from ‘mlx5dv_dr_action_create_flow_sampler’
rdma-core-59.0/providers/mlx5/dr_action.c:2869:18: return_function: returning to ‘mlx5dv_dr_action_create_flow_sampler’ from ‘dr_action_create_generic’
rdma-core-59.0/providers/mlx5/dr_action.c:2870:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2873:9: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2875:36: call_function: calling ‘dr_action_create_sampler_term_tbl’ from ‘mlx5dv_dr_action_create_flow_sampler’
rdma-core-59.0/providers/mlx5/dr_action.c:2875:36: return_function: returning to ‘mlx5dv_dr_action_create_flow_sampler’ from ‘dr_action_create_sampler_term_tbl’
rdma-core-59.0/providers/mlx5/dr_action.c:2876:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2879:43: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2879:43: call_function: calling ‘dr_action_create_sampler’ from ‘mlx5dv_dr_action_create_flow_sampler’
rdma-core-59.0/providers/mlx5/dr_action.c:2879:43: return_function: returning to ‘mlx5dv_dr_action_create_flow_sampler’ from ‘dr_action_create_sampler’
rdma-core-59.0/providers/mlx5/dr_action.c:2882:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2885:12: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2885:12: branch_true: following ‘true’ branch (when ‘restore != 0’)...
rdma-core-59.0/providers/mlx5/dr_action.c:2888:47: branch_true: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2888:47: call_function: calling ‘dr_action_create_sampler_restore_tbl’ from ‘mlx5dv_dr_action_create_flow_sampler’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def684]
rdma-core-59.0/providers/mlx5/dr_action.c:1877:9: warning[-Wanalyzer-malloc-leak]: leak of ‘dr_action_create_generic(9)’
rdma-core-59.0/providers/mlx5/dr_action.c:2280:1: enter_function: entry to ‘mlx5dv_dr_action_create_modify_header’
rdma-core-59.0/providers/mlx5/dr_action.c:2290:12: branch_false: following ‘false’ branch (when ‘flags <= 1’)...
rdma-core-59.0/providers/mlx5/dr_action.c:2295:13: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2295:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2301:14: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2308:18: call_function: calling ‘dr_action_create_generic’ from ‘mlx5dv_dr_action_create_modify_header’
rdma-core-59.0/providers/mlx5/dr_action.c:2308:18: return_function: returning to ‘mlx5dv_dr_action_create_modify_header’ from ‘dr_action_create_generic’
rdma-core-59.0/providers/mlx5/dr_action.c:2309:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2312:9: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2315:12: branch_false: following ‘false’ branch (when ‘flags == 0’)...
rdma-core-59.0/providers/mlx5/dr_action.c:2322:17: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2323:23: call_function: calling ‘dr_action_create_modify_action’ from ‘mlx5dv_dr_action_create_modify_header’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def685]
rdma-core-59.0/providers/mlx5/dr_action.c:1877:9: warning[-Wanalyzer-malloc-leak]: leak of ‘hw_actions’
rdma-core-59.0/providers/mlx5/dr_action.c:2226:12: enter_function: entry to ‘dr_action_create_modify_action’
rdma-core-59.0/providers/mlx5/dr_action.c:2237:12: branch_false: following ‘false’ branch (when ‘num_sw_actions != 0’)...
rdma-core-59.0/providers/mlx5/dr_action.c:2243:32: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2243:22: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/dr_action.c:2244:12: branch_false: following ‘false’ branch (when ‘hw_actions’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_action.c:2249:15: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2249:15: call_function: calling ‘dr_actions_convert_modify_header’ from ‘dr_action_create_modify_action’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def686]
rdma-core-59.0/providers/mlx5/dr_action.c:1877:9: warning[-Wanalyzer-malloc-leak]: leak of ‘restore’
rdma-core-59.0/providers/mlx5/dr_action.c:2739:1: enter_function: entry to ‘dr_action_create_sampler_restore_tbl’
rdma-core-59.0/providers/mlx5/dr_action.c:2752:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2760:16: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2761:12: branch_false: following ‘false’ branch (when ‘mask’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_action.c:2765:9: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2767:19: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/dr_action.c:2768:12: branch_false: following ‘false’ branch (when ‘restore’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_action.c:2773:52: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2774:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2777:28: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2778:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2781:9: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2784:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2790:17: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2790:17: call_function: calling ‘mlx5dv_dr_action_create_modify_header’ from ‘dr_action_create_sampler_restore_tbl’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def687]
rdma-core-59.0/providers/mlx5/dr_action.c:1908:30: warning[-Wanalyzer-malloc-leak]: leak of ‘calloc(2, 8)’
rdma-core-59.0/providers/mlx5/dr_action.c:2739:1: enter_function: entry to ‘dr_action_create_sampler_restore_tbl’
rdma-core-59.0/providers/mlx5/dr_action.c:2752:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2760:16: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2761:12: branch_false: following ‘false’ branch (when ‘mask’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_action.c:2765:9: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2768:12: branch_false: following ‘false’ branch (when ‘restore’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_action.c:2773:52: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2774:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2777:28: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2778:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2781:9: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2782:28: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/dr_action.c:2784:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2790:17: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2790:17: call_function: calling ‘mlx5dv_dr_action_create_modify_header’ from ‘dr_action_create_sampler_restore_tbl’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def688]
rdma-core-59.0/providers/mlx5/dr_action.c:1908:30: warning[-Wanalyzer-malloc-leak]: leak of ‘dr_action_create_generic(9)’
rdma-core-59.0/providers/mlx5/dr_action.c:2739:1: enter_function: entry to ‘dr_action_create_sampler_restore_tbl’
rdma-core-59.0/providers/mlx5/dr_action.c:2752:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2760:16: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2761:12: branch_false: following ‘false’ branch (when ‘mask’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_action.c:2765:9: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2768:12: branch_false: following ‘false’ branch (when ‘restore’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_action.c:2773:52: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2774:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2777:28: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2778:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2781:9: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2784:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2790:17: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2790:17: call_function: calling ‘mlx5dv_dr_action_create_modify_header’ from ‘dr_action_create_sampler_restore_tbl’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def689]
rdma-core-59.0/providers/mlx5/dr_action.c:1908:30: warning[-Wanalyzer-malloc-leak]: leak of ‘hw_actions’
rdma-core-59.0/providers/mlx5/dr_action.c:2226:12: enter_function: entry to ‘dr_action_create_modify_action’
rdma-core-59.0/providers/mlx5/dr_action.c:2237:12: branch_false: following ‘false’ branch (when ‘num_sw_actions != 0’)...
rdma-core-59.0/providers/mlx5/dr_action.c:2243:32: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2243:22: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/dr_action.c:2244:12: branch_false: following ‘false’ branch (when ‘hw_actions’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_action.c:2249:15: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2249:15: call_function: calling ‘dr_actions_convert_modify_header’ from ‘dr_action_create_modify_action’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def690]
rdma-core-59.0/providers/mlx5/dr_action.c:1908:30: warning[-Wanalyzer-malloc-leak]: leak of ‘restore’
rdma-core-59.0/providers/mlx5/dr_action.c:2739:1: enter_function: entry to ‘dr_action_create_sampler_restore_tbl’
rdma-core-59.0/providers/mlx5/dr_action.c:2752:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2760:16: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2761:12: branch_false: following ‘false’ branch (when ‘mask’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_action.c:2765:9: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2767:19: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/dr_action.c:2768:12: branch_false: following ‘false’ branch (when ‘restore’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_action.c:2773:52: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2774:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2777:28: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2778:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2781:9: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2784:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2790:17: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2790:17: call_function: calling ‘mlx5dv_dr_action_create_modify_header’ from ‘dr_action_create_sampler_restore_tbl’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def691]
rdma-core-59.0/providers/mlx5/dr_action.c:1911:30: warning[-Wanalyzer-malloc-leak]: leak of ‘calloc(2, 8)’
rdma-core-59.0/providers/mlx5/dr_action.c:2739:1: enter_function: entry to ‘dr_action_create_sampler_restore_tbl’
rdma-core-59.0/providers/mlx5/dr_action.c:2752:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2760:16: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2761:12: branch_false: following ‘false’ branch (when ‘mask’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_action.c:2765:9: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2768:12: branch_false: following ‘false’ branch (when ‘restore’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_action.c:2773:52: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2774:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2777:28: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2778:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2781:9: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2782:28: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/dr_action.c:2784:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2790:17: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2790:17: call_function: calling ‘mlx5dv_dr_action_create_modify_header’ from ‘dr_action_create_sampler_restore_tbl’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def692]
rdma-core-59.0/providers/mlx5/dr_action.c:1911:30: warning[-Wanalyzer-malloc-leak]: leak of ‘dr_action_create_generic(9)’
rdma-core-59.0/providers/mlx5/dr_action.c:2739:1: enter_function: entry to ‘dr_action_create_sampler_restore_tbl’
rdma-core-59.0/providers/mlx5/dr_action.c:2752:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2760:16: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2761:12: branch_false: following ‘false’ branch (when ‘mask’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_action.c:2765:9: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2768:12: branch_false: following ‘false’ branch (when ‘restore’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_action.c:2773:52: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2774:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2777:28: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2778:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2781:9: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2784:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2790:17: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2790:17: call_function: calling ‘mlx5dv_dr_action_create_modify_header’ from ‘dr_action_create_sampler_restore_tbl’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def693]
rdma-core-59.0/providers/mlx5/dr_action.c:1911:30: warning[-Wanalyzer-malloc-leak]: leak of ‘hw_actions’
rdma-core-59.0/providers/mlx5/dr_action.c:2226:12: enter_function: entry to ‘dr_action_create_modify_action’
rdma-core-59.0/providers/mlx5/dr_action.c:2237:12: branch_false: following ‘false’ branch (when ‘num_sw_actions != 0’)...
rdma-core-59.0/providers/mlx5/dr_action.c:2243:32: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2243:22: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/dr_action.c:2244:12: branch_false: following ‘false’ branch (when ‘hw_actions’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_action.c:2249:15: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2249:15: call_function: calling ‘dr_actions_convert_modify_header’ from ‘dr_action_create_modify_action’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def694]
rdma-core-59.0/providers/mlx5/dr_action.c:1911:30: warning[-Wanalyzer-malloc-leak]: leak of ‘restore’
rdma-core-59.0/providers/mlx5/dr_action.c:2739:1: enter_function: entry to ‘dr_action_create_sampler_restore_tbl’
rdma-core-59.0/providers/mlx5/dr_action.c:2752:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2760:16: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2761:12: branch_false: following ‘false’ branch (when ‘mask’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_action.c:2765:9: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2767:19: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/dr_action.c:2768:12: branch_false: following ‘false’ branch (when ‘restore’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_action.c:2773:52: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2774:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2777:28: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2778:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2781:9: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2784:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2790:17: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2790:17: call_function: calling ‘mlx5dv_dr_action_create_modify_header’ from ‘dr_action_create_sampler_restore_tbl’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def695]
rdma-core-59.0/providers/mlx5/dr_action.c:1932:9: warning[-Wanalyzer-malloc-leak]: leak of ‘calloc(2, 8)’
rdma-core-59.0/providers/mlx5/dr_action.c:2739:1: enter_function: entry to ‘dr_action_create_sampler_restore_tbl’
rdma-core-59.0/providers/mlx5/dr_action.c:2752:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2760:16: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2761:12: branch_false: following ‘false’ branch (when ‘mask’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_action.c:2765:9: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2768:12: branch_false: following ‘false’ branch (when ‘restore’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_action.c:2773:52: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2774:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2777:28: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2778:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2781:9: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2782:28: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/dr_action.c:2784:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2790:17: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2790:17: call_function: calling ‘mlx5dv_dr_action_create_modify_header’ from ‘dr_action_create_sampler_restore_tbl’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def696]
rdma-core-59.0/providers/mlx5/dr_action.c:1932:9: warning[-Wanalyzer-malloc-leak]: leak of ‘dr_action_create_generic(9)’
rdma-core-59.0/providers/mlx5/dr_action.c:2739:1: enter_function: entry to ‘dr_action_create_sampler_restore_tbl’
rdma-core-59.0/providers/mlx5/dr_action.c:2752:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2760:16: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2761:12: branch_false: following ‘false’ branch (when ‘mask’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_action.c:2765:9: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2768:12: branch_false: following ‘false’ branch (when ‘restore’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_action.c:2773:52: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2774:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2777:28: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2778:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2781:9: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2784:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2790:17: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2790:17: call_function: calling ‘mlx5dv_dr_action_create_modify_header’ from ‘dr_action_create_sampler_restore_tbl’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def697]
rdma-core-59.0/providers/mlx5/dr_action.c:1932:9: warning[-Wanalyzer-malloc-leak]: leak of ‘hw_actions’
rdma-core-59.0/providers/mlx5/dr_action.c:2226:12: enter_function: entry to ‘dr_action_create_modify_action’
rdma-core-59.0/providers/mlx5/dr_action.c:2237:12: branch_false: following ‘false’ branch (when ‘num_sw_actions != 0’)...
rdma-core-59.0/providers/mlx5/dr_action.c:2243:32: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2243:22: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/dr_action.c:2244:12: branch_false: following ‘false’ branch (when ‘hw_actions’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_action.c:2249:15: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2249:15: call_function: calling ‘dr_actions_convert_modify_header’ from ‘dr_action_create_modify_action’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def698]
rdma-core-59.0/providers/mlx5/dr_action.c:1932:9: warning[-Wanalyzer-malloc-leak]: leak of ‘restore’
rdma-core-59.0/providers/mlx5/dr_action.c:2739:1: enter_function: entry to ‘dr_action_create_sampler_restore_tbl’
rdma-core-59.0/providers/mlx5/dr_action.c:2752:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2760:16: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2761:12: branch_false: following ‘false’ branch (when ‘mask’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_action.c:2765:9: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2767:19: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/dr_action.c:2768:12: branch_false: following ‘false’ branch (when ‘restore’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_action.c:2773:52: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2774:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2777:28: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2778:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2781:9: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2784:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2790:17: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2790:17: call_function: calling ‘mlx5dv_dr_action_create_modify_header’ from ‘dr_action_create_sampler_restore_tbl’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def699]
rdma-core-59.0/providers/mlx5/dr_action.c:2215:23: warning[-Wanalyzer-malloc-leak]: leak of ‘dr_action_create_generic(9)’
rdma-core-59.0/providers/mlx5/dr_action.c:2280:1: enter_function: entry to ‘mlx5dv_dr_action_create_modify_header’
rdma-core-59.0/providers/mlx5/dr_action.c:2290:12: branch_false: following ‘false’ branch (when ‘flags <= 1’)...
rdma-core-59.0/providers/mlx5/dr_action.c:2295:13: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2295:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2301:14: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2308:18: call_function: calling ‘dr_action_create_generic’ from ‘mlx5dv_dr_action_create_modify_header’
rdma-core-59.0/providers/mlx5/dr_action.c:2308:18: return_function: returning to ‘mlx5dv_dr_action_create_modify_header’ from ‘dr_action_create_generic’
rdma-core-59.0/providers/mlx5/dr_action.c:2309:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2312:9: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2315:12: branch_true: following ‘true’ branch (when ‘flags != 0’)...
rdma-core-59.0/providers/mlx5/dr_action.c:2316:17: branch_true: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2317:23: call_function: calling ‘dr_action_create_modify_action_root’ from ‘mlx5dv_dr_action_create_modify_header’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def700]
rdma-core-59.0/providers/mlx5/dr_action.c:2268:15: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
rdma-core-59.0/providers/mlx5/dr_action.c:2280:1: enter_function: entry to ‘mlx5dv_dr_action_create_modify_header’
rdma-core-59.0/providers/mlx5/dr_action.c:2290:12: branch_false: following ‘false’ branch (when ‘flags <= 1’)...
rdma-core-59.0/providers/mlx5/dr_action.c:2295:13: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2295:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2301:14: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2308:18: call_function: calling ‘dr_action_create_generic’ from ‘mlx5dv_dr_action_create_modify_header’
rdma-core-59.0/providers/mlx5/dr_action.c:2308:18: return_function: returning to ‘mlx5dv_dr_action_create_modify_header’ from ‘dr_action_create_generic’
rdma-core-59.0/providers/mlx5/dr_action.c:2309:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2312:9: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2315:12: branch_false: following ‘false’ branch (when ‘flags == 0’)...
rdma-core-59.0/providers/mlx5/dr_action.c:2322:17: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2323:23: call_function: calling ‘dr_action_create_modify_action’ from ‘mlx5dv_dr_action_create_modify_header’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def701]
rdma-core-59.0/providers/mlx5/dr_action.c:2268:15: warning[-Wanalyzer-malloc-leak]: leak of ‘dr_action_create_generic(9)’
rdma-core-59.0/providers/mlx5/dr_action.c:2280:1: enter_function: entry to ‘mlx5dv_dr_action_create_modify_header’
rdma-core-59.0/providers/mlx5/dr_action.c:2290:12: branch_false: following ‘false’ branch (when ‘flags <= 1’)...
rdma-core-59.0/providers/mlx5/dr_action.c:2295:13: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2295:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2301:14: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2308:18: call_function: calling ‘dr_action_create_generic’ from ‘mlx5dv_dr_action_create_modify_header’
rdma-core-59.0/providers/mlx5/dr_action.c:2308:18: return_function: returning to ‘mlx5dv_dr_action_create_modify_header’ from ‘dr_action_create_generic’
rdma-core-59.0/providers/mlx5/dr_action.c:2309:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2312:9: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2315:12: branch_false: following ‘false’ branch (when ‘flags == 0’)...
rdma-core-59.0/providers/mlx5/dr_action.c:2322:17: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2323:23: call_function: calling ‘dr_action_create_modify_action’ from ‘mlx5dv_dr_action_create_modify_header’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def702]
rdma-core-59.0/providers/mlx5/dr_action.c:2644:30: warning[-Wanalyzer-malloc-leak]: leak of ‘dest_info’
rdma-core-59.0/providers/mlx5/dr_action.c:2578:21: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/dr_action.c:2580:12: branch_false: following ‘false’ branch (when ‘dest_info’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_action.c:2585:20: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2586:12: branch_false: following ‘false’ branch (when ‘term_tbl’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_action.c:2591:23: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2593:12: branch_false: following ‘false’ branch (when ‘ref_actions’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_action.c:2598:9: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2603:21: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2644:30: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2644:30: danger: ‘dest_info’ leaks here; was allocated at [(1)](sarif:/runs/0/results/45/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def703]
rdma-core-59.0/providers/mlx5/dr_action.c:2644:30: warning[-Wanalyzer-malloc-leak]: leak of ‘dr_action_create_generic(13)’
rdma-core-59.0/providers/mlx5/dr_action.c:2843:1: enter_function: entry to ‘mlx5dv_dr_action_create_flow_sampler’
rdma-core-59.0/providers/mlx5/dr_action.c:2850:12: branch_false: following ‘false’ branch (when ‘dmn’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_action.c:2851:42: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2850:13: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2852:14: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2850:13: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2852:38: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2850:13: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2857:13: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2857:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2863:12: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2869:18: call_function: calling ‘dr_action_create_generic’ from ‘mlx5dv_dr_action_create_flow_sampler’
rdma-core-59.0/providers/mlx5/dr_action.c:2869:18: return_function: returning to ‘mlx5dv_dr_action_create_flow_sampler’ from ‘dr_action_create_generic’
rdma-core-59.0/providers/mlx5/dr_action.c:2870:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2873:9: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2875:36: call_function: calling ‘dr_action_create_sampler_term_tbl’ from ‘mlx5dv_dr_action_create_flow_sampler’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def704]
rdma-core-59.0/providers/mlx5/dr_action.c:2644:30: warning[-Wanalyzer-malloc-leak]: leak of ‘ref_actions’
rdma-core-59.0/providers/mlx5/dr_action.c:2580:12: branch_false: following ‘false’ branch (when ‘dest_info’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_action.c:2585:20: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2586:12: branch_false: following ‘false’ branch (when ‘term_tbl’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_action.c:2591:23: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2591:23: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/dr_action.c:2593:12: branch_false: following ‘false’ branch (when ‘ref_actions’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_action.c:2598:9: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2603:21: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2644:30: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2644:30: danger: ‘ref_actions’ leaks here; was allocated at [(5)](sarif:/runs/0/results/47/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def705]
rdma-core-59.0/providers/mlx5/dr_action.c:2644:30: warning[-Wanalyzer-malloc-leak]: leak of ‘term_tbl’
rdma-core-59.0/providers/mlx5/dr_action.c:2580:12: branch_false: following ‘false’ branch (when ‘dest_info’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_action.c:2585:20: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2585:20: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/dr_action.c:2586:12: branch_false: following ‘false’ branch (when ‘term_tbl’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_action.c:2591:23: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2593:12: branch_false: following ‘false’ branch (when ‘ref_actions’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_action.c:2598:9: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2603:21: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2644:30: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2644:30: danger: ‘term_tbl’ leaks here; was allocated at [(3)](sarif:/runs/0/results/48/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def706]
rdma-core-59.0/providers/mlx5/dr_action.c:2672:9: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
rdma-core-59.0/providers/mlx5/dr_action.c:2843:1: enter_function: entry to ‘mlx5dv_dr_action_create_flow_sampler’
rdma-core-59.0/providers/mlx5/dr_action.c:2850:12: branch_false: following ‘false’ branch (when ‘dmn’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_action.c:2851:42: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2850:13: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2852:14: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2850:13: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2852:38: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2850:13: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2857:13: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2857:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2863:12: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2869:18: call_function: calling ‘dr_action_create_generic’ from ‘mlx5dv_dr_action_create_flow_sampler’
rdma-core-59.0/providers/mlx5/dr_action.c:2869:18: return_function: returning to ‘mlx5dv_dr_action_create_flow_sampler’ from ‘dr_action_create_generic’
rdma-core-59.0/providers/mlx5/dr_action.c:2870:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2873:9: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2875:36: call_function: calling ‘dr_action_create_sampler_term_tbl’ from ‘mlx5dv_dr_action_create_flow_sampler’
rdma-core-59.0/providers/mlx5/dr_action.c:2875:36: return_function: returning to ‘mlx5dv_dr_action_create_flow_sampler’ from ‘dr_action_create_sampler_term_tbl’
rdma-core-59.0/providers/mlx5/dr_action.c:2876:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2879:43: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2879:43: call_function: calling ‘dr_action_create_sampler’ from ‘mlx5dv_dr_action_create_flow_sampler’
rdma-core-59.0/providers/mlx5/dr_action.c:2879:43: return_function: returning to ‘mlx5dv_dr_action_create_flow_sampler’ from ‘dr_action_create_sampler’
rdma-core-59.0/providers/mlx5/dr_action.c:2882:12: branch_true: following ‘true’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2883:17: branch_true: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2909:9: call_function: calling ‘dr_action_destroy_sampler_term_tbl’ from ‘mlx5dv_dr_action_create_flow_sampler’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def707]
rdma-core-59.0/providers/mlx5/dr_action.c:2672:9: warning[-Wanalyzer-malloc-leak]: leak of ‘dr_action_create_generic(13)’
rdma-core-59.0/providers/mlx5/dr_action.c:2843:1: enter_function: entry to ‘mlx5dv_dr_action_create_flow_sampler’
rdma-core-59.0/providers/mlx5/dr_action.c:2850:12: branch_false: following ‘false’ branch (when ‘dmn’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_action.c:2851:42: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2850:13: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2852:14: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2850:13: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2852:38: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2850:13: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2857:13: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2857:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2863:12: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2869:18: call_function: calling ‘dr_action_create_generic’ from ‘mlx5dv_dr_action_create_flow_sampler’
rdma-core-59.0/providers/mlx5/dr_action.c:2869:18: return_function: returning to ‘mlx5dv_dr_action_create_flow_sampler’ from ‘dr_action_create_generic’
rdma-core-59.0/providers/mlx5/dr_action.c:2870:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2873:9: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2875:36: call_function: calling ‘dr_action_create_sampler_term_tbl’ from ‘mlx5dv_dr_action_create_flow_sampler’
rdma-core-59.0/providers/mlx5/dr_action.c:2875:36: return_function: returning to ‘mlx5dv_dr_action_create_flow_sampler’ from ‘dr_action_create_sampler_term_tbl’
rdma-core-59.0/providers/mlx5/dr_action.c:2876:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2879:43: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2879:43: call_function: calling ‘dr_action_create_sampler’ from ‘mlx5dv_dr_action_create_flow_sampler’
rdma-core-59.0/providers/mlx5/dr_action.c:2879:43: return_function: returning to ‘mlx5dv_dr_action_create_flow_sampler’ from ‘dr_action_create_sampler’
rdma-core-59.0/providers/mlx5/dr_action.c:2882:12: branch_true: following ‘true’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2883:17: branch_true: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2909:9: call_function: calling ‘dr_action_destroy_sampler_term_tbl’ from ‘mlx5dv_dr_action_create_flow_sampler’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def708]
rdma-core-59.0/providers/mlx5/dr_action.c:2708:29: warning[-Wanalyzer-malloc-leak]: leak of ‘dr_action_create_generic(13)’
rdma-core-59.0/providers/mlx5/dr_action.c:2843:1: enter_function: entry to ‘mlx5dv_dr_action_create_flow_sampler’
rdma-core-59.0/providers/mlx5/dr_action.c:2850:12: branch_false: following ‘false’ branch (when ‘dmn’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_action.c:2851:42: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2850:13: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2852:14: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2850:13: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2852:38: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2850:13: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2857:13: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2857:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2863:12: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2869:18: call_function: calling ‘dr_action_create_generic’ from ‘mlx5dv_dr_action_create_flow_sampler’
rdma-core-59.0/providers/mlx5/dr_action.c:2869:18: return_function: returning to ‘mlx5dv_dr_action_create_flow_sampler’ from ‘dr_action_create_generic’
rdma-core-59.0/providers/mlx5/dr_action.c:2870:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2873:9: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2875:36: call_function: calling ‘dr_action_create_sampler_term_tbl’ from ‘mlx5dv_dr_action_create_flow_sampler’
rdma-core-59.0/providers/mlx5/dr_action.c:2875:36: return_function: returning to ‘mlx5dv_dr_action_create_flow_sampler’ from ‘dr_action_create_sampler_term_tbl’
rdma-core-59.0/providers/mlx5/dr_action.c:2876:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2879:43: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2879:43: call_function: calling ‘dr_action_create_sampler’ from ‘mlx5dv_dr_action_create_flow_sampler’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def709]
rdma-core-59.0/providers/mlx5/dr_action.c:2708:29: warning[-Wanalyzer-malloc-leak]: leak of ‘sampler’
rdma-core-59.0/providers/mlx5/dr_action.c:2691:19: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/dr_action.c:2692:12: branch_false: following ‘false’ branch (when ‘sampler’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_action.c:2697:28: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2708:29: danger: ‘sampler’ leaks here; was allocated at [(1)](sarif:/runs/0/results/52/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def710]
rdma-core-59.0/providers/mlx5/dr_action.c:2712:15: warning[-Wanalyzer-malloc-leak]: leak of ‘dr_action_create_generic(13)’
rdma-core-59.0/providers/mlx5/dr_action.c:2843:1: enter_function: entry to ‘mlx5dv_dr_action_create_flow_sampler’
rdma-core-59.0/providers/mlx5/dr_action.c:2850:12: branch_false: following ‘false’ branch (when ‘dmn’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_action.c:2851:42: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2850:13: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2852:14: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2850:13: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2852:38: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2850:13: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2857:13: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2857:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2863:12: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2869:18: call_function: calling ‘dr_action_create_generic’ from ‘mlx5dv_dr_action_create_flow_sampler’
rdma-core-59.0/providers/mlx5/dr_action.c:2869:18: return_function: returning to ‘mlx5dv_dr_action_create_flow_sampler’ from ‘dr_action_create_generic’
rdma-core-59.0/providers/mlx5/dr_action.c:2870:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2873:9: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2875:36: call_function: calling ‘dr_action_create_sampler_term_tbl’ from ‘mlx5dv_dr_action_create_flow_sampler’
rdma-core-59.0/providers/mlx5/dr_action.c:2875:36: return_function: returning to ‘mlx5dv_dr_action_create_flow_sampler’ from ‘dr_action_create_sampler_term_tbl’
rdma-core-59.0/providers/mlx5/dr_action.c:2876:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2879:43: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2879:43: call_function: calling ‘dr_action_create_sampler’ from ‘mlx5dv_dr_action_create_flow_sampler’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def711]
rdma-core-59.0/providers/mlx5/dr_action.c:2712:15: warning[-Wanalyzer-malloc-leak]: leak of ‘sampler’
rdma-core-59.0/providers/mlx5/dr_action.c:2691:19: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/dr_action.c:2692:12: branch_false: following ‘false’ branch (when ‘sampler’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_action.c:2697:28: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2709:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2712:15: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2712:15: danger: ‘sampler’ leaks here; was allocated at [(1)](sarif:/runs/0/results/53/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def712]
rdma-core-59.0/providers/mlx5/dr_action.c:2722:9: warning[-Wanalyzer-malloc-leak]: leak of ‘dr_action_create_generic(13)’
rdma-core-59.0/providers/mlx5/dr_action.c:2843:1: enter_function: entry to ‘mlx5dv_dr_action_create_flow_sampler’
rdma-core-59.0/providers/mlx5/dr_action.c:2850:12: branch_false: following ‘false’ branch (when ‘dmn’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_action.c:2851:42: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2850:13: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2852:14: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2850:13: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2852:38: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2850:13: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2857:13: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2857:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2863:12: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2869:18: call_function: calling ‘dr_action_create_generic’ from ‘mlx5dv_dr_action_create_flow_sampler’
rdma-core-59.0/providers/mlx5/dr_action.c:2869:18: return_function: returning to ‘mlx5dv_dr_action_create_flow_sampler’ from ‘dr_action_create_generic’
rdma-core-59.0/providers/mlx5/dr_action.c:2870:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2873:9: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2875:36: call_function: calling ‘dr_action_create_sampler_term_tbl’ from ‘mlx5dv_dr_action_create_flow_sampler’
rdma-core-59.0/providers/mlx5/dr_action.c:2875:36: return_function: returning to ‘mlx5dv_dr_action_create_flow_sampler’ from ‘dr_action_create_sampler_term_tbl’
rdma-core-59.0/providers/mlx5/dr_action.c:2876:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2879:43: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2879:43: call_function: calling ‘dr_action_create_sampler’ from ‘mlx5dv_dr_action_create_flow_sampler’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def713]
rdma-core-59.0/providers/mlx5/dr_action.c:2722:9: warning[-Wanalyzer-malloc-leak]: leak of ‘sampler’
rdma-core-59.0/providers/mlx5/dr_action.c:2691:19: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/dr_action.c:2692:12: branch_false: following ‘false’ branch (when ‘sampler’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_action.c:2697:28: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2709:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2712:15: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2713:12: branch_true: following ‘true’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2714:17: branch_true: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2722:9: danger: ‘sampler’ leaks here; was allocated at [(1)](sarif:/runs/0/results/55/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def714]
rdma-core-59.0/providers/mlx5/dr_action.c:2773:24: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
rdma-core-59.0/providers/mlx5/dr_action.c:2843:1: enter_function: entry to ‘mlx5dv_dr_action_create_flow_sampler’
rdma-core-59.0/providers/mlx5/dr_action.c:2850:12: branch_false: following ‘false’ branch (when ‘dmn’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_action.c:2851:42: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2850:13: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2852:14: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2850:13: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2852:38: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2850:13: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2857:13: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2857:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2863:12: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2869:18: call_function: calling ‘dr_action_create_generic’ from ‘mlx5dv_dr_action_create_flow_sampler’
rdma-core-59.0/providers/mlx5/dr_action.c:2869:18: return_function: returning to ‘mlx5dv_dr_action_create_flow_sampler’ from ‘dr_action_create_generic’
rdma-core-59.0/providers/mlx5/dr_action.c:2870:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2873:9: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2875:36: call_function: calling ‘dr_action_create_sampler_term_tbl’ from ‘mlx5dv_dr_action_create_flow_sampler’
rdma-core-59.0/providers/mlx5/dr_action.c:2875:36: return_function: returning to ‘mlx5dv_dr_action_create_flow_sampler’ from ‘dr_action_create_sampler_term_tbl’
rdma-core-59.0/providers/mlx5/dr_action.c:2876:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2879:43: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2879:43: call_function: calling ‘dr_action_create_sampler’ from ‘mlx5dv_dr_action_create_flow_sampler’
rdma-core-59.0/providers/mlx5/dr_action.c:2879:43: return_function: returning to ‘mlx5dv_dr_action_create_flow_sampler’ from ‘dr_action_create_sampler’
rdma-core-59.0/providers/mlx5/dr_action.c:2882:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2885:12: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2885:12: branch_true: following ‘true’ branch (when ‘restore != 0’)...
rdma-core-59.0/providers/mlx5/dr_action.c:2888:47: branch_true: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2888:47: call_function: calling ‘dr_action_create_sampler_restore_tbl’ from ‘mlx5dv_dr_action_create_flow_sampler’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def715]
rdma-core-59.0/providers/mlx5/dr_action.c:2773:24: warning[-Wanalyzer-malloc-leak]: leak of ‘dr_action_create_generic(13)’
rdma-core-59.0/providers/mlx5/dr_action.c:2843:1: enter_function: entry to ‘mlx5dv_dr_action_create_flow_sampler’
rdma-core-59.0/providers/mlx5/dr_action.c:2850:12: branch_false: following ‘false’ branch (when ‘dmn’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_action.c:2851:42: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2850:13: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2852:14: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2850:13: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2852:38: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2850:13: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2857:13: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2857:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2863:12: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2869:18: call_function: calling ‘dr_action_create_generic’ from ‘mlx5dv_dr_action_create_flow_sampler’
rdma-core-59.0/providers/mlx5/dr_action.c:2869:18: return_function: returning to ‘mlx5dv_dr_action_create_flow_sampler’ from ‘dr_action_create_generic’
rdma-core-59.0/providers/mlx5/dr_action.c:2870:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2873:9: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2875:36: call_function: calling ‘dr_action_create_sampler_term_tbl’ from ‘mlx5dv_dr_action_create_flow_sampler’
rdma-core-59.0/providers/mlx5/dr_action.c:2875:36: return_function: returning to ‘mlx5dv_dr_action_create_flow_sampler’ from ‘dr_action_create_sampler_term_tbl’
rdma-core-59.0/providers/mlx5/dr_action.c:2876:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2879:43: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2879:43: call_function: calling ‘dr_action_create_sampler’ from ‘mlx5dv_dr_action_create_flow_sampler’
rdma-core-59.0/providers/mlx5/dr_action.c:2879:43: return_function: returning to ‘mlx5dv_dr_action_create_flow_sampler’ from ‘dr_action_create_sampler’
rdma-core-59.0/providers/mlx5/dr_action.c:2882:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2885:12: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2885:12: branch_true: following ‘true’ branch (when ‘restore != 0’)...
rdma-core-59.0/providers/mlx5/dr_action.c:2888:47: branch_true: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2888:47: call_function: calling ‘dr_action_create_sampler_restore_tbl’ from ‘mlx5dv_dr_action_create_flow_sampler’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def716]
rdma-core-59.0/providers/mlx5/dr_action.c:2773:24: warning[-Wanalyzer-malloc-leak]: leak of ‘mask’
rdma-core-59.0/providers/mlx5/dr_action.c:2752:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2760:16: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2760:16: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/dr_action.c:2761:12: branch_false: following ‘false’ branch (when ‘mask’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_action.c:2765:9: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2768:12: branch_false: following ‘false’ branch (when ‘restore’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_action.c:2773:52: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2773:24: danger: ‘mask’ leaks here; was allocated at [(3)](sarif:/runs/0/results/60/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def717]
rdma-core-59.0/providers/mlx5/dr_action.c:2773:24: warning[-Wanalyzer-malloc-leak]: leak of ‘restore’
rdma-core-59.0/providers/mlx5/dr_action.c:2752:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2760:16: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2761:12: branch_false: following ‘false’ branch (when ‘mask’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_action.c:2765:9: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2767:19: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/dr_action.c:2768:12: branch_false: following ‘false’ branch (when ‘restore’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_action.c:2773:52: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2773:24: danger: ‘restore’ leaks here; was allocated at [(5)](sarif:/runs/0/results/57/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def718]
rdma-core-59.0/providers/mlx5/dr_action.c:2777:28: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
rdma-core-59.0/providers/mlx5/dr_action.c:2843:1: enter_function: entry to ‘mlx5dv_dr_action_create_flow_sampler’
rdma-core-59.0/providers/mlx5/dr_action.c:2850:12: branch_false: following ‘false’ branch (when ‘dmn’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_action.c:2851:42: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2850:13: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2852:14: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2850:13: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2852:38: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2850:13: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2857:13: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2857:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2863:12: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2869:18: call_function: calling ‘dr_action_create_generic’ from ‘mlx5dv_dr_action_create_flow_sampler’
rdma-core-59.0/providers/mlx5/dr_action.c:2869:18: return_function: returning to ‘mlx5dv_dr_action_create_flow_sampler’ from ‘dr_action_create_generic’
rdma-core-59.0/providers/mlx5/dr_action.c:2870:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2873:9: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2875:36: call_function: calling ‘dr_action_create_sampler_term_tbl’ from ‘mlx5dv_dr_action_create_flow_sampler’
rdma-core-59.0/providers/mlx5/dr_action.c:2875:36: return_function: returning to ‘mlx5dv_dr_action_create_flow_sampler’ from ‘dr_action_create_sampler_term_tbl’
rdma-core-59.0/providers/mlx5/dr_action.c:2876:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2879:43: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2879:43: call_function: calling ‘dr_action_create_sampler’ from ‘mlx5dv_dr_action_create_flow_sampler’
rdma-core-59.0/providers/mlx5/dr_action.c:2879:43: return_function: returning to ‘mlx5dv_dr_action_create_flow_sampler’ from ‘dr_action_create_sampler’
rdma-core-59.0/providers/mlx5/dr_action.c:2882:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2885:12: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2885:12: branch_true: following ‘true’ branch (when ‘restore != 0’)...
rdma-core-59.0/providers/mlx5/dr_action.c:2888:47: branch_true: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2888:47: call_function: calling ‘dr_action_create_sampler_restore_tbl’ from ‘mlx5dv_dr_action_create_flow_sampler’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def719]
rdma-core-59.0/providers/mlx5/dr_action.c:2777:28: warning[-Wanalyzer-malloc-leak]: leak of ‘dr_action_create_generic(13)’
rdma-core-59.0/providers/mlx5/dr_action.c:2843:1: enter_function: entry to ‘mlx5dv_dr_action_create_flow_sampler’
rdma-core-59.0/providers/mlx5/dr_action.c:2850:12: branch_false: following ‘false’ branch (when ‘dmn’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_action.c:2851:42: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2850:13: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2852:14: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2850:13: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2852:38: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2850:13: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2857:13: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2857:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2863:12: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2869:18: call_function: calling ‘dr_action_create_generic’ from ‘mlx5dv_dr_action_create_flow_sampler’
rdma-core-59.0/providers/mlx5/dr_action.c:2869:18: return_function: returning to ‘mlx5dv_dr_action_create_flow_sampler’ from ‘dr_action_create_generic’
rdma-core-59.0/providers/mlx5/dr_action.c:2870:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2873:9: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2875:36: call_function: calling ‘dr_action_create_sampler_term_tbl’ from ‘mlx5dv_dr_action_create_flow_sampler’
rdma-core-59.0/providers/mlx5/dr_action.c:2875:36: return_function: returning to ‘mlx5dv_dr_action_create_flow_sampler’ from ‘dr_action_create_sampler_term_tbl’
rdma-core-59.0/providers/mlx5/dr_action.c:2876:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2879:43: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2879:43: call_function: calling ‘dr_action_create_sampler’ from ‘mlx5dv_dr_action_create_flow_sampler’
rdma-core-59.0/providers/mlx5/dr_action.c:2879:43: return_function: returning to ‘mlx5dv_dr_action_create_flow_sampler’ from ‘dr_action_create_sampler’
rdma-core-59.0/providers/mlx5/dr_action.c:2882:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2885:12: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2885:12: branch_true: following ‘true’ branch (when ‘restore != 0’)...
rdma-core-59.0/providers/mlx5/dr_action.c:2888:47: branch_true: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2888:47: call_function: calling ‘dr_action_create_sampler_restore_tbl’ from ‘mlx5dv_dr_action_create_flow_sampler’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def720]
rdma-core-59.0/providers/mlx5/dr_action.c:2777:28: warning[-Wanalyzer-malloc-leak]: leak of ‘mask’
rdma-core-59.0/providers/mlx5/dr_action.c:2752:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2760:16: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2760:16: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/dr_action.c:2761:12: branch_false: following ‘false’ branch (when ‘mask’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_action.c:2765:9: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2768:12: branch_false: following ‘false’ branch (when ‘restore’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_action.c:2773:52: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2774:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2777:28: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2777:28: danger: ‘mask’ leaks here; was allocated at [(3)](sarif:/runs/0/results/61/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def721]
rdma-core-59.0/providers/mlx5/dr_action.c:2777:28: warning[-Wanalyzer-malloc-leak]: leak of ‘restore’
rdma-core-59.0/providers/mlx5/dr_action.c:2752:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2760:16: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2761:12: branch_false: following ‘false’ branch (when ‘mask’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_action.c:2765:9: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2767:19: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/dr_action.c:2768:12: branch_false: following ‘false’ branch (when ‘restore’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_action.c:2773:52: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2774:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2777:28: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2777:28: danger: ‘restore’ leaks here; was allocated at [(5)](sarif:/runs/0/results/63/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def722]
rdma-core-59.0/providers/mlx5/dr_action.c:2817:9: warning[-Wanalyzer-malloc-leak]: leak of ‘restore’
rdma-core-59.0/providers/mlx5/dr_action.c:2752:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2760:16: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2761:12: branch_false: following ‘false’ branch (when ‘mask’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_action.c:2765:9: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2767:19: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/dr_action.c:2768:12: branch_false: following ‘false’ branch (when ‘restore’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_action.c:2773:52: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2774:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2777:28: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2778:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2781:9: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2784:12: branch_true: following ‘true’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2785:17: branch_true: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2817:9: danger: ‘restore’ leaks here; was allocated at [(5)](sarif:/runs/0/results/65/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def723]
rdma-core-59.0/providers/mlx5/dr_action.c:2819:9: warning[-Wanalyzer-malloc-leak]: leak of ‘restore’
rdma-core-59.0/providers/mlx5/dr_action.c:2752:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2760:16: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2761:12: branch_false: following ‘false’ branch (when ‘mask’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_action.c:2765:9: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2767:19: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/dr_action.c:2768:12: branch_false: following ‘false’ branch (when ‘restore’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_action.c:2773:52: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2774:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2777:28: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2778:12: branch_true: following ‘true’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:2779:17: branch_true: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2819:9: danger: ‘restore’ leaks here; was allocated at [(5)](sarif:/runs/0/results/66/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-416): [#def724]
rdma-core-59.0/providers/mlx5/dr_action.c:2942:9: warning[-Wanalyzer-use-after-free]: use after ‘free’ of ‘tmp’
rdma-core-59.0/providers/mlx5/dr_action.c:3053:1: enter_function: entry to ‘mlx5dv_dr_action_create_dest_array’
rdma-core-59.0/providers/mlx5/dr_action.c:3059:12: branch_false: following ‘false’ branch (when ‘num_dest > 1’)...
rdma-core-59.0/providers/mlx5/dr_action.c:3064:9: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:3066:18: call_function: calling ‘dr_action_create_generic’ from ‘mlx5dv_dr_action_create_dest_array’
rdma-core-59.0/providers/mlx5/dr_action.c:3066:18: return_function: returning to ‘mlx5dv_dr_action_create_dest_array’ from ‘dr_action_create_generic’
rdma-core-59.0/providers/mlx5/dr_action.c:3067:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:3070:9: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:3073:13: call_function: calling ‘dr_action_create_dest_array_tbl’ from ‘mlx5dv_dr_action_create_dest_array’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def725]
rdma-core-59.0/providers/mlx5/dr_action.c:3026:39: warning[-Wanalyzer-malloc-leak]: leak of ‘fte_attr.dest_arr’
rdma-core-59.0/providers/mlx5/dr_action.c:2975:29: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/dr_action.c:2976:12: branch_false: following ‘false’ branch...
branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:2981:21: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_action.c:3026:39: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_action.c:3026:39: danger: ‘fte_attr.dest_arr’ leaks here; was allocated at [(3)](sarif:/runs/0/results/68/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def726]
rdma-core-59.0/providers/mlx5/dr_arg.c:61:20: warning[-Wanalyzer-malloc-leak]: leak of ‘pool_mngr’
rdma-core-59.0/providers/mlx5/dr_arg.c:233:1: enter_function: entry to ‘dr_arg_mngr_create’
rdma-core-59.0/providers/mlx5/dr_arg.c:238:12: branch_true: following ‘true’ branch...
rdma-core-59.0/providers/mlx5/dr_arg.c:241:21: branch_true: ...to here
rdma-core-59.0/providers/mlx5/dr_arg.c:241:21: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/dr_arg.c:242:12: branch_false: following ‘false’ branch (when ‘pool_mngr’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_arg.c:247:9: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_arg.c:249:21: branch_true: following ‘true’ branch (when ‘i != 4’)...
rdma-core-59.0/providers/mlx5/dr_arg.c:250:39: branch_true: ...to here
rdma-core-59.0/providers/mlx5/dr_arg.c:250:39: call_function: calling ‘dr_arg_pool_create’ from ‘dr_arg_mngr_create’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def727]
rdma-core-59.0/providers/mlx5/dr_arg.c:71:27: warning[-Wanalyzer-malloc-leak]: leak of ‘arg_obj’
rdma-core-59.0/providers/mlx5/dr_arg.c:97:27: enter_function: entry to ‘dr_arg_pool_get_arg_obj’
rdma-core-59.0/providers/mlx5/dr_arg.c:103:12: branch_true: following ‘true’ branch...
rdma-core-59.0/providers/mlx5/dr_arg.c:104:23: branch_true: ...to here
rdma-core-59.0/providers/mlx5/dr_arg.c:104:23: call_function: calling ‘dr_arg_pool_alloc_objs’ from ‘dr_arg_pool_get_arg_obj’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def728]
rdma-core-59.0/providers/mlx5/dr_arg.c:89:9: warning[-Wanalyzer-malloc-leak]: leak of ‘pool_mngr’
rdma-core-59.0/providers/mlx5/dr_arg.c:233:1: enter_function: entry to ‘dr_arg_mngr_create’
rdma-core-59.0/providers/mlx5/dr_arg.c:238:12: branch_true: following ‘true’ branch...
rdma-core-59.0/providers/mlx5/dr_arg.c:241:21: branch_true: ...to here
rdma-core-59.0/providers/mlx5/dr_arg.c:241:21: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/dr_arg.c:242:12: branch_false: following ‘false’ branch (when ‘pool_mngr’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_arg.c:247:9: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_arg.c:249:21: branch_true: following ‘true’ branch (when ‘i != 4’)...
rdma-core-59.0/providers/mlx5/dr_arg.c:250:39: branch_true: ...to here
rdma-core-59.0/providers/mlx5/dr_arg.c:250:39: call_function: calling ‘dr_arg_pool_create’ from ‘dr_arg_mngr_create’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def729]
rdma-core-59.0/providers/mlx5/dr_devx.c:138:15: warning[-Wanalyzer-malloc-leak]: leak of ‘out’
rdma-core-59.0/providers/mlx5/dr_devx.c:117:12: enter_function: entry to ‘dr_devx_query_esw_func’
rdma-core-59.0/providers/mlx5/dr_devx.c:129:15: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/dr_devx.c:130:12: branch_false: following ‘false’ branch (when ‘out’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_devx.c:135:9: call_function: inlined call to ‘_devx_set’ from ‘dr_devx_query_esw_func’
rdma-core-59.0/providers/mlx5/dr_devx.c:138:15: danger: ‘out’ leaks here; was allocated at [(2)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def730]
rdma-core-59.0/providers/mlx5/dr_devx.c:537:15: warning[-Wanalyzer-malloc-leak]: leak of ‘tbl’
rdma-core-59.0/providers/mlx5/dr_devx.c:727:1: enter_function: entry to ‘dr_devx_create_always_hit_ft’
rdma-core-59.0/providers/mlx5/dr_devx.c:737:15: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/dr_devx.c:738:12: branch_false: following ‘false’ branch (when ‘tbl’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_devx.c:743:18: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_devx.c:743:18: call_function: calling ‘dr_devx_create_flow_table’ from ‘dr_devx_create_always_hit_ft’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def731]
rdma-core-59.0/providers/mlx5/dr_devx.c:539:25: warning[-Wanalyzer-malloc-leak]: leak of ‘tbl’
rdma-core-59.0/providers/mlx5/dr_devx.c:727:1: enter_function: entry to ‘dr_devx_create_always_hit_ft’
rdma-core-59.0/providers/mlx5/dr_devx.c:737:15: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/dr_devx.c:738:12: branch_false: following ‘false’ branch (when ‘tbl’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_devx.c:743:18: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_devx.c:743:18: call_function: calling ‘dr_devx_create_flow_table’ from ‘dr_devx_create_always_hit_ft’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def732]
rdma-core-59.0/providers/mlx5/dr_devx.c:606:15: warning[-Wanalyzer-malloc-leak]: leak of ‘in’
rdma-core-59.0/providers/mlx5/dr_devx.c:588:1: enter_function: entry to ‘dr_devx_create_flow_group’
rdma-core-59.0/providers/mlx5/dr_devx.c:596:14: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/dr_devx.c:597:12: branch_false: following ‘false’ branch (when ‘in’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_devx.c:602:9: call_function: inlined call to ‘_devx_set’ from ‘dr_devx_create_flow_group’
rdma-core-59.0/providers/mlx5/dr_devx.c:606:15: danger: ‘in’ leaks here; was allocated at [(2)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def733]
rdma-core-59.0/providers/mlx5/dr_devx.c:606:15: warning[-Wanalyzer-malloc-leak]: leak of ‘tbl’
rdma-core-59.0/providers/mlx5/dr_devx.c:727:1: enter_function: entry to ‘dr_devx_create_always_hit_ft’
rdma-core-59.0/providers/mlx5/dr_devx.c:737:15: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/dr_devx.c:738:12: branch_false: following ‘false’ branch (when ‘tbl’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_devx.c:743:18: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_devx.c:744:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_devx.c:747:29: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_devx.c:749:18: call_function: calling ‘dr_devx_create_flow_group’ from ‘dr_devx_create_always_hit_ft’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def734]
rdma-core-59.0/providers/mlx5/dr_devx.c:608:25: warning[-Wanalyzer-malloc-leak]: leak of ‘in’
rdma-core-59.0/providers/mlx5/dr_devx.c:588:1: enter_function: entry to ‘dr_devx_create_flow_group’
rdma-core-59.0/providers/mlx5/dr_devx.c:596:14: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/dr_devx.c:597:12: branch_false: following ‘false’ branch (when ‘in’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_devx.c:602:9: call_function: inlined call to ‘_devx_set’ from ‘dr_devx_create_flow_group’
rdma-core-59.0/providers/mlx5/dr_devx.c:607:12: branch_true: following ‘true’ branch...
rdma-core-59.0/providers/mlx5/dr_devx.c:608:49: branch_true: ...to here
rdma-core-59.0/providers/mlx5/dr_devx.c:608:25: danger: ‘in’ leaks here; was allocated at [(2)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def735]
rdma-core-59.0/providers/mlx5/dr_devx.c:608:25: warning[-Wanalyzer-malloc-leak]: leak of ‘tbl’
rdma-core-59.0/providers/mlx5/dr_devx.c:727:1: enter_function: entry to ‘dr_devx_create_always_hit_ft’
rdma-core-59.0/providers/mlx5/dr_devx.c:737:15: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/dr_devx.c:738:12: branch_false: following ‘false’ branch (when ‘tbl’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_devx.c:743:18: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_devx.c:744:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_devx.c:747:29: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_devx.c:749:18: call_function: calling ‘dr_devx_create_flow_group’ from ‘dr_devx_create_always_hit_ft’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def736]
rdma-core-59.0/providers/mlx5/dr_devx.c:714:15: warning[-Wanalyzer-malloc-leak]: leak of ‘in’
rdma-core-59.0/providers/mlx5/dr_devx.c:616:1: enter_function: entry to ‘dr_devx_set_fte’
rdma-core-59.0/providers/mlx5/dr_devx.c:634:14: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/dr_devx.c:635:12: branch_false: following ‘false’ branch (when ‘in’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_devx.c:640:9: call_function: inlined call to ‘_devx_set’ from ‘dr_devx_set_fte’
rdma-core-59.0/providers/mlx5/dr_devx.c:714:15: danger: ‘in’ leaks here; was allocated at [(2)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def737]
rdma-core-59.0/providers/mlx5/dr_devx.c:714:15: warning[-Wanalyzer-malloc-leak]: leak of ‘tbl’
rdma-core-59.0/providers/mlx5/dr_devx.c:727:1: enter_function: entry to ‘dr_devx_create_always_hit_ft’
rdma-core-59.0/providers/mlx5/dr_devx.c:737:15: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/dr_devx.c:738:12: branch_false: following ‘false’ branch (when ‘tbl’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_devx.c:743:18: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_devx.c:744:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_devx.c:747:29: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_devx.c:749:18: call_function: calling ‘dr_devx_create_flow_group’ from ‘dr_devx_create_always_hit_ft’
rdma-core-59.0/providers/mlx5/dr_devx.c:749:18: return_function: returning to ‘dr_devx_create_always_hit_ft’ from ‘dr_devx_create_flow_group’
rdma-core-59.0/providers/mlx5/dr_devx.c:750:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_devx.c:753:30: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_devx.c:756:19: call_function: calling ‘dr_devx_set_fte’ from ‘dr_devx_create_always_hit_ft’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def738]
rdma-core-59.0/providers/mlx5/dr_devx.c:716:25: warning[-Wanalyzer-malloc-leak]: leak of ‘in’
rdma-core-59.0/providers/mlx5/dr_devx.c:616:1: enter_function: entry to ‘dr_devx_set_fte’
rdma-core-59.0/providers/mlx5/dr_devx.c:634:14: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/dr_devx.c:635:12: branch_false: following ‘false’ branch (when ‘in’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_devx.c:640:9: call_function: inlined call to ‘_devx_set’ from ‘dr_devx_set_fte’
rdma-core-59.0/providers/mlx5/dr_devx.c:715:12: branch_true: following ‘true’ branch...
rdma-core-59.0/providers/mlx5/dr_devx.c:716:49: branch_true: ...to here
rdma-core-59.0/providers/mlx5/dr_devx.c:716:25: danger: ‘in’ leaks here; was allocated at [(2)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def739]
rdma-core-59.0/providers/mlx5/dr_devx.c:716:25: warning[-Wanalyzer-malloc-leak]: leak of ‘tbl’
rdma-core-59.0/providers/mlx5/dr_devx.c:727:1: enter_function: entry to ‘dr_devx_create_always_hit_ft’
rdma-core-59.0/providers/mlx5/dr_devx.c:737:15: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/dr_devx.c:738:12: branch_false: following ‘false’ branch (when ‘tbl’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_devx.c:743:18: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_devx.c:744:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_devx.c:747:29: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_devx.c:749:18: call_function: calling ‘dr_devx_create_flow_group’ from ‘dr_devx_create_always_hit_ft’
rdma-core-59.0/providers/mlx5/dr_devx.c:749:18: return_function: returning to ‘dr_devx_create_always_hit_ft’ from ‘dr_devx_create_flow_group’
rdma-core-59.0/providers/mlx5/dr_devx.c:750:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_devx.c:753:30: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_devx.c:756:19: call_function: calling ‘dr_devx_set_fte’ from ‘dr_devx_create_always_hit_ft’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def740]
rdma-core-59.0/providers/mlx5/dr_devx.c:769:9: warning[-Wanalyzer-malloc-leak]: leak of ‘tbl’
rdma-core-59.0/providers/mlx5/dr_devx.c:727:1: enter_function: entry to ‘dr_devx_create_always_hit_ft’
rdma-core-59.0/providers/mlx5/dr_devx.c:737:15: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/dr_devx.c:738:12: branch_false: following ‘false’ branch (when ‘tbl’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_devx.c:743:18: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_devx.c:744:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_devx.c:747:29: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_devx.c:749:18: call_function: calling ‘dr_devx_create_flow_group’ from ‘dr_devx_create_always_hit_ft’
rdma-core-59.0/providers/mlx5/dr_devx.c:749:18: return_function: returning to ‘dr_devx_create_always_hit_ft’ from ‘dr_devx_create_flow_group’
rdma-core-59.0/providers/mlx5/dr_devx.c:750:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_devx.c:753:30: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_devx.c:756:19: call_function: calling ‘dr_devx_set_fte’ from ‘dr_devx_create_always_hit_ft’
rdma-core-59.0/providers/mlx5/dr_devx.c:756:19: return_function: returning to ‘dr_devx_create_always_hit_ft’ from ‘dr_devx_set_fte’
rdma-core-59.0/providers/mlx5/dr_devx.c:757:12: branch_true: following ‘true’ branch...
rdma-core-59.0/providers/mlx5/dr_devx.c:758:17: branch_true: ...to here
rdma-core-59.0/providers/mlx5/dr_devx.c:769:9: danger: ‘tbl’ leaks here; was allocated at [(2)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def741]
rdma-core-59.0/providers/mlx5/dr_devx.c:771:9: warning[-Wanalyzer-malloc-leak]: leak of ‘tbl’
rdma-core-59.0/providers/mlx5/dr_devx.c:727:1: enter_function: entry to ‘dr_devx_create_always_hit_ft’
rdma-core-59.0/providers/mlx5/dr_devx.c:737:15: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/dr_devx.c:738:12: branch_false: following ‘false’ branch (when ‘tbl’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_devx.c:743:18: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_devx.c:744:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_devx.c:747:29: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_devx.c:749:18: call_function: calling ‘dr_devx_create_flow_group’ from ‘dr_devx_create_always_hit_ft’
rdma-core-59.0/providers/mlx5/dr_devx.c:749:18: return_function: returning to ‘dr_devx_create_always_hit_ft’ from ‘dr_devx_create_flow_group’
rdma-core-59.0/providers/mlx5/dr_devx.c:750:12: branch_true: following ‘true’ branch...
rdma-core-59.0/providers/mlx5/dr_devx.c:751:17: branch_true: ...to here
rdma-core-59.0/providers/mlx5/dr_devx.c:771:9: danger: ‘tbl’ leaks here; was allocated at [(2)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def742]
rdma-core-59.0/providers/mlx5/dr_devx.c:906:15: warning[-Wanalyzer-malloc-leak]: leak of ‘in’
rdma-core-59.0/providers/mlx5/dr_devx.c:874:25: enter_function: entry to ‘dr_devx_create_reformat_ctx’
rdma-core-59.0/providers/mlx5/dr_devx.c:890:14: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/dr_devx.c:891:12: branch_false: following ‘false’ branch (when ‘in’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_devx.c:896:9: call_function: inlined call to ‘_devx_set’ from ‘dr_devx_create_reformat_ctx’
rdma-core-59.0/providers/mlx5/dr_devx.c:906:15: danger: ‘in’ leaks here; was allocated at [(2)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def743]
rdma-core-59.0/providers/mlx5/dr_devx.c:908:25: warning[-Wanalyzer-malloc-leak]: leak of ‘in’
rdma-core-59.0/providers/mlx5/dr_devx.c:874:25: enter_function: entry to ‘dr_devx_create_reformat_ctx’
rdma-core-59.0/providers/mlx5/dr_devx.c:890:14: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/dr_devx.c:891:12: branch_false: following ‘false’ branch (when ‘in’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_devx.c:896:9: call_function: inlined call to ‘_devx_set’ from ‘dr_devx_create_reformat_ctx’
rdma-core-59.0/providers/mlx5/dr_devx.c:907:12: branch_true: following ‘true’ branch...
rdma-core-59.0/providers/mlx5/dr_devx.c:908:49: branch_true: ...to here
rdma-core-59.0/providers/mlx5/dr_devx.c:908:25: danger: ‘in’ leaks here; was allocated at [(2)](sarif:/runs/0/results/14/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def744]
rdma-core-59.0/providers/mlx5/dr_icm_pool.c:101:22: warning[-Wanalyzer-malloc-leak]: leak of ‘icm_mr’
rdma-core-59.0/providers/mlx5/dr_icm_pool.c:427:12: enter_function: entry to ‘dr_icm_handle_buddies_get_mem’
rdma-core-59.0/providers/mlx5/dr_icm_pool.c:439:16: branch_true: following ‘true’ branch...
rdma-core-59.0/providers/mlx5/dr_icm_pool.c:440:17: branch_true: ...to here
rdma-core-59.0/providers/mlx5/dr_icm_pool.c:456:23: call_function: calling ‘dr_icm_buddy_create’ from ‘dr_icm_handle_buddies_get_mem’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def745]
rdma-core-59.0/providers/mlx5/dr_icm_pool.c:129:17: warning[-Wanalyzer-malloc-leak]: leak of ‘icm_mr’
rdma-core-59.0/providers/mlx5/dr_icm_pool.c:427:12: enter_function: entry to ‘dr_icm_handle_buddies_get_mem’
rdma-core-59.0/providers/mlx5/dr_icm_pool.c:439:16: branch_true: following ‘true’ branch...
rdma-core-59.0/providers/mlx5/dr_icm_pool.c:440:17: branch_true: ...to here
rdma-core-59.0/providers/mlx5/dr_icm_pool.c:456:23: call_function: calling ‘dr_icm_buddy_create’ from ‘dr_icm_handle_buddies_get_mem’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def746]
rdma-core-59.0/providers/mlx5/dr_icm_pool.c:170:9: warning[-Wanalyzer-malloc-leak]: leak of ‘icm_mr’
rdma-core-59.0/providers/mlx5/dr_icm_pool.c:427:12: enter_function: entry to ‘dr_icm_handle_buddies_get_mem’
rdma-core-59.0/providers/mlx5/dr_icm_pool.c:439:16: branch_true: following ‘true’ branch...
rdma-core-59.0/providers/mlx5/dr_icm_pool.c:440:17: branch_true: ...to here
rdma-core-59.0/providers/mlx5/dr_icm_pool.c:456:23: call_function: calling ‘dr_icm_buddy_create’ from ‘dr_icm_handle_buddies_get_mem’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def747]
rdma-core-59.0/providers/mlx5/dr_matcher.c:773:15: warning[-Wanalyzer-malloc-leak]: leak of ‘matcher’
rdma-core-59.0/providers/mlx5/dr_matcher.c:1466:1: enter_function: entry to ‘mlx5dv_dr_matcher_create’
rdma-core-59.0/providers/mlx5/dr_matcher.c:1476:19: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/dr_matcher.c:1477:12: branch_false: following ‘false’ branch (when ‘matcher’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_matcher.c:1482:9: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_matcher.c:1489:9: call_function: calling ‘dr_domain_lock’ from ‘mlx5dv_dr_matcher_create’
rdma-core-59.0/providers/mlx5/dr_matcher.c:1489:9: return_function: returning to ‘mlx5dv_dr_matcher_create’ from ‘dr_domain_lock’
rdma-core-59.0/providers/mlx5/dr_matcher.c:1491:15: call_function: calling ‘dr_matcher_init’ from ‘mlx5dv_dr_matcher_create’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def748]
rdma-core-59.0/providers/mlx5/dr_matcher.c:1271:31: warning[-Wanalyzer-malloc-leak]: leak of ‘matcher’
rdma-core-59.0/providers/mlx5/dr_matcher.c:1466:1: enter_function: entry to ‘mlx5dv_dr_matcher_create’
rdma-core-59.0/providers/mlx5/dr_matcher.c:1476:19: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/dr_matcher.c:1477:12: branch_false: following ‘false’ branch (when ‘matcher’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_matcher.c:1482:9: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_matcher.c:1489:9: call_function: calling ‘dr_domain_lock’ from ‘mlx5dv_dr_matcher_create’
rdma-core-59.0/providers/mlx5/dr_matcher.c:1489:9: return_function: returning to ‘mlx5dv_dr_matcher_create’ from ‘dr_domain_lock’
rdma-core-59.0/providers/mlx5/dr_matcher.c:1491:15: call_function: calling ‘dr_matcher_init’ from ‘mlx5dv_dr_matcher_create’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def749]
rdma-core-59.0/providers/mlx5/dr_matcher.c:1313:17: warning[-Wanalyzer-malloc-leak]: leak of ‘consumed_mask_buf’
rdma-core-59.0/providers/mlx5/dr_matcher.c:1466:1: enter_function: entry to ‘mlx5dv_dr_matcher_create’
rdma-core-59.0/providers/mlx5/dr_matcher.c:1477:12: branch_false: following ‘false’ branch (when ‘matcher’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_matcher.c:1482:9: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_matcher.c:1489:9: call_function: calling ‘dr_domain_lock’ from ‘mlx5dv_dr_matcher_create’
rdma-core-59.0/providers/mlx5/dr_matcher.c:1489:9: return_function: returning to ‘mlx5dv_dr_matcher_create’ from ‘dr_domain_lock’
rdma-core-59.0/providers/mlx5/dr_matcher.c:1491:15: call_function: calling ‘dr_matcher_init’ from ‘mlx5dv_dr_matcher_create’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def750]
rdma-core-59.0/providers/mlx5/dr_matcher.c:1313:17: warning[-Wanalyzer-malloc-leak]: leak of ‘matcher’
rdma-core-59.0/providers/mlx5/dr_matcher.c:1466:1: enter_function: entry to ‘mlx5dv_dr_matcher_create’
rdma-core-59.0/providers/mlx5/dr_matcher.c:1476:19: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/dr_matcher.c:1477:12: branch_false: following ‘false’ branch (when ‘matcher’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_matcher.c:1482:9: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_matcher.c:1489:9: call_function: calling ‘dr_domain_lock’ from ‘mlx5dv_dr_matcher_create’
rdma-core-59.0/providers/mlx5/dr_matcher.c:1489:9: return_function: returning to ‘mlx5dv_dr_matcher_create’ from ‘dr_domain_lock’
rdma-core-59.0/providers/mlx5/dr_matcher.c:1491:15: call_function: calling ‘dr_matcher_init’ from ‘mlx5dv_dr_matcher_create’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def751]
rdma-core-59.0/providers/mlx5/dr_ptrn.c:249:31: warning[-Wanalyzer-malloc-leak]: leak of ‘mngr’
rdma-core-59.0/providers/mlx5/dr_ptrn.c:239:12: branch_true: following ‘true’ branch...
rdma-core-59.0/providers/mlx5/dr_ptrn.c:242:16: branch_true: ...to here
rdma-core-59.0/providers/mlx5/dr_ptrn.c:242:16: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/dr_ptrn.c:243:12: branch_false: following ‘false’ branch (when ‘mngr’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ptrn.c:248:9: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ptrn.c:249:31: danger: ‘mngr’ leaks here; was allocated at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def752]
rdma-core-59.0/providers/mlx5/dr_ptrn.c:251:17: warning[-Wanalyzer-malloc-leak]: leak of ‘mngr’
rdma-core-59.0/providers/mlx5/dr_ptrn.c:239:12: branch_true: following ‘true’ branch...
rdma-core-59.0/providers/mlx5/dr_ptrn.c:242:16: branch_true: ...to here
rdma-core-59.0/providers/mlx5/dr_ptrn.c:242:16: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/dr_ptrn.c:243:12: branch_false: following ‘false’ branch (when ‘mngr’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ptrn.c:248:9: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ptrn.c:250:12: branch_true: following ‘true’ branch...
rdma-core-59.0/providers/mlx5/dr_ptrn.c:251:17: branch_true: ...to here
rdma-core-59.0/providers/mlx5/dr_ptrn.c:251:17: danger: ‘mngr’ leaks here; was allocated at [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def753]
rdma-core-59.0/providers/mlx5/dr_rule.c:58:9: warning[-Wanalyzer-malloc-leak]: leak of ‘ste_info_last’
rdma-core-59.0/providers/mlx5/dr_rule.c:1611:24: enter_function: entry to ‘mlx5dv_dr_rule_create’
rdma-core-59.0/providers/mlx5/dr_rule.c:1620:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_rule.c:1623:24: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_rule.c:1623:24: call_function: calling ‘dr_rule_create_rule’ from ‘mlx5dv_dr_rule_create’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def754]
rdma-core-59.0/providers/mlx5/dr_rule.c:58:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
rdma-core-59.0/providers/mlx5/dr_rule.c:1611:24: enter_function: entry to ‘mlx5dv_dr_rule_create’
rdma-core-59.0/providers/mlx5/dr_rule.c:1620:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_rule.c:1623:24: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_rule.c:1623:24: call_function: calling ‘dr_rule_create_rule’ from ‘mlx5dv_dr_rule_create’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def755]
rdma-core-59.0/providers/mlx5/dr_rule.c:64:9: warning[-Wanalyzer-malloc-leak]: leak of ‘ste_info_last’
rdma-core-59.0/providers/mlx5/dr_rule.c:1611:24: enter_function: entry to ‘mlx5dv_dr_rule_create’
rdma-core-59.0/providers/mlx5/dr_rule.c:1620:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_rule.c:1623:24: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_rule.c:1623:24: call_function: calling ‘dr_rule_create_rule’ from ‘mlx5dv_dr_rule_create’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def756]
rdma-core-59.0/providers/mlx5/dr_rule.c:82:20: warning[-Wanalyzer-malloc-leak]: leak of ‘ste_info’
rdma-core-59.0/providers/mlx5/dr_rule.c:1611:24: enter_function: entry to ‘mlx5dv_dr_rule_create’
rdma-core-59.0/providers/mlx5/dr_rule.c:1620:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_rule.c:1623:24: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_rule.c:1623:24: call_function: calling ‘dr_rule_create_rule’ from ‘mlx5dv_dr_rule_create’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def757]
rdma-core-59.0/providers/mlx5/dr_rule.c:94:9: warning[-Wanalyzer-malloc-leak]: leak of ‘ste_info’
rdma-core-59.0/providers/mlx5/dr_rule.c:1611:24: enter_function: entry to ‘mlx5dv_dr_rule_create’
rdma-core-59.0/providers/mlx5/dr_rule.c:1620:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_rule.c:1623:24: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_rule.c:1623:24: call_function: calling ‘dr_rule_create_rule’ from ‘mlx5dv_dr_rule_create’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def758]
rdma-core-59.0/providers/mlx5/dr_rule.c:119:32: warning[-Wanalyzer-malloc-leak]: leak of ‘ste_info’
rdma-core-59.0/providers/mlx5/dr_rule.c:1611:24: enter_function: entry to ‘mlx5dv_dr_rule_create’
rdma-core-59.0/providers/mlx5/dr_rule.c:1620:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_rule.c:1623:24: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_rule.c:1623:24: call_function: calling ‘dr_rule_create_rule’ from ‘mlx5dv_dr_rule_create’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def759]
rdma-core-59.0/providers/mlx5/dr_rule.c:122:13: warning[-Wanalyzer-malloc-leak]: leak of ‘ste_info’
rdma-core-59.0/providers/mlx5/dr_rule.c:1611:24: enter_function: entry to ‘mlx5dv_dr_rule_create’
rdma-core-59.0/providers/mlx5/dr_rule.c:1620:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_rule.c:1623:24: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_rule.c:1623:24: call_function: calling ‘dr_rule_create_rule’ from ‘mlx5dv_dr_rule_create’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def760]
rdma-core-59.0/providers/mlx5/dr_rule.c:286:9: warning[-Wanalyzer-malloc-leak]: leak of ‘ste_info’
rdma-core-59.0/providers/mlx5/dr_rule.c:1611:24: enter_function: entry to ‘mlx5dv_dr_rule_create’
rdma-core-59.0/providers/mlx5/dr_rule.c:1620:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_rule.c:1623:24: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_rule.c:1623:24: call_function: calling ‘dr_rule_create_rule’ from ‘mlx5dv_dr_rule_create’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def761]
rdma-core-59.0/providers/mlx5/dr_rule.c:287:9: warning[-Wanalyzer-malloc-leak]: leak of ‘ste_info’
rdma-core-59.0/providers/mlx5/dr_rule.c:1611:24: enter_function: entry to ‘mlx5dv_dr_rule_create’
rdma-core-59.0/providers/mlx5/dr_rule.c:1620:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_rule.c:1623:24: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_rule.c:1623:24: call_function: calling ‘dr_rule_create_rule’ from ‘mlx5dv_dr_rule_create’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def762]
rdma-core-59.0/providers/mlx5/dr_rule.c:290:19: warning[-Wanalyzer-malloc-leak]: leak of ‘ste_info’
rdma-core-59.0/providers/mlx5/dr_rule.c:1611:24: enter_function: entry to ‘mlx5dv_dr_rule_create’
rdma-core-59.0/providers/mlx5/dr_rule.c:1620:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_rule.c:1623:24: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_rule.c:1623:24: call_function: calling ‘dr_rule_create_rule’ from ‘mlx5dv_dr_rule_create’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def763]
rdma-core-59.0/providers/mlx5/dr_rule.c:295:17: warning[-Wanalyzer-malloc-leak]: leak of ‘ste_info’
rdma-core-59.0/providers/mlx5/dr_rule.c:1611:24: enter_function: entry to ‘mlx5dv_dr_rule_create’
rdma-core-59.0/providers/mlx5/dr_rule.c:1620:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_rule.c:1623:24: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_rule.c:1623:24: call_function: calling ‘dr_rule_create_rule’ from ‘mlx5dv_dr_rule_create’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def764]
rdma-core-59.0/providers/mlx5/dr_rule.c:380:23: warning[-Wanalyzer-malloc-leak]: leak of ‘ste_info’
rdma-core-59.0/providers/mlx5/dr_rule.c:1611:24: enter_function: entry to ‘mlx5dv_dr_rule_create’
rdma-core-59.0/providers/mlx5/dr_rule.c:1620:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_rule.c:1623:24: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_rule.c:1623:24: call_function: calling ‘dr_rule_create_rule’ from ‘mlx5dv_dr_rule_create’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def765]
rdma-core-59.0/providers/mlx5/dr_rule.c:427:20: warning[-Wanalyzer-malloc-leak]: leak of ‘ste_info’
rdma-core-59.0/providers/mlx5/dr_rule.c:1611:24: enter_function: entry to ‘mlx5dv_dr_rule_create’
rdma-core-59.0/providers/mlx5/dr_rule.c:1620:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_rule.c:1623:24: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_rule.c:1623:24: call_function: calling ‘dr_rule_create_rule’ from ‘mlx5dv_dr_rule_create’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def766]
rdma-core-59.0/providers/mlx5/dr_rule.c:440:17: warning[-Wanalyzer-malloc-leak]: leak of ‘ste_info’
rdma-core-59.0/providers/mlx5/dr_rule.c:1611:24: enter_function: entry to ‘mlx5dv_dr_rule_create’
rdma-core-59.0/providers/mlx5/dr_rule.c:1620:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_rule.c:1623:24: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_rule.c:1623:24: call_function: calling ‘dr_rule_create_rule’ from ‘mlx5dv_dr_rule_create’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def767]
rdma-core-59.0/providers/mlx5/dr_rule.c:441:9: warning[-Wanalyzer-malloc-leak]: leak of ‘ste_info’
rdma-core-59.0/providers/mlx5/dr_rule.c:1611:24: enter_function: entry to ‘mlx5dv_dr_rule_create’
rdma-core-59.0/providers/mlx5/dr_rule.c:1620:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_rule.c:1623:24: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_rule.c:1623:24: call_function: calling ‘dr_rule_create_rule’ from ‘mlx5dv_dr_rule_create’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def768]
rdma-core-59.0/providers/mlx5/dr_rule.c:791:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘last_ste’
rdma-core-59.0/providers/mlx5/dr_rule.c:1611:24: enter_function: entry to ‘mlx5dv_dr_rule_create’
rdma-core-59.0/providers/mlx5/dr_rule.c:1620:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_rule.c:1623:24: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_rule.c:1623:24: call_function: calling ‘dr_rule_create_rule’ from ‘mlx5dv_dr_rule_create’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def769]
rdma-core-59.0/providers/mlx5/dr_rule.c:811:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘last_ste’
rdma-core-59.0/providers/mlx5/dr_rule.c:1611:24: enter_function: entry to ‘mlx5dv_dr_rule_create’
rdma-core-59.0/providers/mlx5/dr_rule.c:1620:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_rule.c:1623:24: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_rule.c:1623:24: call_function: calling ‘dr_rule_create_rule’ from ‘mlx5dv_dr_rule_create’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def770]
rdma-core-59.0/providers/mlx5/dr_rule.c:848:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘last_ste’
rdma-core-59.0/providers/mlx5/dr_rule.c:1611:24: enter_function: entry to ‘mlx5dv_dr_rule_create’
rdma-core-59.0/providers/mlx5/dr_rule.c:1620:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_rule.c:1623:24: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_rule.c:1623:24: call_function: calling ‘dr_rule_create_rule’ from ‘mlx5dv_dr_rule_create’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def771]
rdma-core-59.0/providers/mlx5/dr_rule.c:900:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘last_ste’
rdma-core-59.0/providers/mlx5/dr_rule.c:1611:24: enter_function: entry to ‘mlx5dv_dr_rule_create’
rdma-core-59.0/providers/mlx5/dr_rule.c:1620:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_rule.c:1623:24: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_rule.c:1623:24: call_function: calling ‘dr_rule_create_rule’ from ‘mlx5dv_dr_rule_create’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def772]
rdma-core-59.0/providers/mlx5/dr_rule.c:916:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘last_ste’
rdma-core-59.0/providers/mlx5/dr_rule.c:1611:24: enter_function: entry to ‘mlx5dv_dr_rule_create’
rdma-core-59.0/providers/mlx5/dr_rule.c:1620:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_rule.c:1623:24: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_rule.c:1623:24: call_function: calling ‘dr_rule_create_rule’ from ‘mlx5dv_dr_rule_create’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def773]
rdma-core-59.0/providers/mlx5/dr_rule.c:1009:13: warning[-Wanalyzer-malloc-leak]: leak of ‘ste_info’
rdma-core-59.0/providers/mlx5/dr_rule.c:1611:24: enter_function: entry to ‘mlx5dv_dr_rule_create’
rdma-core-59.0/providers/mlx5/dr_rule.c:1620:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_rule.c:1623:24: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_rule.c:1623:24: call_function: calling ‘dr_rule_create_rule’ from ‘mlx5dv_dr_rule_create’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def774]
rdma-core-59.0/providers/mlx5/dr_rule.c:1021:9: warning[-Wanalyzer-malloc-leak]: leak of ‘ste_info’
rdma-core-59.0/providers/mlx5/dr_rule.c:1611:24: enter_function: entry to ‘mlx5dv_dr_rule_create’
rdma-core-59.0/providers/mlx5/dr_rule.c:1620:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_rule.c:1623:24: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_rule.c:1623:24: call_function: calling ‘dr_rule_create_rule’ from ‘mlx5dv_dr_rule_create’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def775]
rdma-core-59.0/providers/mlx5/dr_rule.c:1579:15: warning[-Wanalyzer-malloc-leak]: leak of ‘attr_aux’
rdma-core-59.0/providers/mlx5/dr_rule.c:1611:24: enter_function: entry to ‘mlx5dv_dr_rule_create’
rdma-core-59.0/providers/mlx5/dr_rule.c:1620:12: branch_true: following ‘true’ branch...
rdma-core-59.0/providers/mlx5/dr_rule.c:1621:24: branch_true: ...to here
rdma-core-59.0/providers/mlx5/dr_rule.c:1621:24: call_function: calling ‘dr_rule_create_rule_root’ from ‘mlx5dv_dr_rule_create’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def776]
rdma-core-59.0/providers/mlx5/dr_rule.c:1579:15: warning[-Wanalyzer-malloc-leak]: leak of ‘attr’
rdma-core-59.0/providers/mlx5/dr_rule.c:1611:24: enter_function: entry to ‘mlx5dv_dr_rule_create’
rdma-core-59.0/providers/mlx5/dr_rule.c:1620:12: branch_true: following ‘true’ branch...
rdma-core-59.0/providers/mlx5/dr_rule.c:1621:24: branch_true: ...to here
rdma-core-59.0/providers/mlx5/dr_rule.c:1621:24: call_function: calling ‘dr_rule_create_rule_root’ from ‘mlx5dv_dr_rule_create’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def777]
rdma-core-59.0/providers/mlx5/dr_rule.c:1579:15: warning[-Wanalyzer-malloc-leak]: leak of ‘rule’
rdma-core-59.0/providers/mlx5/dr_rule.c:1611:24: enter_function: entry to ‘mlx5dv_dr_rule_create’
rdma-core-59.0/providers/mlx5/dr_rule.c:1620:12: branch_true: following ‘true’ branch...
rdma-core-59.0/providers/mlx5/dr_rule.c:1621:24: branch_true: ...to here
rdma-core-59.0/providers/mlx5/dr_rule.c:1621:24: call_function: calling ‘dr_rule_create_rule_root’ from ‘mlx5dv_dr_rule_create’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def778]
rdma-core-59.0/providers/mlx5/dr_rule.c:1587:22: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
rdma-core-59.0/providers/mlx5/dr_rule.c:1611:24: enter_function: entry to ‘mlx5dv_dr_rule_create’
rdma-core-59.0/providers/mlx5/dr_rule.c:1620:12: branch_true: following ‘true’ branch...
rdma-core-59.0/providers/mlx5/dr_rule.c:1621:24: branch_true: ...to here
rdma-core-59.0/providers/mlx5/dr_rule.c:1621:24: call_function: calling ‘dr_rule_create_rule_root’ from ‘mlx5dv_dr_rule_create’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def779]
rdma-core-59.0/providers/mlx5/dr_rule.c:1587:22: warning[-Wanalyzer-malloc-leak]: leak of ‘rule’
rdma-core-59.0/providers/mlx5/dr_rule.c:1611:24: enter_function: entry to ‘mlx5dv_dr_rule_create’
rdma-core-59.0/providers/mlx5/dr_rule.c:1620:12: branch_true: following ‘true’ branch...
rdma-core-59.0/providers/mlx5/dr_rule.c:1621:24: branch_true: ...to here
rdma-core-59.0/providers/mlx5/dr_rule.c:1621:24: call_function: calling ‘dr_rule_create_rule_root’ from ‘mlx5dv_dr_rule_create’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def780]
rdma-core-59.0/providers/mlx5/dr_ste.c:345:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
rdma-core-59.0/providers/mlx5/dr_ste.c:332:13: enter_function: entry to ‘dr_ste_remove_middle_ste’
rdma-core-59.0/providers/mlx5/dr_ste.c:341:20: call_function: inlined call to ‘list_entry_or_null’ from ‘dr_ste_remove_middle_ste’
rdma-core-59.0/providers/mlx5/dr_ste.c:344:21: branch_true: ...to here
rdma-core-59.0/providers/mlx5/dr_ste.c:345:9: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def781]
rdma-core-59.0/providers/mlx5/dr_ste.c:373:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
rdma-core-59.0/providers/mlx5/dr_ste.c:357:6: enter_function: entry to ‘dr_ste_free’
rdma-core-59.0/providers/mlx5/dr_ste.c:372:21: call_function: calling ‘dr_ste_get_miss_list_top’ from ‘dr_ste_free’
rdma-core-59.0/providers/mlx5/dr_ste.c:372:21: return_function: returning to ‘dr_ste_free’ from ‘dr_ste_get_miss_list_top’
rdma-core-59.0/providers/mlx5/dr_ste.c:373:9: danger: dereference of NULL ‘dr_ste_get_miss_list_top(ste)’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def782]
rdma-core-59.0/providers/mlx5/dr_ste.c:550:17: warning[-Wanalyzer-malloc-leak]: leak of ‘htbl’
rdma-core-59.0/providers/mlx5/dr_ste.c:544:16: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/dr_ste.c:545:12: branch_false: following ‘false’ branch (when ‘htbl’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste.c:550:17: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste.c:550:17: danger: ‘htbl’ leaks here; was allocated at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def783]
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3215:34: warning[-Wanalyzer-malloc-leak]: leak of ‘action_htbl’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3174:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3181:12: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3187:12: branch_false: following ‘false’ branch (when ‘action_hw_ste’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3193:24: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3194:12: branch_false: following ‘false’ branch (when ‘ste_info_arr’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3200:23: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3200:23: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3201:12: branch_false: following ‘false’ branch (when ‘action_htbl’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3207:21: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3208:12: branch_false: following ‘false’ branch (when ‘rule_htbl’ is non-NULL)...
branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3214:21: branch_true: following ‘true’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3215:34: branch_true: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3215:34: danger: ‘action_htbl’ leaks here; was allocated at [(7)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def784]
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3215:34: warning[-Wanalyzer-malloc-leak]: leak of ‘action_hw_ste’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3174:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3181:12: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3186:25: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3187:12: branch_false: following ‘false’ branch (when ‘action_hw_ste’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3193:24: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3194:12: branch_false: following ‘false’ branch (when ‘ste_info_arr’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3200:23: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3201:12: branch_false: following ‘false’ branch (when ‘action_htbl’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3207:21: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3208:12: branch_false: following ‘false’ branch (when ‘rule_htbl’ is non-NULL)...
branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3214:21: branch_true: following ‘true’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3215:34: branch_true: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3215:34: danger: ‘action_hw_ste’ leaks here; was allocated at [(3)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def785]
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3215:34: warning[-Wanalyzer-malloc-leak]: leak of ‘rule_htbl’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3174:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3181:12: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3187:12: branch_false: following ‘false’ branch (when ‘action_hw_ste’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3193:24: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3194:12: branch_false: following ‘false’ branch (when ‘ste_info_arr’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3200:23: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3201:12: branch_false: following ‘false’ branch (when ‘action_htbl’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3207:21: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3207:21: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3208:12: branch_false: following ‘false’ branch (when ‘rule_htbl’ is non-NULL)...
branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3214:21: branch_true: following ‘true’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3215:34: branch_true: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3215:34: danger: ‘rule_htbl’ leaks here; was allocated at [(9)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def786]
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3215:34: warning[-Wanalyzer-malloc-leak]: leak of ‘ste_info_arr’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3174:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3181:12: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3187:12: branch_false: following ‘false’ branch (when ‘action_hw_ste’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3193:24: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3193:24: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3194:12: branch_false: following ‘false’ branch (when ‘ste_info_arr’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3200:23: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3201:12: branch_false: following ‘false’ branch (when ‘action_htbl’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3207:21: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3208:12: branch_false: following ‘false’ branch (when ‘rule_htbl’ is non-NULL)...
branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3214:21: branch_true: following ‘true’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3215:34: branch_true: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3215:34: danger: ‘ste_info_arr’ leaks here; was allocated at [(5)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def787]
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3229:32: warning[-Wanalyzer-malloc-leak]: leak of ‘action_htbl’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3157:12: enter_function: entry to ‘dr_ste_v1_aso_other_domain_link’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3174:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3181:12: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3187:12: branch_false: following ‘false’ branch (when ‘action_hw_ste’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3193:24: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3194:12: branch_false: following ‘false’ branch (when ‘ste_info_arr’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3200:23: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3200:23: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3201:12: branch_false: following ‘false’ branch (when ‘action_htbl’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3207:21: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3208:12: branch_false: following ‘false’ branch (when ‘rule_htbl’ is non-NULL)...
branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3214:21: branch_true: following ‘true’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3215:34: branch_true: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3220:20: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3227:17: call_function: inlined call to ‘dr_htbl_get’ from ‘dr_ste_v1_aso_other_domain_link’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3229:32: danger: ‘action_htbl’ leaks here; was allocated at [(8)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/7)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def788]
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3229:32: warning[-Wanalyzer-malloc-leak]: leak of ‘action_hw_ste’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3157:12: enter_function: entry to ‘dr_ste_v1_aso_other_domain_link’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3174:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3181:12: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3186:25: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3187:12: branch_false: following ‘false’ branch (when ‘action_hw_ste’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3193:24: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3194:12: branch_false: following ‘false’ branch (when ‘ste_info_arr’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3200:23: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3201:12: branch_false: following ‘false’ branch (when ‘action_htbl’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3207:21: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3208:12: branch_false: following ‘false’ branch (when ‘rule_htbl’ is non-NULL)...
branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3214:21: branch_true: following ‘true’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3215:34: branch_true: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3220:20: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3227:17: call_function: inlined call to ‘dr_htbl_get’ from ‘dr_ste_v1_aso_other_domain_link’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3229:32: danger: ‘action_hw_ste’ leaks here; was allocated at [(4)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def789]
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3229:32: warning[-Wanalyzer-malloc-leak]: leak of ‘rule_htbl’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3157:12: enter_function: entry to ‘dr_ste_v1_aso_other_domain_link’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3174:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3181:12: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3187:12: branch_false: following ‘false’ branch (when ‘action_hw_ste’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3193:24: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3194:12: branch_false: following ‘false’ branch (when ‘ste_info_arr’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3200:23: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3201:12: branch_false: following ‘false’ branch (when ‘action_htbl’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3207:21: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3207:21: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3208:12: branch_false: following ‘false’ branch (when ‘rule_htbl’ is non-NULL)...
branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3214:21: branch_true: following ‘true’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3215:34: branch_true: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3220:20: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3227:17: call_function: inlined call to ‘dr_htbl_get’ from ‘dr_ste_v1_aso_other_domain_link’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3229:32: danger: ‘rule_htbl’ leaks here; was allocated at [(10)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def790]
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3229:32: warning[-Wanalyzer-malloc-leak]: leak of ‘ste_info_arr’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3157:12: enter_function: entry to ‘dr_ste_v1_aso_other_domain_link’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3174:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3181:12: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3187:12: branch_false: following ‘false’ branch (when ‘action_hw_ste’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3193:24: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3193:24: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3194:12: branch_false: following ‘false’ branch (when ‘ste_info_arr’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3200:23: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3201:12: branch_false: following ‘false’ branch (when ‘action_htbl’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3207:21: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3208:12: branch_false: following ‘false’ branch (when ‘rule_htbl’ is non-NULL)...
branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3214:21: branch_true: following ‘true’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3215:34: branch_true: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3220:20: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3227:17: call_function: inlined call to ‘dr_htbl_get’ from ‘dr_ste_v1_aso_other_domain_link’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3229:32: danger: ‘ste_info_arr’ leaks here; was allocated at [(6)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/5)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def791]
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3246:17: warning[-Wanalyzer-malloc-leak]: leak of ‘action_htbl’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3157:12: enter_function: entry to ‘dr_ste_v1_aso_other_domain_link’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3174:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3181:12: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3187:12: branch_false: following ‘false’ branch (when ‘action_hw_ste’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3193:24: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3194:12: branch_false: following ‘false’ branch (when ‘ste_info_arr’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3200:23: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3200:23: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3201:12: branch_false: following ‘false’ branch (when ‘action_htbl’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3207:21: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3208:12: branch_false: following ‘false’ branch (when ‘rule_htbl’ is non-NULL)...
branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3214:21: branch_true: following ‘true’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3215:34: branch_true: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3220:20: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3227:17: call_function: inlined call to ‘dr_htbl_get’ from ‘dr_ste_v1_aso_other_domain_link’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3234:20: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3241:17: call_function: inlined call to ‘dr_htbl_get’ from ‘dr_ste_v1_aso_other_domain_link’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3246:17: danger: ‘action_htbl’ leaks here; was allocated at [(8)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/7)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def792]
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3246:17: warning[-Wanalyzer-malloc-leak]: leak of ‘action_hw_ste’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3157:12: enter_function: entry to ‘dr_ste_v1_aso_other_domain_link’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3174:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3181:12: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3186:25: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3187:12: branch_false: following ‘false’ branch (when ‘action_hw_ste’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3193:24: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3194:12: branch_false: following ‘false’ branch (when ‘ste_info_arr’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3200:23: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3201:12: branch_false: following ‘false’ branch (when ‘action_htbl’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3207:21: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3208:12: branch_false: following ‘false’ branch (when ‘rule_htbl’ is non-NULL)...
branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3214:21: branch_true: following ‘true’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3215:34: branch_true: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3220:20: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3227:17: call_function: inlined call to ‘dr_htbl_get’ from ‘dr_ste_v1_aso_other_domain_link’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3234:20: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3241:17: call_function: inlined call to ‘dr_htbl_get’ from ‘dr_ste_v1_aso_other_domain_link’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3246:17: danger: ‘action_hw_ste’ leaks here; was allocated at [(4)](sarif:/runs/0/results/14/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def793]
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3246:17: warning[-Wanalyzer-malloc-leak]: leak of ‘rule_htbl’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3157:12: enter_function: entry to ‘dr_ste_v1_aso_other_domain_link’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3174:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3181:12: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3187:12: branch_false: following ‘false’ branch (when ‘action_hw_ste’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3193:24: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3194:12: branch_false: following ‘false’ branch (when ‘ste_info_arr’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3200:23: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3201:12: branch_false: following ‘false’ branch (when ‘action_htbl’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3207:21: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3207:21: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3208:12: branch_false: following ‘false’ branch (when ‘rule_htbl’ is non-NULL)...
branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3214:21: branch_true: following ‘true’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3215:34: branch_true: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3220:20: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3227:17: call_function: inlined call to ‘dr_htbl_get’ from ‘dr_ste_v1_aso_other_domain_link’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3234:20: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3241:17: call_function: inlined call to ‘dr_htbl_get’ from ‘dr_ste_v1_aso_other_domain_link’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3246:17: danger: ‘rule_htbl’ leaks here; was allocated at [(10)](sarif:/runs/0/results/15/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def794]
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3246:17: warning[-Wanalyzer-malloc-leak]: leak of ‘ste_info_arr’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3157:12: enter_function: entry to ‘dr_ste_v1_aso_other_domain_link’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3174:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3181:12: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3187:12: branch_false: following ‘false’ branch (when ‘action_hw_ste’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3193:24: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3193:24: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3194:12: branch_false: following ‘false’ branch (when ‘ste_info_arr’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3200:23: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3201:12: branch_false: following ‘false’ branch (when ‘action_htbl’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3207:21: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3208:12: branch_false: following ‘false’ branch (when ‘rule_htbl’ is non-NULL)...
branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3214:21: branch_true: following ‘true’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3215:34: branch_true: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3220:20: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3227:17: call_function: inlined call to ‘dr_htbl_get’ from ‘dr_ste_v1_aso_other_domain_link’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3234:20: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3241:17: call_function: inlined call to ‘dr_htbl_get’ from ‘dr_ste_v1_aso_other_domain_link’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3246:17: danger: ‘ste_info_arr’ leaks here; was allocated at [(6)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/5)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def795]
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3251:17: warning[-Wanalyzer-malloc-leak]: leak of ‘action_htbl’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3157:12: enter_function: entry to ‘dr_ste_v1_aso_other_domain_link’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3174:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3181:12: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3187:12: branch_false: following ‘false’ branch (when ‘action_hw_ste’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3193:24: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3194:12: branch_false: following ‘false’ branch (when ‘ste_info_arr’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3200:23: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3200:23: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3201:12: branch_false: following ‘false’ branch (when ‘action_htbl’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3207:21: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3208:12: branch_false: following ‘false’ branch (when ‘rule_htbl’ is non-NULL)...
branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3214:21: branch_true: following ‘true’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3215:34: branch_true: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3220:20: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3227:17: call_function: inlined call to ‘dr_htbl_get’ from ‘dr_ste_v1_aso_other_domain_link’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3234:20: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3241:17: call_function: inlined call to ‘dr_htbl_get’ from ‘dr_ste_v1_aso_other_domain_link’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3251:17: danger: ‘action_htbl’ leaks here; was allocated at [(8)](sarif:/runs/0/results/16/codeFlows/0/threadFlows/0/locations/7)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def796]
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3251:17: warning[-Wanalyzer-malloc-leak]: leak of ‘action_hw_ste’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3157:12: enter_function: entry to ‘dr_ste_v1_aso_other_domain_link’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3174:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3181:12: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3186:25: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3187:12: branch_false: following ‘false’ branch (when ‘action_hw_ste’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3193:24: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3194:12: branch_false: following ‘false’ branch (when ‘ste_info_arr’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3200:23: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3201:12: branch_false: following ‘false’ branch (when ‘action_htbl’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3207:21: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3208:12: branch_false: following ‘false’ branch (when ‘rule_htbl’ is non-NULL)...
branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3214:21: branch_true: following ‘true’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3215:34: branch_true: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3220:20: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3227:17: call_function: inlined call to ‘dr_htbl_get’ from ‘dr_ste_v1_aso_other_domain_link’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3234:20: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3241:17: call_function: inlined call to ‘dr_htbl_get’ from ‘dr_ste_v1_aso_other_domain_link’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3251:17: danger: ‘action_hw_ste’ leaks here; was allocated at [(4)](sarif:/runs/0/results/17/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def797]
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3251:17: warning[-Wanalyzer-malloc-leak]: leak of ‘rule_htbl’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3157:12: enter_function: entry to ‘dr_ste_v1_aso_other_domain_link’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3174:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3181:12: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3187:12: branch_false: following ‘false’ branch (when ‘action_hw_ste’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3193:24: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3194:12: branch_false: following ‘false’ branch (when ‘ste_info_arr’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3200:23: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3201:12: branch_false: following ‘false’ branch (when ‘action_htbl’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3207:21: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3207:21: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3208:12: branch_false: following ‘false’ branch (when ‘rule_htbl’ is non-NULL)...
branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3214:21: branch_true: following ‘true’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3215:34: branch_true: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3220:20: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3227:17: call_function: inlined call to ‘dr_htbl_get’ from ‘dr_ste_v1_aso_other_domain_link’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3234:20: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3241:17: call_function: inlined call to ‘dr_htbl_get’ from ‘dr_ste_v1_aso_other_domain_link’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3251:17: danger: ‘rule_htbl’ leaks here; was allocated at [(10)](sarif:/runs/0/results/19/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def798]
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3251:17: warning[-Wanalyzer-malloc-leak]: leak of ‘ste_info_arr’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3157:12: enter_function: entry to ‘dr_ste_v1_aso_other_domain_link’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3174:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3181:12: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3187:12: branch_false: following ‘false’ branch (when ‘action_hw_ste’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3193:24: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3193:24: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3194:12: branch_false: following ‘false’ branch (when ‘ste_info_arr’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3200:23: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3201:12: branch_false: following ‘false’ branch (when ‘action_htbl’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3207:21: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3208:12: branch_false: following ‘false’ branch (when ‘rule_htbl’ is non-NULL)...
branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3214:21: branch_true: following ‘true’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3215:34: branch_true: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3220:20: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3227:17: call_function: inlined call to ‘dr_htbl_get’ from ‘dr_ste_v1_aso_other_domain_link’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3234:20: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3241:17: call_function: inlined call to ‘dr_htbl_get’ from ‘dr_ste_v1_aso_other_domain_link’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3251:17: danger: ‘ste_info_arr’ leaks here; was allocated at [(6)](sarif:/runs/0/results/18/codeFlows/0/threadFlows/0/locations/5)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def799]
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3254:17: warning[-Wanalyzer-malloc-leak]: leak of ‘action_htbl’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3157:12: enter_function: entry to ‘dr_ste_v1_aso_other_domain_link’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3174:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3181:12: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3187:12: branch_false: following ‘false’ branch (when ‘action_hw_ste’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3193:24: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3194:12: branch_false: following ‘false’ branch (when ‘ste_info_arr’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3200:23: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3200:23: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3201:12: branch_false: following ‘false’ branch (when ‘action_htbl’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3207:21: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3208:12: branch_false: following ‘false’ branch (when ‘rule_htbl’ is non-NULL)...
branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3214:21: branch_true: following ‘true’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3215:34: branch_true: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3220:20: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3227:17: call_function: inlined call to ‘dr_htbl_get’ from ‘dr_ste_v1_aso_other_domain_link’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3234:20: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3241:17: call_function: inlined call to ‘dr_htbl_get’ from ‘dr_ste_v1_aso_other_domain_link’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3254:17: danger: ‘action_htbl’ leaks here; was allocated at [(8)](sarif:/runs/0/results/21/codeFlows/0/threadFlows/0/locations/7)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def800]
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3254:17: warning[-Wanalyzer-malloc-leak]: leak of ‘action_hw_ste’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3157:12: enter_function: entry to ‘dr_ste_v1_aso_other_domain_link’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3174:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3181:12: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3186:25: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3187:12: branch_false: following ‘false’ branch (when ‘action_hw_ste’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3193:24: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3194:12: branch_false: following ‘false’ branch (when ‘ste_info_arr’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3200:23: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3201:12: branch_false: following ‘false’ branch (when ‘action_htbl’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3207:21: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3208:12: branch_false: following ‘false’ branch (when ‘rule_htbl’ is non-NULL)...
branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3214:21: branch_true: following ‘true’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3215:34: branch_true: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3220:20: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3227:17: call_function: inlined call to ‘dr_htbl_get’ from ‘dr_ste_v1_aso_other_domain_link’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3234:20: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3241:17: call_function: inlined call to ‘dr_htbl_get’ from ‘dr_ste_v1_aso_other_domain_link’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3254:17: danger: ‘action_hw_ste’ leaks here; was allocated at [(4)](sarif:/runs/0/results/23/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def801]
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3254:17: warning[-Wanalyzer-malloc-leak]: leak of ‘rule_htbl’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3157:12: enter_function: entry to ‘dr_ste_v1_aso_other_domain_link’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3174:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3181:12: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3187:12: branch_false: following ‘false’ branch (when ‘action_hw_ste’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3193:24: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3194:12: branch_false: following ‘false’ branch (when ‘ste_info_arr’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3200:23: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3201:12: branch_false: following ‘false’ branch (when ‘action_htbl’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3207:21: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3207:21: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3208:12: branch_false: following ‘false’ branch (when ‘rule_htbl’ is non-NULL)...
branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3214:21: branch_true: following ‘true’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3215:34: branch_true: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3220:20: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3227:17: call_function: inlined call to ‘dr_htbl_get’ from ‘dr_ste_v1_aso_other_domain_link’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3234:20: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3241:17: call_function: inlined call to ‘dr_htbl_get’ from ‘dr_ste_v1_aso_other_domain_link’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3254:17: danger: ‘rule_htbl’ leaks here; was allocated at [(10)](sarif:/runs/0/results/20/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def802]
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3254:17: warning[-Wanalyzer-malloc-leak]: leak of ‘ste_info_arr’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3157:12: enter_function: entry to ‘dr_ste_v1_aso_other_domain_link’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3174:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3181:12: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3187:12: branch_false: following ‘false’ branch (when ‘action_hw_ste’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3193:24: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3193:24: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3194:12: branch_false: following ‘false’ branch (when ‘ste_info_arr’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3200:23: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3201:12: branch_false: following ‘false’ branch (when ‘action_htbl’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3207:21: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3208:12: branch_false: following ‘false’ branch (when ‘rule_htbl’ is non-NULL)...
branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3214:21: branch_true: following ‘true’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3215:34: branch_true: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3220:20: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3227:17: call_function: inlined call to ‘dr_htbl_get’ from ‘dr_ste_v1_aso_other_domain_link’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3234:20: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3241:17: call_function: inlined call to ‘dr_htbl_get’ from ‘dr_ste_v1_aso_other_domain_link’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3254:17: danger: ‘ste_info_arr’ leaks here; was allocated at [(6)](sarif:/runs/0/results/22/codeFlows/0/threadFlows/0/locations/5)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def803]
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3260:17: warning[-Wanalyzer-malloc-leak]: leak of ‘action_htbl’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3157:12: enter_function: entry to ‘dr_ste_v1_aso_other_domain_link’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3174:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3181:12: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3187:12: branch_false: following ‘false’ branch (when ‘action_hw_ste’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3193:24: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3194:12: branch_false: following ‘false’ branch (when ‘ste_info_arr’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3200:23: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3200:23: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3201:12: branch_false: following ‘false’ branch (when ‘action_htbl’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3207:21: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3208:12: branch_false: following ‘false’ branch (when ‘rule_htbl’ is non-NULL)...
branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3214:21: branch_true: following ‘true’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3215:34: branch_true: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3220:20: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3227:17: call_function: inlined call to ‘dr_htbl_get’ from ‘dr_ste_v1_aso_other_domain_link’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3234:20: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3241:17: call_function: inlined call to ‘dr_htbl_get’ from ‘dr_ste_v1_aso_other_domain_link’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3260:17: danger: ‘action_htbl’ leaks here; was allocated at [(8)](sarif:/runs/0/results/24/codeFlows/0/threadFlows/0/locations/7)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def804]
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3260:17: warning[-Wanalyzer-malloc-leak]: leak of ‘action_hw_ste’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3157:12: enter_function: entry to ‘dr_ste_v1_aso_other_domain_link’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3174:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3181:12: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3186:25: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3187:12: branch_false: following ‘false’ branch (when ‘action_hw_ste’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3193:24: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3194:12: branch_false: following ‘false’ branch (when ‘ste_info_arr’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3200:23: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3201:12: branch_false: following ‘false’ branch (when ‘action_htbl’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3207:21: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3208:12: branch_false: following ‘false’ branch (when ‘rule_htbl’ is non-NULL)...
branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3214:21: branch_true: following ‘true’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3215:34: branch_true: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3220:20: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3227:17: call_function: inlined call to ‘dr_htbl_get’ from ‘dr_ste_v1_aso_other_domain_link’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3234:20: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3241:17: call_function: inlined call to ‘dr_htbl_get’ from ‘dr_ste_v1_aso_other_domain_link’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3260:17: danger: ‘action_hw_ste’ leaks here; was allocated at [(4)](sarif:/runs/0/results/26/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def805]
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3260:17: warning[-Wanalyzer-malloc-leak]: leak of ‘rule_htbl’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3157:12: enter_function: entry to ‘dr_ste_v1_aso_other_domain_link’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3174:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3181:12: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3187:12: branch_false: following ‘false’ branch (when ‘action_hw_ste’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3193:24: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3194:12: branch_false: following ‘false’ branch (when ‘ste_info_arr’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3200:23: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3201:12: branch_false: following ‘false’ branch (when ‘action_htbl’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3207:21: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3207:21: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3208:12: branch_false: following ‘false’ branch (when ‘rule_htbl’ is non-NULL)...
branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3214:21: branch_true: following ‘true’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3215:34: branch_true: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3220:20: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3227:17: call_function: inlined call to ‘dr_htbl_get’ from ‘dr_ste_v1_aso_other_domain_link’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3234:20: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3241:17: call_function: inlined call to ‘dr_htbl_get’ from ‘dr_ste_v1_aso_other_domain_link’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3260:17: danger: ‘rule_htbl’ leaks here; was allocated at [(10)](sarif:/runs/0/results/27/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def806]
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3260:17: warning[-Wanalyzer-malloc-leak]: leak of ‘ste_info_arr’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3157:12: enter_function: entry to ‘dr_ste_v1_aso_other_domain_link’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3174:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3181:12: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3187:12: branch_false: following ‘false’ branch (when ‘action_hw_ste’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3193:24: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3193:24: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3194:12: branch_false: following ‘false’ branch (when ‘ste_info_arr’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3200:23: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3201:12: branch_false: following ‘false’ branch (when ‘action_htbl’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3207:21: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3208:12: branch_false: following ‘false’ branch (when ‘rule_htbl’ is non-NULL)...
branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3214:21: branch_true: following ‘true’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3215:34: branch_true: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3220:20: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3227:17: call_function: inlined call to ‘dr_htbl_get’ from ‘dr_ste_v1_aso_other_domain_link’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3234:20: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3241:17: call_function: inlined call to ‘dr_htbl_get’ from ‘dr_ste_v1_aso_other_domain_link’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3260:17: danger: ‘ste_info_arr’ leaks here; was allocated at [(6)](sarif:/runs/0/results/25/codeFlows/0/threadFlows/0/locations/5)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def807]
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3265:17: warning[-Wanalyzer-malloc-leak]: leak of ‘action_htbl’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3157:12: enter_function: entry to ‘dr_ste_v1_aso_other_domain_link’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3174:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3181:12: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3187:12: branch_false: following ‘false’ branch (when ‘action_hw_ste’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3193:24: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3194:12: branch_false: following ‘false’ branch (when ‘ste_info_arr’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3200:23: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3200:23: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3201:12: branch_false: following ‘false’ branch (when ‘action_htbl’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3207:21: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3208:12: branch_false: following ‘false’ branch (when ‘rule_htbl’ is non-NULL)...
branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3214:21: branch_true: following ‘true’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3215:34: branch_true: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3220:20: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3227:17: call_function: inlined call to ‘dr_htbl_get’ from ‘dr_ste_v1_aso_other_domain_link’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3234:20: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3241:17: call_function: inlined call to ‘dr_htbl_get’ from ‘dr_ste_v1_aso_other_domain_link’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3265:17: danger: ‘action_htbl’ leaks here; was allocated at [(8)](sarif:/runs/0/results/30/codeFlows/0/threadFlows/0/locations/7)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def808]
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3265:17: warning[-Wanalyzer-malloc-leak]: leak of ‘action_hw_ste’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3157:12: enter_function: entry to ‘dr_ste_v1_aso_other_domain_link’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3174:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3181:12: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3186:25: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3187:12: branch_false: following ‘false’ branch (when ‘action_hw_ste’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3193:24: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3194:12: branch_false: following ‘false’ branch (when ‘ste_info_arr’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3200:23: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3201:12: branch_false: following ‘false’ branch (when ‘action_htbl’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3207:21: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3208:12: branch_false: following ‘false’ branch (when ‘rule_htbl’ is non-NULL)...
branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3214:21: branch_true: following ‘true’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3215:34: branch_true: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3220:20: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3227:17: call_function: inlined call to ‘dr_htbl_get’ from ‘dr_ste_v1_aso_other_domain_link’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3234:20: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3241:17: call_function: inlined call to ‘dr_htbl_get’ from ‘dr_ste_v1_aso_other_domain_link’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3265:17: danger: ‘action_hw_ste’ leaks here; was allocated at [(4)](sarif:/runs/0/results/28/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def809]
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3265:17: warning[-Wanalyzer-malloc-leak]: leak of ‘rule_htbl’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3157:12: enter_function: entry to ‘dr_ste_v1_aso_other_domain_link’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3174:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3181:12: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3187:12: branch_false: following ‘false’ branch (when ‘action_hw_ste’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3193:24: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3194:12: branch_false: following ‘false’ branch (when ‘ste_info_arr’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3200:23: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3201:12: branch_false: following ‘false’ branch (when ‘action_htbl’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3207:21: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3207:21: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3208:12: branch_false: following ‘false’ branch (when ‘rule_htbl’ is non-NULL)...
branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3214:21: branch_true: following ‘true’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3215:34: branch_true: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3220:20: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3227:17: call_function: inlined call to ‘dr_htbl_get’ from ‘dr_ste_v1_aso_other_domain_link’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3234:20: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3241:17: call_function: inlined call to ‘dr_htbl_get’ from ‘dr_ste_v1_aso_other_domain_link’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3265:17: danger: ‘rule_htbl’ leaks here; was allocated at [(10)](sarif:/runs/0/results/31/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def810]
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3265:17: warning[-Wanalyzer-malloc-leak]: leak of ‘ste_info_arr’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3157:12: enter_function: entry to ‘dr_ste_v1_aso_other_domain_link’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3174:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3181:12: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3187:12: branch_false: following ‘false’ branch (when ‘action_hw_ste’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3193:24: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3193:24: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3194:12: branch_false: following ‘false’ branch (when ‘ste_info_arr’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3200:23: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3201:12: branch_false: following ‘false’ branch (when ‘action_htbl’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3207:21: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3208:12: branch_false: following ‘false’ branch (when ‘rule_htbl’ is non-NULL)...
branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3214:21: branch_true: following ‘true’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3215:34: branch_true: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3220:20: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3227:17: call_function: inlined call to ‘dr_htbl_get’ from ‘dr_ste_v1_aso_other_domain_link’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3234:20: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3241:17: call_function: inlined call to ‘dr_htbl_get’ from ‘dr_ste_v1_aso_other_domain_link’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3265:17: danger: ‘ste_info_arr’ leaks here; was allocated at [(6)](sarif:/runs/0/results/29/codeFlows/0/threadFlows/0/locations/5)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def811]
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3269:17: warning[-Wanalyzer-malloc-leak]: leak of ‘action_htbl’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3157:12: enter_function: entry to ‘dr_ste_v1_aso_other_domain_link’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3174:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3181:12: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3187:12: branch_false: following ‘false’ branch (when ‘action_hw_ste’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3193:24: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3194:12: branch_false: following ‘false’ branch (when ‘ste_info_arr’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3200:23: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3200:23: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3201:12: branch_false: following ‘false’ branch (when ‘action_htbl’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3207:21: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3208:12: branch_false: following ‘false’ branch (when ‘rule_htbl’ is non-NULL)...
branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3214:21: branch_true: following ‘true’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3215:34: branch_true: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3220:20: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3227:17: call_function: inlined call to ‘dr_htbl_get’ from ‘dr_ste_v1_aso_other_domain_link’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3234:20: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3241:17: call_function: inlined call to ‘dr_htbl_get’ from ‘dr_ste_v1_aso_other_domain_link’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3269:17: danger: ‘action_htbl’ leaks here; was allocated at [(8)](sarif:/runs/0/results/34/codeFlows/0/threadFlows/0/locations/7)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def812]
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3269:17: warning[-Wanalyzer-malloc-leak]: leak of ‘action_hw_ste’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3157:12: enter_function: entry to ‘dr_ste_v1_aso_other_domain_link’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3174:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3181:12: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3186:25: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3187:12: branch_false: following ‘false’ branch (when ‘action_hw_ste’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3193:24: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3194:12: branch_false: following ‘false’ branch (when ‘ste_info_arr’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3200:23: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3201:12: branch_false: following ‘false’ branch (when ‘action_htbl’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3207:21: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3208:12: branch_false: following ‘false’ branch (when ‘rule_htbl’ is non-NULL)...
branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3214:21: branch_true: following ‘true’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3215:34: branch_true: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3220:20: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3227:17: call_function: inlined call to ‘dr_htbl_get’ from ‘dr_ste_v1_aso_other_domain_link’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3234:20: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3241:17: call_function: inlined call to ‘dr_htbl_get’ from ‘dr_ste_v1_aso_other_domain_link’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3269:17: danger: ‘action_hw_ste’ leaks here; was allocated at [(4)](sarif:/runs/0/results/33/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def813]
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3269:17: warning[-Wanalyzer-malloc-leak]: leak of ‘rule_htbl’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3157:12: enter_function: entry to ‘dr_ste_v1_aso_other_domain_link’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3174:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3181:12: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3187:12: branch_false: following ‘false’ branch (when ‘action_hw_ste’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3193:24: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3194:12: branch_false: following ‘false’ branch (when ‘ste_info_arr’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3200:23: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3201:12: branch_false: following ‘false’ branch (when ‘action_htbl’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3207:21: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3207:21: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3208:12: branch_false: following ‘false’ branch (when ‘rule_htbl’ is non-NULL)...
branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3214:21: branch_true: following ‘true’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3215:34: branch_true: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3220:20: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3227:17: call_function: inlined call to ‘dr_htbl_get’ from ‘dr_ste_v1_aso_other_domain_link’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3234:20: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3241:17: call_function: inlined call to ‘dr_htbl_get’ from ‘dr_ste_v1_aso_other_domain_link’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3269:17: danger: ‘rule_htbl’ leaks here; was allocated at [(10)](sarif:/runs/0/results/35/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def814]
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3269:17: warning[-Wanalyzer-malloc-leak]: leak of ‘ste_info_arr’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3157:12: enter_function: entry to ‘dr_ste_v1_aso_other_domain_link’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3174:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3181:12: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3187:12: branch_false: following ‘false’ branch (when ‘action_hw_ste’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3193:24: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3193:24: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3194:12: branch_false: following ‘false’ branch (when ‘ste_info_arr’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3200:23: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3201:12: branch_false: following ‘false’ branch (when ‘action_htbl’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3207:21: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3208:12: branch_false: following ‘false’ branch (when ‘rule_htbl’ is non-NULL)...
branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3214:21: branch_true: following ‘true’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3215:34: branch_true: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3220:20: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3227:17: call_function: inlined call to ‘dr_htbl_get’ from ‘dr_ste_v1_aso_other_domain_link’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3234:20: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3241:17: call_function: inlined call to ‘dr_htbl_get’ from ‘dr_ste_v1_aso_other_domain_link’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3269:17: danger: ‘ste_info_arr’ leaks here; was allocated at [(6)](sarif:/runs/0/results/32/codeFlows/0/threadFlows/0/locations/5)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def815]
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3272:17: warning[-Wanalyzer-malloc-leak]: leak of ‘action_htbl’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3157:12: enter_function: entry to ‘dr_ste_v1_aso_other_domain_link’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3174:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3181:12: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3187:12: branch_false: following ‘false’ branch (when ‘action_hw_ste’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3193:24: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3194:12: branch_false: following ‘false’ branch (when ‘ste_info_arr’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3200:23: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3200:23: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3201:12: branch_false: following ‘false’ branch (when ‘action_htbl’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3207:21: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3208:12: branch_false: following ‘false’ branch (when ‘rule_htbl’ is non-NULL)...
branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3214:21: branch_true: following ‘true’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3215:34: branch_true: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3220:20: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3227:17: call_function: inlined call to ‘dr_htbl_get’ from ‘dr_ste_v1_aso_other_domain_link’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3234:20: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3241:17: call_function: inlined call to ‘dr_htbl_get’ from ‘dr_ste_v1_aso_other_domain_link’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3272:17: danger: ‘action_htbl’ leaks here; was allocated at [(8)](sarif:/runs/0/results/39/codeFlows/0/threadFlows/0/locations/7)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def816]
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3272:17: warning[-Wanalyzer-malloc-leak]: leak of ‘action_hw_ste’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3157:12: enter_function: entry to ‘dr_ste_v1_aso_other_domain_link’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3174:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3181:12: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3186:25: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3187:12: branch_false: following ‘false’ branch (when ‘action_hw_ste’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3193:24: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3194:12: branch_false: following ‘false’ branch (when ‘ste_info_arr’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3200:23: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3201:12: branch_false: following ‘false’ branch (when ‘action_htbl’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3207:21: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3208:12: branch_false: following ‘false’ branch (when ‘rule_htbl’ is non-NULL)...
branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3214:21: branch_true: following ‘true’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3215:34: branch_true: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3220:20: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3227:17: call_function: inlined call to ‘dr_htbl_get’ from ‘dr_ste_v1_aso_other_domain_link’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3234:20: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3241:17: call_function: inlined call to ‘dr_htbl_get’ from ‘dr_ste_v1_aso_other_domain_link’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3272:17: danger: ‘action_hw_ste’ leaks here; was allocated at [(4)](sarif:/runs/0/results/38/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def817]
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3272:17: warning[-Wanalyzer-malloc-leak]: leak of ‘rule_htbl’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3157:12: enter_function: entry to ‘dr_ste_v1_aso_other_domain_link’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3174:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3181:12: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3187:12: branch_false: following ‘false’ branch (when ‘action_hw_ste’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3193:24: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3194:12: branch_false: following ‘false’ branch (when ‘ste_info_arr’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3200:23: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3201:12: branch_false: following ‘false’ branch (when ‘action_htbl’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3207:21: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3207:21: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3208:12: branch_false: following ‘false’ branch (when ‘rule_htbl’ is non-NULL)...
branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3214:21: branch_true: following ‘true’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3215:34: branch_true: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3220:20: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3227:17: call_function: inlined call to ‘dr_htbl_get’ from ‘dr_ste_v1_aso_other_domain_link’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3234:20: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3241:17: call_function: inlined call to ‘dr_htbl_get’ from ‘dr_ste_v1_aso_other_domain_link’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3272:17: danger: ‘rule_htbl’ leaks here; was allocated at [(10)](sarif:/runs/0/results/36/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def818]
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3272:17: warning[-Wanalyzer-malloc-leak]: leak of ‘ste_info_arr’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3157:12: enter_function: entry to ‘dr_ste_v1_aso_other_domain_link’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3174:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3181:12: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3187:12: branch_false: following ‘false’ branch (when ‘action_hw_ste’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3193:24: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3193:24: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3194:12: branch_false: following ‘false’ branch (when ‘ste_info_arr’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3200:23: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3201:12: branch_false: following ‘false’ branch (when ‘action_htbl’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3207:21: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3208:12: branch_false: following ‘false’ branch (when ‘rule_htbl’ is non-NULL)...
branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3214:21: branch_true: following ‘true’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3215:34: branch_true: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3220:20: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3227:17: call_function: inlined call to ‘dr_htbl_get’ from ‘dr_ste_v1_aso_other_domain_link’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3234:20: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3241:17: call_function: inlined call to ‘dr_htbl_get’ from ‘dr_ste_v1_aso_other_domain_link’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3272:17: danger: ‘ste_info_arr’ leaks here; was allocated at [(6)](sarif:/runs/0/results/37/codeFlows/0/threadFlows/0/locations/5)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def819]
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3289:17: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3157:12: enter_function: entry to ‘dr_ste_v1_aso_other_domain_link’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3174:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3181:12: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3187:12: branch_false: following ‘false’ branch (when ‘action_hw_ste’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3193:24: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3194:12: branch_false: following ‘false’ branch (when ‘ste_info_arr’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3200:23: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3201:12: branch_false: following ‘false’ branch (when ‘action_htbl’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3207:21: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3208:12: branch_false: following ‘false’ branch (when ‘rule_htbl’ is non-NULL)...
branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3214:21: branch_true: following ‘true’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3215:34: branch_true: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3220:20: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3227:17: call_function: inlined call to ‘dr_htbl_get’ from ‘dr_ste_v1_aso_other_domain_link’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3234:20: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3241:17: call_function: inlined call to ‘dr_htbl_get’ from ‘dr_ste_v1_aso_other_domain_link’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3278:35: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3279:20: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3286:57: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3289:17: danger: ‘<unknown>’ leaks here; was allocated at [(20)](sarif:/runs/0/results/43/codeFlows/0/threadFlows/0/locations/19)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def820]
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3289:17: warning[-Wanalyzer-malloc-leak]: leak of ‘action_htbl’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3157:12: enter_function: entry to ‘dr_ste_v1_aso_other_domain_link’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3174:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3181:12: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3187:12: branch_false: following ‘false’ branch (when ‘action_hw_ste’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3193:24: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3194:12: branch_false: following ‘false’ branch (when ‘ste_info_arr’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3200:23: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3200:23: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3201:12: branch_false: following ‘false’ branch (when ‘action_htbl’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3207:21: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3208:12: branch_false: following ‘false’ branch (when ‘rule_htbl’ is non-NULL)...
branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3214:21: branch_true: following ‘true’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3215:34: branch_true: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3220:20: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3227:17: call_function: inlined call to ‘dr_htbl_get’ from ‘dr_ste_v1_aso_other_domain_link’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3234:20: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3241:17: call_function: inlined call to ‘dr_htbl_get’ from ‘dr_ste_v1_aso_other_domain_link’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3279:20: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3286:57: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3289:17: danger: ‘action_htbl’ leaks here; was allocated at [(8)](sarif:/runs/0/results/41/codeFlows/0/threadFlows/0/locations/7)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def821]
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3289:17: warning[-Wanalyzer-malloc-leak]: leak of ‘action_hw_ste’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3157:12: enter_function: entry to ‘dr_ste_v1_aso_other_domain_link’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3174:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3181:12: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3186:25: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3187:12: branch_false: following ‘false’ branch (when ‘action_hw_ste’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3193:24: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3194:12: branch_false: following ‘false’ branch (when ‘ste_info_arr’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3200:23: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3201:12: branch_false: following ‘false’ branch (when ‘action_htbl’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3207:21: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3208:12: branch_false: following ‘false’ branch (when ‘rule_htbl’ is non-NULL)...
branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3214:21: branch_true: following ‘true’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3215:34: branch_true: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3220:20: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3227:17: call_function: inlined call to ‘dr_htbl_get’ from ‘dr_ste_v1_aso_other_domain_link’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3234:20: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3241:17: call_function: inlined call to ‘dr_htbl_get’ from ‘dr_ste_v1_aso_other_domain_link’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3279:20: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3286:57: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3289:17: danger: ‘action_hw_ste’ leaks here; was allocated at [(4)](sarif:/runs/0/results/44/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def822]
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3289:17: warning[-Wanalyzer-malloc-leak]: leak of ‘rule_htbl’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3157:12: enter_function: entry to ‘dr_ste_v1_aso_other_domain_link’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3174:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3181:12: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3187:12: branch_false: following ‘false’ branch (when ‘action_hw_ste’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3193:24: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3194:12: branch_false: following ‘false’ branch (when ‘ste_info_arr’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3200:23: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3201:12: branch_false: following ‘false’ branch (when ‘action_htbl’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3207:21: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3207:21: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3208:12: branch_false: following ‘false’ branch (when ‘rule_htbl’ is non-NULL)...
branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3214:21: branch_true: following ‘true’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3215:34: branch_true: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3220:20: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3227:17: call_function: inlined call to ‘dr_htbl_get’ from ‘dr_ste_v1_aso_other_domain_link’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3234:20: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3241:17: call_function: inlined call to ‘dr_htbl_get’ from ‘dr_ste_v1_aso_other_domain_link’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3279:20: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3286:57: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3289:17: danger: ‘rule_htbl’ leaks here; was allocated at [(10)](sarif:/runs/0/results/42/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def823]
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3289:17: warning[-Wanalyzer-malloc-leak]: leak of ‘ste_info_arr’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3157:12: enter_function: entry to ‘dr_ste_v1_aso_other_domain_link’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3174:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3181:12: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3187:12: branch_false: following ‘false’ branch (when ‘action_hw_ste’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3193:24: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3193:24: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3194:12: branch_false: following ‘false’ branch (when ‘ste_info_arr’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3200:23: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3201:12: branch_false: following ‘false’ branch (when ‘action_htbl’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3207:21: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3208:12: branch_false: following ‘false’ branch (when ‘rule_htbl’ is non-NULL)...
branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3214:21: branch_true: following ‘true’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3215:34: branch_true: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3220:20: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3227:17: call_function: inlined call to ‘dr_htbl_get’ from ‘dr_ste_v1_aso_other_domain_link’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3234:20: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3241:17: call_function: inlined call to ‘dr_htbl_get’ from ‘dr_ste_v1_aso_other_domain_link’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3279:20: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3286:57: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3289:17: danger: ‘ste_info_arr’ leaks here; was allocated at [(6)](sarif:/runs/0/results/40/codeFlows/0/threadFlows/0/locations/5)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def824]
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3296:15: warning[-Wanalyzer-malloc-leak]: leak of ‘action_htbl’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3174:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3181:12: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3187:12: branch_false: following ‘false’ branch (when ‘action_hw_ste’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3193:24: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3194:12: branch_false: following ‘false’ branch (when ‘ste_info_arr’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3200:23: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3200:23: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3201:12: branch_false: following ‘false’ branch (when ‘action_htbl’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3207:21: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3208:12: branch_false: following ‘false’ branch (when ‘rule_htbl’ is non-NULL)...
branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3214:21: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3296:15: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3296:15: danger: ‘action_htbl’ leaks here; was allocated at [(7)](sarif:/runs/0/results/47/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def825]
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3296:15: warning[-Wanalyzer-malloc-leak]: leak of ‘action_hw_ste’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3174:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3181:12: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3186:25: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3187:12: branch_false: following ‘false’ branch (when ‘action_hw_ste’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3193:24: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3194:12: branch_false: following ‘false’ branch (when ‘ste_info_arr’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3200:23: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3201:12: branch_false: following ‘false’ branch (when ‘action_htbl’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3207:21: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3208:12: branch_false: following ‘false’ branch (when ‘rule_htbl’ is non-NULL)...
branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3214:21: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3296:15: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3296:15: danger: ‘action_hw_ste’ leaks here; was allocated at [(3)](sarif:/runs/0/results/46/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def826]
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3296:15: warning[-Wanalyzer-malloc-leak]: leak of ‘rule_htbl’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3174:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3181:12: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3187:12: branch_false: following ‘false’ branch (when ‘action_hw_ste’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3193:24: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3194:12: branch_false: following ‘false’ branch (when ‘ste_info_arr’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3200:23: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3201:12: branch_false: following ‘false’ branch (when ‘action_htbl’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3207:21: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3207:21: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3208:12: branch_false: following ‘false’ branch (when ‘rule_htbl’ is non-NULL)...
branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3214:21: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3296:15: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3296:15: danger: ‘rule_htbl’ leaks here; was allocated at [(9)](sarif:/runs/0/results/45/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def827]
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3296:15: warning[-Wanalyzer-malloc-leak]: leak of ‘ste_info_arr’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3174:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3181:12: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3187:12: branch_false: following ‘false’ branch (when ‘action_hw_ste’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3193:24: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3193:24: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3194:12: branch_false: following ‘false’ branch (when ‘ste_info_arr’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3200:23: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3201:12: branch_false: following ‘false’ branch (when ‘action_htbl’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3207:21: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3208:12: branch_false: following ‘false’ branch (when ‘rule_htbl’ is non-NULL)...
branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3214:21: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3296:15: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3296:15: danger: ‘ste_info_arr’ leaks here; was allocated at [(5)](sarif:/runs/0/results/48/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def828]
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3302:15: warning[-Wanalyzer-malloc-leak]: leak of ‘action_htbl’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3174:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3181:12: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3187:12: branch_false: following ‘false’ branch (when ‘action_hw_ste’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3193:24: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3194:12: branch_false: following ‘false’ branch (when ‘ste_info_arr’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3200:23: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3200:23: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3201:12: branch_false: following ‘false’ branch (when ‘action_htbl’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3207:21: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3208:12: branch_false: following ‘false’ branch (when ‘rule_htbl’ is non-NULL)...
branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3214:21: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3296:15: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3297:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3302:15: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3302:15: danger: ‘action_htbl’ leaks here; was allocated at [(7)](sarif:/runs/0/results/49/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def829]
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3302:15: warning[-Wanalyzer-malloc-leak]: leak of ‘action_hw_ste’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3174:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3181:12: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3186:25: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3187:12: branch_false: following ‘false’ branch (when ‘action_hw_ste’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3193:24: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3194:12: branch_false: following ‘false’ branch (when ‘ste_info_arr’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3200:23: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3201:12: branch_false: following ‘false’ branch (when ‘action_htbl’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3207:21: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3208:12: branch_false: following ‘false’ branch (when ‘rule_htbl’ is non-NULL)...
branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3214:21: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3296:15: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3297:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3302:15: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3302:15: danger: ‘action_hw_ste’ leaks here; was allocated at [(3)](sarif:/runs/0/results/52/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def830]
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3302:15: warning[-Wanalyzer-malloc-leak]: leak of ‘rule_htbl’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3174:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3181:12: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3187:12: branch_false: following ‘false’ branch (when ‘action_hw_ste’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3193:24: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3194:12: branch_false: following ‘false’ branch (when ‘ste_info_arr’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3200:23: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3201:12: branch_false: following ‘false’ branch (when ‘action_htbl’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3207:21: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3207:21: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3208:12: branch_false: following ‘false’ branch (when ‘rule_htbl’ is non-NULL)...
branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3214:21: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3296:15: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3297:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3302:15: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3302:15: danger: ‘rule_htbl’ leaks here; was allocated at [(9)](sarif:/runs/0/results/51/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def831]
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3302:15: warning[-Wanalyzer-malloc-leak]: leak of ‘ste_info_arr’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3174:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3181:12: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3187:12: branch_false: following ‘false’ branch (when ‘action_hw_ste’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3193:24: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3193:24: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3194:12: branch_false: following ‘false’ branch (when ‘ste_info_arr’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3200:23: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3201:12: branch_false: following ‘false’ branch (when ‘action_htbl’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3207:21: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3208:12: branch_false: following ‘false’ branch (when ‘rule_htbl’ is non-NULL)...
branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3214:21: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3296:15: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3297:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3302:15: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3302:15: danger: ‘ste_info_arr’ leaks here; was allocated at [(5)](sarif:/runs/0/results/50/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def832]
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3310:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘cross_dmn_arrays’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3174:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3181:12: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3187:12: branch_false: following ‘false’ branch (when ‘action_hw_ste’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3193:24: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3194:12: branch_false: following ‘false’ branch (when ‘ste_info_arr’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3200:23: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3201:12: branch_false: following ‘false’ branch (when ‘action_htbl’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3207:21: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3208:12: branch_false: following ‘false’ branch (when ‘rule_htbl’ is non-NULL)...
branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3214:21: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3296:15: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3297:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3302:15: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3303:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3308:63: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3308:63: acquire_memory: this call could return NULL
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3310:9: danger: ‘cross_dmn_arrays’ could be NULL: unchecked value from [(17)](sarif:/runs/0/results/53/codeFlows/0/threadFlows/0/locations/16)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def833]
rdma-core-59.0/providers/mlx5/dr_table.c:71:29: warning[-Wanalyzer-malloc-leak]: leak of ‘tbl’
rdma-core-59.0/providers/mlx5/dr_table.c:168:25: enter_function: entry to ‘mlx5dv_dr_table_create’
rdma-core-59.0/providers/mlx5/dr_table.c:176:13: branch_true: following ‘true’ branch...
rdma-core-59.0/providers/mlx5/dr_table.c:181:15: branch_true: ...to here
rdma-core-59.0/providers/mlx5/dr_table.c:181:15: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/dr_table.c:182:12: branch_false: following ‘false’ branch (when ‘tbl’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_table.c:187:9: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_table.c:191:12: branch_true: following ‘true’ branch...
rdma-core-59.0/providers/mlx5/dr_table.c:192:23: branch_true: ...to here
rdma-core-59.0/providers/mlx5/dr_table.c:192:23: call_function: calling ‘dr_table_init’ from ‘mlx5dv_dr_table_create’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def834]
rdma-core-59.0/providers/mlx5/dr_table.c:81:15: warning[-Wanalyzer-malloc-leak]: leak of ‘tbl’
rdma-core-59.0/providers/mlx5/dr_table.c:168:25: enter_function: entry to ‘mlx5dv_dr_table_create’
rdma-core-59.0/providers/mlx5/dr_table.c:176:13: branch_true: following ‘true’ branch...
rdma-core-59.0/providers/mlx5/dr_table.c:181:15: branch_true: ...to here
rdma-core-59.0/providers/mlx5/dr_table.c:181:15: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/dr_table.c:182:12: branch_false: following ‘false’ branch (when ‘tbl’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_table.c:187:9: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_table.c:191:12: branch_true: following ‘true’ branch...
rdma-core-59.0/providers/mlx5/dr_table.c:192:23: branch_true: ...to here
rdma-core-59.0/providers/mlx5/dr_table.c:192:23: call_function: calling ‘dr_table_init’ from ‘mlx5dv_dr_table_create’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def835]
rdma-core-59.0/providers/mlx5/dr_table.c:91:9: warning[-Wanalyzer-malloc-leak]: leak of ‘tbl’
rdma-core-59.0/providers/mlx5/dr_table.c:168:25: enter_function: entry to ‘mlx5dv_dr_table_create’
rdma-core-59.0/providers/mlx5/dr_table.c:176:13: branch_true: following ‘true’ branch...
rdma-core-59.0/providers/mlx5/dr_table.c:181:15: branch_true: ...to here
rdma-core-59.0/providers/mlx5/dr_table.c:181:15: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/dr_table.c:182:12: branch_false: following ‘false’ branch (when ‘tbl’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_table.c:187:9: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_table.c:191:12: branch_true: following ‘true’ branch...
rdma-core-59.0/providers/mlx5/dr_table.c:192:23: branch_true: ...to here
rdma-core-59.0/providers/mlx5/dr_table.c:192:23: call_function: calling ‘dr_table_init’ from ‘mlx5dv_dr_table_create’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def836]
rdma-core-59.0/providers/mlx5/dr_vports.c:75:15: warning[-Wanalyzer-malloc-leak]: leak of ‘new_vport’
rdma-core-59.0/providers/mlx5/dr_vports.c:54:1: enter_function: entry to ‘dr_vports_table_query_and_add_vport’
rdma-core-59.0/providers/mlx5/dr_vports.c:63:21: call_function: calling ‘dr_vports_table_find_vport_num’ from ‘dr_vports_table_query_and_add_vport’
rdma-core-59.0/providers/mlx5/dr_vports.c:63:21: return_function: returning to ‘dr_vports_table_query_and_add_vport’ from ‘dr_vports_table_find_vport_num’
rdma-core-59.0/providers/mlx5/dr_vports.c:66:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_vports.c:69:21: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_vports.c:69:21: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/dr_vports.c:70:12: branch_false: following ‘false’ branch (when ‘new_vport’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_vports.c:75:15: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_vports.c:75:15: danger: ‘new_vport’ leaks here; was allocated at [(9)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def837]
rdma-core-59.0/providers/mlx5/mlx5.c:369:25: warning[-Wanalyzer-malloc-leak]: leak of ‘psv’
rdma-core-59.0/providers/mlx5/mlx5.c:353:18: enter_function: entry to ‘mlx5_create_psv’
rdma-core-59.0/providers/mlx5/mlx5.c:359:15: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/mlx5.c:360:12: branch_false: following ‘false’ branch (when ‘psv’ is non-NULL)...
rdma-core-59.0/providers/mlx5/mlx5.c:365:9: call_function: inlined call to ‘_devx_set’ from ‘mlx5_create_psv’
rdma-core-59.0/providers/mlx5/mlx5.c:369:25: danger: ‘psv’ leaks here; was allocated at [(2)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def838]
rdma-core-59.0/providers/mlx5/mlx5.c:1484:15: warning[-Wanalyzer-malloc-leak]: leak of ‘leaf’
rdma-core-59.0/providers/mlx5/mlx5.c:1612:1: enter_function: entry to ‘_mlx5dv_sched_leaf_create’
rdma-core-59.0/providers/mlx5/mlx5.c:1623:14: branch_false: ...to here
rdma-core-59.0/providers/mlx5/mlx5.c:1623:12: branch_true: following ‘true’ branch...
rdma-core-59.0/providers/mlx5/mlx5.c:1628:16: branch_true: ...to here
rdma-core-59.0/providers/mlx5/mlx5.c:1628:16: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/mlx5.c:1629:12: branch_false: following ‘false’ branch (when ‘leaf’ is non-NULL)...
rdma-core-59.0/providers/mlx5/mlx5.c:1634:15: branch_false: ...to here
rdma-core-59.0/providers/mlx5/mlx5.c:1634:15: call_function: calling ‘mlx5dv_sched_nic_create’ from ‘_mlx5dv_sched_leaf_create’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def839]
rdma-core-59.0/providers/mlx5/mlx5.c:1936:20: warning[-Wanalyzer-malloc-leak]: leak of ‘blk’
rdma-core-59.0/providers/mlx5/mlx5.c:1909:33: enter_function: entry to ‘reserved_qpn_blk_alloc’
rdma-core-59.0/providers/mlx5/mlx5.c:1916:15: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/mlx5.c:1917:12: branch_false: following ‘false’ branch (when ‘blk’ is non-NULL)...
rdma-core-59.0/providers/mlx5/mlx5.c:1922:39: branch_false: ...to here
rdma-core-59.0/providers/mlx5/mlx5.c:1923:12: branch_false: following ‘false’ branch (when ‘bmp’ is non-NULL)...
rdma-core-59.0/providers/mlx5/mlx5.c:1929:9: call_function: inlined call to ‘_devx_set’ from ‘reserved_qpn_blk_alloc’
rdma-core-59.0/providers/mlx5/mlx5.c:1936:20: danger: ‘blk’ leaks here; was allocated at [(2)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def840]
rdma-core-59.0/providers/mlx5/mlx5.c:1936:20: warning[-Wanalyzer-malloc-leak]: leak of ‘bmp’
rdma-core-59.0/providers/mlx5/mlx5.c:1909:33: enter_function: entry to ‘reserved_qpn_blk_alloc’
rdma-core-59.0/providers/mlx5/mlx5.c:1917:12: branch_false: following ‘false’ branch (when ‘blk’ is non-NULL)...
rdma-core-59.0/providers/mlx5/mlx5.c:1922:39: branch_false: ...to here
rdma-core-59.0/providers/mlx5/mlx5.c:1922:20: call_function: inlined call to ‘bitmap_alloc0’ from ‘reserved_qpn_blk_alloc’
rdma-core-59.0/providers/mlx5/mlx5.c:1923:12: branch_false: following ‘false’ branch (when ‘bmp’ is non-NULL)...
rdma-core-59.0/providers/mlx5/mlx5.c:1929:9: call_function: inlined call to ‘_devx_set’ from ‘reserved_qpn_blk_alloc’
rdma-core-59.0/providers/mlx5/mlx5.c:1936:20: danger: ‘bmp’ leaks here; was allocated at [(5)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def841]
rdma-core-59.0/providers/mlx5/mlx5.c:2757:9: warning[-Wanalyzer-malloc-leak]: leak of ‘dev’
rdma-core-59.0/providers/mlx5/mlx5.c:2750:15: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/mlx5.c:2751:12: branch_false: following ‘false’ branch (when ‘dev’ is non-NULL)...
rdma-core-59.0/providers/mlx5/mlx5.c:2754:28: branch_false: ...to here
rdma-core-59.0/providers/mlx5/mlx5.c:2757:9: danger: ‘dev’ leaks here; was allocated at [(1)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def842]
rdma-core-59.0/providers/mlx5/mlx5.c:2758:16: warning[-Wanalyzer-malloc-leak]: leak of ‘dev’
rdma-core-59.0/providers/mlx5/mlx5.c:2750:15: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/mlx5.c:2751:12: branch_false: following ‘false’ branch (when ‘dev’ is non-NULL)...
rdma-core-59.0/providers/mlx5/mlx5.c:2754:28: branch_false: ...to here
rdma-core-59.0/providers/mlx5/mlx5.c:2758:16: danger: ‘dev’ leaks here; was allocated at [(1)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def843]
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:103:15: warning[-Wanalyzer-malloc-leak]: leak of ‘in’
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3549:5: enter_function: entry to ‘mlx5dv_vfio_process_events’
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3565:16: call_function: calling ‘mlx5_vfio_process_async_events’ from ‘mlx5dv_vfio_process_events’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def844]
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:103:15: warning[-Wanalyzer-malloc-leak]: leak of ‘outp’
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3549:5: enter_function: entry to ‘mlx5dv_vfio_process_events’
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3565:16: call_function: calling ‘mlx5_vfio_process_async_events’ from ‘mlx5dv_vfio_process_events’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def845]
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:118:9: warning[-Wanalyzer-malloc-leak]: leak of ‘in’
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3549:5: enter_function: entry to ‘mlx5dv_vfio_process_events’
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3565:16: call_function: calling ‘mlx5_vfio_process_async_events’ from ‘mlx5dv_vfio_process_events’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def846]
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:118:9: warning[-Wanalyzer-malloc-leak]: leak of ‘outp’
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3549:5: enter_function: entry to ‘mlx5dv_vfio_process_events’
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3565:16: call_function: calling ‘mlx5_vfio_process_async_events’ from ‘mlx5dv_vfio_process_events’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def847]
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:146:30: warning[-Wanalyzer-malloc-leak]: leak of ‘in’
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3549:5: enter_function: entry to ‘mlx5dv_vfio_process_events’
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3565:16: call_function: calling ‘mlx5_vfio_process_async_events’ from ‘mlx5dv_vfio_process_events’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def848]
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:146:30: warning[-Wanalyzer-malloc-leak]: leak of ‘outp’
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3549:5: enter_function: entry to ‘mlx5dv_vfio_process_events’
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3565:16: call_function: calling ‘mlx5_vfio_process_async_events’ from ‘mlx5dv_vfio_process_events’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def849]
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:506:33: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3350:13: enter_function: entry to ‘mlx5_vfio_free_context’
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3354:9: call_function: calling ‘destroy_async_eqs’ from ‘mlx5_vfio_free_context’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def850]
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:508:33: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3350:13: enter_function: entry to ‘mlx5_vfio_free_context’
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3354:9: call_function: calling ‘destroy_async_eqs’ from ‘mlx5_vfio_free_context’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def851]
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:757:9: warning[-Wanalyzer-malloc-leak]: leak of ‘in_pas’
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3211:1: enter_function: entry to ‘vfio_devx_create_eq’
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3223:12: branch_false: following ‘false’ branch (when ‘inlen > 271’)...
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3224:14: call_function: inlined call to ‘_devx_get’ from ‘vfio_devx_create_eq’
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3223:13: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3225:14: call_function: inlined call to ‘_devx_get’ from ‘vfio_devx_create_eq’
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3223:13: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3230:16: call_function: inlined call to ‘_devx_get’ from ‘vfio_devx_create_eq’
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3239:12: branch_false: following ‘false’ branch (when ‘eq’ is non-NULL)...
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3244:9: branch_false: ...to here
branch_true: following ‘true’ branch (when ‘err == 0’)...
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3252:15: branch_true: ...to here
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3254:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3257:70: branch_false: ...to here
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3258:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3261:9: branch_false: ...to here
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3262:18: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3263:12: branch_false: following ‘false’ branch (when ‘in_pas’ is non-NULL)...
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3268:9: branch_false: ...to here
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3276:15: call_function: calling ‘mlx5_vfio_cmd_do’ from ‘vfio_devx_create_eq’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def852]
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:757:9: warning[-Wanalyzer-malloc-leak]: leak of ‘in’
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3549:5: enter_function: entry to ‘mlx5dv_vfio_process_events’
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3565:16: call_function: calling ‘mlx5_vfio_process_async_events’ from ‘mlx5dv_vfio_process_events’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def853]
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:757:9: warning[-Wanalyzer-malloc-leak]: leak of ‘out’
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:1793:12: enter_function: entry to ‘mlx5_vfio_get_caps’
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:1801:16: call_function: calling ‘mlx5_vfio_get_caps_mode’ from ‘mlx5_vfio_get_caps’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def854]
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:782:15: warning[-Wanalyzer-malloc-leak]: leak of ‘in_pas’
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3211:1: enter_function: entry to ‘vfio_devx_create_eq’
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3223:12: branch_false: following ‘false’ branch (when ‘inlen > 271’)...
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3224:14: call_function: inlined call to ‘_devx_get’ from ‘vfio_devx_create_eq’
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3223:13: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3225:14: call_function: inlined call to ‘_devx_get’ from ‘vfio_devx_create_eq’
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3223:13: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3230:16: call_function: inlined call to ‘_devx_get’ from ‘vfio_devx_create_eq’
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3239:12: branch_false: following ‘false’ branch (when ‘eq’ is non-NULL)...
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3244:9: branch_false: ...to here
branch_true: following ‘true’ branch (when ‘err == 0’)...
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3252:15: branch_true: ...to here
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3254:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3257:70: branch_false: ...to here
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3258:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3261:9: branch_false: ...to here
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3262:18: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3263:12: branch_false: following ‘false’ branch (when ‘in_pas’ is non-NULL)...
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3268:9: branch_false: ...to here
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3276:15: call_function: calling ‘mlx5_vfio_cmd_do’ from ‘vfio_devx_create_eq’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def855]
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:782:15: warning[-Wanalyzer-malloc-leak]: leak of ‘in’
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3549:5: enter_function: entry to ‘mlx5dv_vfio_process_events’
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3565:16: call_function: calling ‘mlx5_vfio_process_async_events’ from ‘mlx5dv_vfio_process_events’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def856]
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:782:15: warning[-Wanalyzer-malloc-leak]: leak of ‘out’
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:1793:12: enter_function: entry to ‘mlx5_vfio_get_caps’
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:1801:16: call_function: calling ‘mlx5_vfio_get_caps_mode’ from ‘mlx5_vfio_get_caps’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def857]
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:795:9: warning[-Wanalyzer-malloc-leak]: leak of ‘in_pas’
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3211:1: enter_function: entry to ‘vfio_devx_create_eq’
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3223:12: branch_false: following ‘false’ branch (when ‘inlen > 271’)...
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3224:14: call_function: inlined call to ‘_devx_get’ from ‘vfio_devx_create_eq’
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3223:13: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3225:14: call_function: inlined call to ‘_devx_get’ from ‘vfio_devx_create_eq’
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3223:13: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3230:16: call_function: inlined call to ‘_devx_get’ from ‘vfio_devx_create_eq’
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3239:12: branch_false: following ‘false’ branch (when ‘eq’ is non-NULL)...
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3244:9: branch_false: ...to here
branch_true: following ‘true’ branch (when ‘err == 0’)...
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3252:15: branch_true: ...to here
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3254:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3257:70: branch_false: ...to here
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3258:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3261:9: branch_false: ...to here
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3262:18: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3263:12: branch_false: following ‘false’ branch (when ‘in_pas’ is non-NULL)...
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3268:9: branch_false: ...to here
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3276:15: call_function: calling ‘mlx5_vfio_cmd_do’ from ‘vfio_devx_create_eq’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def858]
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:795:9: warning[-Wanalyzer-malloc-leak]: leak of ‘in’
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3549:5: enter_function: entry to ‘mlx5dv_vfio_process_events’
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3565:16: call_function: calling ‘mlx5_vfio_process_async_events’ from ‘mlx5dv_vfio_process_events’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def859]
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:795:9: warning[-Wanalyzer-malloc-leak]: leak of ‘out’
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:1793:12: enter_function: entry to ‘mlx5_vfio_get_caps’
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:1801:16: call_function: calling ‘mlx5_vfio_get_caps_mode’ from ‘mlx5_vfio_get_caps’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def860]
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3172:9: warning[-Wanalyzer-malloc-leak]: leak of ‘msi’
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3131:1: enter_function: entry to ‘vfio_devx_alloc_msi_vector’
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3138:15: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3139:12: branch_false: following ‘false’ branch (when ‘msi’ is non-NULL)...
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3144:9: branch_false: ...to here
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3149:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3155:15: branch_false: ...to here
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3156:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3159:15: call_function: inlined call to ‘mlx5_vfio_msix_set_irqs’ from ‘vfio_devx_alloc_msi_vector’
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3160:12: branch_true: following ‘true’ branch...
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3161:17: branch_true: ...to here
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3172:9: danger: ‘msi’ leaks here; was allocated at [(2)](sarif:/runs/0/results/20/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def861]
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3449:14: warning[-Wanalyzer-malloc-leak]: leak of ‘list’
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3569:1: enter_function: entry to ‘mlx5dv_get_vfio_device_list’
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3575:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3576:30: branch_false: ...to here
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3575:13: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3581:16: branch_false: ...to here
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3581:16: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3582:12: branch_false: following ‘false’ branch (when ‘list’ is non-NULL)...
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3587:20: branch_false: ...to here
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3588:12: branch_false: following ‘false’ branch (when ‘vfio_dev’ is non-NULL)...
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3593:9: branch_false: ...to here
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3597:15: call_function: calling ‘mlx5_vfio_get_handle’ from ‘mlx5dv_get_vfio_device_list’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def862]
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3449:14: warning[-Wanalyzer-malloc-leak]: leak of ‘vfio_dev’
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3569:1: enter_function: entry to ‘mlx5dv_get_vfio_device_list’
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3575:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3576:30: branch_false: ...to here
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3575:13: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3581:16: branch_false: ...to here
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3582:12: branch_false: following ‘false’ branch (when ‘list’ is non-NULL)...
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3587:20: branch_false: ...to here
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3587:20: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3588:12: branch_false: following ‘false’ branch (when ‘vfio_dev’ is non-NULL)...
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3593:9: branch_false: ...to here
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3597:15: call_function: calling ‘mlx5_vfio_get_handle’ from ‘mlx5dv_get_vfio_device_list’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def863]
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3457:9: warning[-Wanalyzer-malloc-leak]: leak of ‘list’
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3569:1: enter_function: entry to ‘mlx5dv_get_vfio_device_list’
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3575:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3576:30: branch_false: ...to here
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3575:13: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3581:16: branch_false: ...to here
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3581:16: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3582:12: branch_false: following ‘false’ branch (when ‘list’ is non-NULL)...
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3587:20: branch_false: ...to here
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3588:12: branch_false: following ‘false’ branch (when ‘vfio_dev’ is non-NULL)...
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3593:9: branch_false: ...to here
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3597:15: call_function: calling ‘mlx5_vfio_get_handle’ from ‘mlx5dv_get_vfio_device_list’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def864]
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3457:9: warning[-Wanalyzer-malloc-leak]: leak of ‘vfio_dev’
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3569:1: enter_function: entry to ‘mlx5dv_get_vfio_device_list’
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3575:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3576:30: branch_false: ...to here
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3575:13: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3581:16: branch_false: ...to here
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3582:12: branch_false: following ‘false’ branch (when ‘list’ is non-NULL)...
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3587:20: branch_false: ...to here
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3587:20: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3588:12: branch_false: following ‘false’ branch (when ‘vfio_dev’ is non-NULL)...
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3593:9: branch_false: ...to here
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3597:15: call_function: calling ‘mlx5_vfio_get_handle’ from ‘mlx5dv_get_vfio_device_list’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def865]
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3459:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(&pci_info_path, 0)’
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3449:14: acquire_resource: opened here
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3450:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3453:13: branch_false: ...to here
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3453:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3456:21: branch_false: ...to here
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3459:9: danger: ‘open(&pci_info_path, 0)’ leaks here; was opened at [(1)](sarif:/runs/0/results/25/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def866]
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3460:14: warning[-Wanalyzer-malloc-leak]: leak of ‘list’
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3569:1: enter_function: entry to ‘mlx5dv_get_vfio_device_list’
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3575:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3576:30: branch_false: ...to here
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3575:13: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3581:16: branch_false: ...to here
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3581:16: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3582:12: branch_false: following ‘false’ branch (when ‘list’ is non-NULL)...
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3587:20: branch_false: ...to here
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3588:12: branch_false: following ‘false’ branch (when ‘vfio_dev’ is non-NULL)...
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3593:9: branch_false: ...to here
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3597:15: call_function: calling ‘mlx5_vfio_get_handle’ from ‘mlx5dv_get_vfio_device_list’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def867]
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3460:14: warning[-Wanalyzer-malloc-leak]: leak of ‘vfio_dev’
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3569:1: enter_function: entry to ‘mlx5dv_get_vfio_device_list’
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3575:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3576:30: branch_false: ...to here
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3575:13: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3581:16: branch_false: ...to here
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3582:12: branch_false: following ‘false’ branch (when ‘list’ is non-NULL)...
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3587:20: branch_false: ...to here
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3587:20: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3588:12: branch_false: following ‘false’ branch (when ‘vfio_dev’ is non-NULL)...
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3593:9: branch_false: ...to here
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3597:15: call_function: calling ‘mlx5_vfio_get_handle’ from ‘mlx5dv_get_vfio_device_list’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def868]
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3468:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(&pci_info_path, 0)’
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3450:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3453:13: branch_false: ...to here
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3453:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3456:21: branch_false: ...to here
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3460:14: acquire_resource: opened here
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3461:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3464:13: branch_false: ...to here
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3464:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3467:21: branch_false: ...to here
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3468:9: danger: ‘open(&pci_info_path, 0)’ leaks here; was opened at [(5)](sarif:/runs/0/results/28/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def869]
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3468:9: warning[-Wanalyzer-malloc-leak]: leak of ‘list’
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3569:1: enter_function: entry to ‘mlx5dv_get_vfio_device_list’
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3575:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3576:30: branch_false: ...to here
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3575:13: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3581:16: branch_false: ...to here
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3581:16: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3582:12: branch_false: following ‘false’ branch (when ‘list’ is non-NULL)...
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3587:20: branch_false: ...to here
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3588:12: branch_false: following ‘false’ branch (when ‘vfio_dev’ is non-NULL)...
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3593:9: branch_false: ...to here
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3597:15: call_function: calling ‘mlx5_vfio_get_handle’ from ‘mlx5dv_get_vfio_device_list’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def870]
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3468:9: warning[-Wanalyzer-malloc-leak]: leak of ‘vfio_dev’
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3569:1: enter_function: entry to ‘mlx5dv_get_vfio_device_list’
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3575:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3576:30: branch_false: ...to here
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3575:13: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3581:16: branch_false: ...to here
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3582:12: branch_false: following ‘false’ branch (when ‘list’ is non-NULL)...
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3587:20: branch_false: ...to here
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3587:20: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3588:12: branch_false: following ‘false’ branch (when ‘vfio_dev’ is non-NULL)...
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3593:9: branch_false: ...to here
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3597:15: call_function: calling ‘mlx5_vfio_get_handle’ from ‘mlx5dv_get_vfio_device_list’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def871]
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3480:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3449:14: acquire_resource: opened here
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3450:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3453:13: branch_false: ...to here
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3453:12: branch_true: following ‘true’ branch...
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3454:17: branch_true: ...to here
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3480:9: danger: ‘fd’ leaks here; was opened at [(1)](sarif:/runs/0/results/31/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def872]
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3480:9: warning[-Wanalyzer-malloc-leak]: leak of ‘list’
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3569:1: enter_function: entry to ‘mlx5dv_get_vfio_device_list’
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3575:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3576:30: branch_false: ...to here
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3575:13: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3581:16: branch_false: ...to here
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3581:16: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3582:12: branch_false: following ‘false’ branch (when ‘list’ is non-NULL)...
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3587:20: branch_false: ...to here
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3588:12: branch_false: following ‘false’ branch (when ‘vfio_dev’ is non-NULL)...
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3593:9: branch_false: ...to here
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3597:15: call_function: calling ‘mlx5_vfio_get_handle’ from ‘mlx5dv_get_vfio_device_list’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def873]
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3480:9: warning[-Wanalyzer-malloc-leak]: leak of ‘vfio_dev’
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3569:1: enter_function: entry to ‘mlx5dv_get_vfio_device_list’
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3575:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3576:30: branch_false: ...to here
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3575:13: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3581:16: branch_false: ...to here
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3582:12: branch_false: following ‘false’ branch (when ‘list’ is non-NULL)...
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3587:20: branch_false: ...to here
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3587:20: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3588:12: branch_false: following ‘false’ branch (when ‘vfio_dev’ is non-NULL)...
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3593:9: branch_false: ...to here
rdma-core-59.0/providers/mlx5/mlx5_vfio.c:3597:15: call_function: calling ‘mlx5_vfio_get_handle’ from ‘mlx5dv_get_vfio_device_list’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def874]
rdma-core-59.0/providers/mlx5/mlx5dv_dr.h:331:17: warning[-Wanalyzer-malloc-leak]: leak of ‘action_htbl’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3157:12: enter_function: entry to ‘dr_ste_v1_aso_other_domain_link’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3174:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3181:12: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3187:12: branch_false: following ‘false’ branch (when ‘action_hw_ste’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3193:24: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3194:12: branch_false: following ‘false’ branch (when ‘ste_info_arr’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3200:23: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3200:23: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3201:12: branch_false: following ‘false’ branch (when ‘action_htbl’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3207:21: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3208:12: branch_false: following ‘false’ branch (when ‘rule_htbl’ is non-NULL)...
branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3214:21: branch_true: following ‘true’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3215:34: branch_true: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3220:20: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3227:17: call_function: inlined call to ‘dr_htbl_get’ from ‘dr_ste_v1_aso_other_domain_link’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3234:20: branch_true: following ‘true’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3236:25: branch_true: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3319:10: call_function: calling ‘dr_htbl_put’ from ‘dr_ste_v1_aso_other_domain_link’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def875]
rdma-core-59.0/providers/mlx5/mlx5dv_dr.h:331:17: warning[-Wanalyzer-malloc-leak]: leak of ‘action_hw_ste’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3157:12: enter_function: entry to ‘dr_ste_v1_aso_other_domain_link’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3174:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3181:12: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3186:25: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3187:12: branch_false: following ‘false’ branch (when ‘action_hw_ste’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3193:24: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3194:12: branch_false: following ‘false’ branch (when ‘ste_info_arr’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3200:23: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3201:12: branch_false: following ‘false’ branch (when ‘action_htbl’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3207:21: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3208:12: branch_false: following ‘false’ branch (when ‘rule_htbl’ is non-NULL)...
branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3214:21: branch_true: following ‘true’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3215:34: branch_true: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3220:20: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3227:17: call_function: inlined call to ‘dr_htbl_get’ from ‘dr_ste_v1_aso_other_domain_link’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3234:20: branch_true: following ‘true’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3236:25: branch_true: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3319:10: call_function: calling ‘dr_htbl_put’ from ‘dr_ste_v1_aso_other_domain_link’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def876]
rdma-core-59.0/providers/mlx5/mlx5dv_dr.h:331:17: warning[-Wanalyzer-malloc-leak]: leak of ‘rule_htbl’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3157:12: enter_function: entry to ‘dr_ste_v1_aso_other_domain_link’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3174:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3181:12: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3187:12: branch_false: following ‘false’ branch (when ‘action_hw_ste’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3193:24: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3194:12: branch_false: following ‘false’ branch (when ‘ste_info_arr’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3200:23: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3201:12: branch_false: following ‘false’ branch (when ‘action_htbl’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3207:21: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3207:21: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3208:12: branch_false: following ‘false’ branch (when ‘rule_htbl’ is non-NULL)...
branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3214:21: branch_true: following ‘true’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3215:34: branch_true: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3220:20: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3227:17: call_function: inlined call to ‘dr_htbl_get’ from ‘dr_ste_v1_aso_other_domain_link’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3234:20: branch_true: following ‘true’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3236:25: branch_true: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3319:10: call_function: calling ‘dr_htbl_put’ from ‘dr_ste_v1_aso_other_domain_link’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def877]
rdma-core-59.0/providers/mlx5/mlx5dv_dr.h:331:17: warning[-Wanalyzer-malloc-leak]: leak of ‘ste_info_arr’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3157:12: enter_function: entry to ‘dr_ste_v1_aso_other_domain_link’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3174:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3181:12: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3187:12: branch_false: following ‘false’ branch (when ‘action_hw_ste’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3193:24: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3193:24: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3194:12: branch_false: following ‘false’ branch (when ‘ste_info_arr’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3200:23: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3201:12: branch_false: following ‘false’ branch (when ‘action_htbl’ is non-NULL)...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3207:21: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3208:12: branch_false: following ‘false’ branch (when ‘rule_htbl’ is non-NULL)...
branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3214:21: branch_true: following ‘true’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3215:34: branch_true: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3220:20: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3227:17: call_function: inlined call to ‘dr_htbl_get’ from ‘dr_ste_v1_aso_other_domain_link’
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3234:20: branch_true: following ‘true’ branch...
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3236:25: branch_true: ...to here
rdma-core-59.0/providers/mlx5/dr_ste_v1.c:3319:10: call_function: calling ‘dr_htbl_put’ from ‘dr_ste_v1_aso_other_domain_link’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def878]
rdma-core-59.0/providers/mlx5/mlx5dv_dr.h:331:17: warning[-Wanalyzer-malloc-leak]: leak of ‘ste_info’
rdma-core-59.0/providers/mlx5/dr_rule.c:1611:24: enter_function: entry to ‘mlx5dv_dr_rule_create’
rdma-core-59.0/providers/mlx5/dr_rule.c:1620:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/dr_rule.c:1623:24: branch_false: ...to here
rdma-core-59.0/providers/mlx5/dr_rule.c:1623:24: call_function: calling ‘dr_rule_create_rule’ from ‘mlx5dv_dr_rule_create’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def879]
rdma-core-59.0/providers/mlx5/verbs.c:227:26: warning[-Wanalyzer-malloc-leak]: leak of ‘bf’
rdma-core-59.0/providers/mlx5/verbs.c:6288:1: enter_function: entry to ‘_mlx5dv_devx_alloc_uar’
rdma-core-59.0/providers/mlx5/verbs.c:6298:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/verbs.c:6305:13: branch_false: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:6305:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/verbs.c:6308:13: branch_false: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:6308:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/verbs.c:6311:14: branch_false: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:6311:14: call_function: calling ‘mlx5_attach_dedicated_uar’ from ‘_mlx5dv_devx_alloc_uar’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def880]
rdma-core-59.0/providers/mlx5/verbs.c:242:15: warning[-Wanalyzer-malloc-leak]: leak of ‘bf’
rdma-core-59.0/providers/mlx5/verbs.c:6288:1: enter_function: entry to ‘_mlx5dv_devx_alloc_uar’
rdma-core-59.0/providers/mlx5/verbs.c:6298:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/verbs.c:6305:13: branch_false: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:6305:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/verbs.c:6308:13: branch_false: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:6308:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/verbs.c:6311:14: branch_false: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:6311:14: call_function: calling ‘mlx5_attach_dedicated_uar’ from ‘_mlx5dv_devx_alloc_uar’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def881]
rdma-core-59.0/providers/mlx5/verbs.c:2147:15: warning[-Wanalyzer-malloc-leak]: leak of ‘qp’
rdma-core-59.0/providers/mlx5/verbs.c:2394:23: enter_function: entry to ‘create_qp’
rdma-core-59.0/providers/mlx5/verbs.c:2412:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/verbs.c:2415:13: branch_false: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:2429:14: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/verbs.c:2430:12: branch_false: following ‘false’ branch (when ‘qp’ is non-NULL)...
rdma-core-59.0/providers/mlx5/verbs.c:2435:9: branch_false: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:2571:20: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/verbs.c:2575:13: branch_false: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:2575:12: branch_true: following ‘true’ branch...
rdma-core-59.0/providers/mlx5/verbs.c:2577:17: branch_true: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:2579:23: call_function: calling ‘mlx5_cmd_create_rss_qp’ from ‘create_qp’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def882]
rdma-core-59.0/providers/mlx5/verbs.c:2266:27: warning[-Wanalyzer-malloc-leak]: leak of ‘qp’
rdma-core-59.0/providers/mlx5/verbs.c:2394:23: enter_function: entry to ‘create_qp’
rdma-core-59.0/providers/mlx5/verbs.c:2412:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/verbs.c:2415:13: branch_false: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:2429:14: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/verbs.c:2430:12: branch_false: following ‘false’ branch (when ‘qp’ is non-NULL)...
rdma-core-59.0/providers/mlx5/verbs.c:2435:9: branch_false: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:2456:12: branch_true: following ‘true’ branch (when ‘mlx5_qp_attr’ is non-NULL)...
rdma-core-59.0/providers/mlx5/verbs.c:2457:22: branch_true: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:2457:20: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/verbs.c:2465:21: branch_false: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:2465:21: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/verbs.c:2471:21: branch_false: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:2534:20: branch_true: following ‘true’ branch...
rdma-core-59.0/providers/mlx5/verbs.c:2535:28: branch_true: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:2535:28: branch_true: following ‘true’ branch...
rdma-core-59.0/providers/mlx5/verbs.c:2536:37: branch_true: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:2536:36: branch_true: following ‘true’ branch...
rdma-core-59.0/providers/mlx5/verbs.c:2537:47: branch_true: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:2537:47: call_function: calling ‘create_dct’ from ‘create_qp’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def883]
rdma-core-59.0/providers/mlx5/verbs.c:2278:15: warning[-Wanalyzer-malloc-leak]: leak of ‘qp’
rdma-core-59.0/providers/mlx5/verbs.c:2394:23: enter_function: entry to ‘create_qp’
rdma-core-59.0/providers/mlx5/verbs.c:2412:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/verbs.c:2415:13: branch_false: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:2429:14: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/verbs.c:2430:12: branch_false: following ‘false’ branch (when ‘qp’ is non-NULL)...
rdma-core-59.0/providers/mlx5/verbs.c:2435:9: branch_false: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:2456:12: branch_true: following ‘true’ branch (when ‘mlx5_qp_attr’ is non-NULL)...
rdma-core-59.0/providers/mlx5/verbs.c:2457:22: branch_true: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:2457:20: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/verbs.c:2465:21: branch_false: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:2465:21: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/verbs.c:2471:21: branch_false: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:2534:20: branch_true: following ‘true’ branch...
rdma-core-59.0/providers/mlx5/verbs.c:2535:28: branch_true: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:2535:28: branch_true: following ‘true’ branch...
rdma-core-59.0/providers/mlx5/verbs.c:2536:37: branch_true: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:2536:36: branch_true: following ‘true’ branch...
rdma-core-59.0/providers/mlx5/verbs.c:2537:47: branch_true: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:2537:47: call_function: calling ‘create_dct’ from ‘create_qp’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def884]
rdma-core-59.0/providers/mlx5/verbs.c:2602:23: warning[-Wanalyzer-malloc-leak]: leak of ‘qp’
rdma-core-59.0/providers/mlx5/verbs.c:2412:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/verbs.c:2415:13: branch_false: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:2429:14: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/verbs.c:2430:12: branch_false: following ‘false’ branch (when ‘qp’ is non-NULL)...
rdma-core-59.0/providers/mlx5/verbs.c:2435:9: branch_false: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:2571:20: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/verbs.c:2575:13: branch_false: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:2575:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/verbs.c:2587:13: branch_false: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:2587:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/verbs.c:2590:13: branch_false: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:2602:23: danger: ‘qp’ leaks here; was allocated at [(3)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def885]
rdma-core-59.0/providers/mlx5/verbs.c:3048:15: warning[-Wanalyzer-malloc-leak]: leak of ‘dmah’
rdma-core-59.0/providers/mlx5/verbs.c:3022:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/verbs.c:3028:14: branch_false: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:3028:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/verbs.c:3035:13: branch_false: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:3042:16: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/verbs.c:3043:12: branch_false: following ‘false’ branch (when ‘dmah’ is non-NULL)...
rdma-core-59.0/providers/mlx5/verbs.c:3048:15: branch_false: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:3048:15: danger: ‘dmah’ leaks here; was allocated at [(5)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def886]
rdma-core-59.0/providers/mlx5/verbs.c:3354:25: warning[-Wanalyzer-malloc-leak]: leak of ‘ah’
rdma-core-59.0/providers/mlx5/verbs.c:3361:16: enter_function: entry to ‘mlx5_create_ah’
rdma-core-59.0/providers/mlx5/verbs.c:3373:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/verbs.c:3394:14: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/verbs.c:3395:12: branch_false: following ‘false’ branch (when ‘ah’ is non-NULL)...
rdma-core-59.0/providers/mlx5/verbs.c:3398:44: branch_false: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:3399:12: branch_true: following ‘true’ branch (when ‘is_eth != 0’)...
rdma-core-59.0/providers/mlx5/verbs.c:3401:40: branch_true: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:3400:20: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/verbs.c:3404:21: branch_false: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:3404:20: branch_true: following ‘true’ branch...
rdma-core-59.0/providers/mlx5/verbs.c:3405:25: branch_true: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:3405:25: call_function: calling ‘mlx5_ah_set_udp_sport’ from ‘mlx5_create_ah’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def887]
rdma-core-59.0/providers/mlx5/verbs.c:3400:21: warning[-Wanalyzer-malloc-leak]: leak of ‘ah’
rdma-core-59.0/providers/mlx5/verbs.c:3373:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/verbs.c:3394:14: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/verbs.c:3395:12: branch_false: following ‘false’ branch (when ‘ah’ is non-NULL)...
rdma-core-59.0/providers/mlx5/verbs.c:3398:44: branch_false: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:3399:12: branch_true: following ‘true’ branch (when ‘is_eth != 0’)...
rdma-core-59.0/providers/mlx5/verbs.c:3401:40: branch_true: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:3400:21: danger: ‘ah’ leaks here; was allocated at [(3)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def888]
rdma-core-59.0/providers/mlx5/verbs.c:3432:29: warning[-Wanalyzer-malloc-leak]: leak of ‘ah’
rdma-core-59.0/providers/mlx5/verbs.c:3373:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/verbs.c:3394:14: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/verbs.c:3395:12: branch_false: following ‘false’ branch (when ‘ah’ is non-NULL)...
rdma-core-59.0/providers/mlx5/verbs.c:3398:44: branch_false: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:3399:12: branch_true: following ‘true’ branch (when ‘is_eth != 0’)...
rdma-core-59.0/providers/mlx5/verbs.c:3401:40: branch_true: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:3400:20: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/verbs.c:3404:21: branch_false: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:3404:20: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/verbs.c:3411:39: branch_false: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:3418:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/verbs.c:3428:12: branch_false: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:3428:12: branch_true: following ‘true’ branch (when ‘is_eth != 0’)...
rdma-core-59.0/providers/mlx5/verbs.c:3429:21: branch_true: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:3429:20: branch_true: following ‘true’ branch...
rdma-core-59.0/providers/mlx5/verbs.c:3430:52: branch_true: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:3432:29: danger: ‘ah’ leaks here; was allocated at [(3)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def889]
rdma-core-59.0/providers/mlx5/verbs.c:3438:29: warning[-Wanalyzer-malloc-leak]: leak of ‘ah’
rdma-core-59.0/providers/mlx5/verbs.c:3373:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/verbs.c:3394:14: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/verbs.c:3395:12: branch_false: following ‘false’ branch (when ‘ah’ is non-NULL)...
rdma-core-59.0/providers/mlx5/verbs.c:3398:44: branch_false: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:3399:12: branch_true: following ‘true’ branch (when ‘is_eth != 0’)...
rdma-core-59.0/providers/mlx5/verbs.c:3401:40: branch_true: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:3400:20: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/verbs.c:3404:21: branch_false: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:3404:20: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/verbs.c:3411:39: branch_false: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:3418:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/verbs.c:3428:12: branch_false: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:3428:12: branch_true: following ‘true’ branch (when ‘is_eth != 0’)...
rdma-core-59.0/providers/mlx5/verbs.c:3429:21: branch_true: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:3429:20: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/verbs.c:3439:57: branch_false: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:3438:29: danger: ‘ah’ leaks here; was allocated at [(3)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def890]
rdma-core-59.0/providers/mlx5/verbs.c:3592:15: warning[-Wanalyzer-malloc-leak]: leak of ‘qp’
rdma-core-59.0/providers/mlx5/verbs.c:3588:14: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/verbs.c:3589:12: branch_false: following ‘false’ branch (when ‘qp’ is non-NULL)...
rdma-core-59.0/providers/mlx5/verbs.c:3592:15: branch_false: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:3592:15: danger: ‘qp’ leaks here; was allocated at [(1)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def891]
rdma-core-59.0/providers/mlx5/verbs.c:3617:15: warning[-Wanalyzer-malloc-leak]: leak of ‘xrcd’
rdma-core-59.0/providers/mlx5/verbs.c:3613:16: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/verbs.c:3614:12: branch_false: following ‘false’ branch (when ‘xrcd’ is non-NULL)...
rdma-core-59.0/providers/mlx5/verbs.c:3617:15: branch_false: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:3617:15: danger: ‘xrcd’ leaks here; was allocated at [(1)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def892]
rdma-core-59.0/providers/mlx5/verbs.c:4354:9: warning[-Wanalyzer-malloc-leak]: leak of ‘rwq’
rdma-core-59.0/providers/mlx5/verbs.c:4385:23: enter_function: entry to ‘create_wq’
rdma-core-59.0/providers/mlx5/verbs.c:4398:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/verbs.c:4401:9: branch_false: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:4404:15: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/verbs.c:4405:12: branch_false: following ‘false’ branch (when ‘rwq’ is non-NULL)...
rdma-core-59.0/providers/mlx5/verbs.c:4408:23: call_function: inlined call to ‘rwq_sig_enabled’ from ‘create_wq’
rdma-core-59.0/providers/mlx5/verbs.c:4412:15: call_function: calling ‘mlx5_calc_rwq_size’ from ‘create_wq’
rdma-core-59.0/providers/mlx5/verbs.c:4412:15: return_function: returning to ‘create_wq’ from ‘mlx5_calc_rwq_size’
rdma-core-59.0/providers/mlx5/verbs.c:4413:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/verbs.c:4418:9: branch_false: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:4419:13: call_function: calling ‘mlx5_alloc_rwq_buf’ from ‘create_wq’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def893]
rdma-core-59.0/providers/mlx5/verbs.c:4369:15: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
rdma-core-59.0/providers/mlx5/verbs.c:4385:23: enter_function: entry to ‘create_wq’
rdma-core-59.0/providers/mlx5/verbs.c:4398:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/verbs.c:4401:9: branch_false: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:4405:12: branch_false: following ‘false’ branch (when ‘rwq’ is non-NULL)...
rdma-core-59.0/providers/mlx5/verbs.c:4408:23: call_function: inlined call to ‘rwq_sig_enabled’ from ‘create_wq’
rdma-core-59.0/providers/mlx5/verbs.c:4412:15: call_function: calling ‘mlx5_calc_rwq_size’ from ‘create_wq’
rdma-core-59.0/providers/mlx5/verbs.c:4412:15: return_function: returning to ‘create_wq’ from ‘mlx5_calc_rwq_size’
rdma-core-59.0/providers/mlx5/verbs.c:4413:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/verbs.c:4418:9: branch_false: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:4419:13: call_function: calling ‘mlx5_alloc_rwq_buf’ from ‘create_wq’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def894]
rdma-core-59.0/providers/mlx5/verbs.c:4369:15: warning[-Wanalyzer-malloc-leak]: leak of ‘rwq’
rdma-core-59.0/providers/mlx5/verbs.c:4385:23: enter_function: entry to ‘create_wq’
rdma-core-59.0/providers/mlx5/verbs.c:4398:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/verbs.c:4401:9: branch_false: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:4404:15: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/verbs.c:4405:12: branch_false: following ‘false’ branch (when ‘rwq’ is non-NULL)...
rdma-core-59.0/providers/mlx5/verbs.c:4408:23: call_function: inlined call to ‘rwq_sig_enabled’ from ‘create_wq’
rdma-core-59.0/providers/mlx5/verbs.c:4412:15: call_function: calling ‘mlx5_calc_rwq_size’ from ‘create_wq’
rdma-core-59.0/providers/mlx5/verbs.c:4412:15: return_function: returning to ‘create_wq’ from ‘mlx5_calc_rwq_size’
rdma-core-59.0/providers/mlx5/verbs.c:4413:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/verbs.c:4418:9: branch_false: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:4419:13: call_function: calling ‘mlx5_alloc_rwq_buf’ from ‘create_wq’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def895]
rdma-core-59.0/providers/mlx5/verbs.c:4681:15: warning[-Wanalyzer-malloc-leak]: leak of ‘cmd’
rdma-core-59.0/providers/mlx5/verbs.c:4650:12: branch_false: following ‘false’ branch (when ‘mflow’ is non-NULL)...
rdma-core-59.0/providers/mlx5/verbs.c:4655:15: branch_false: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:4656:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/verbs.c:4661:27: branch_false: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:4662:15: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/verbs.c:4663:12: branch_false: following ‘false’ branch (when ‘cmd’ is non-NULL)...
rdma-core-59.0/providers/mlx5/verbs.c:4668:13: branch_false: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:4668:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/verbs.c:4680:9: branch_false: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:4681:15: danger: ‘cmd’ leaks here; was allocated at [(5)](sarif:/runs/0/results/16/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def896]
rdma-core-59.0/providers/mlx5/verbs.c:4681:15: warning[-Wanalyzer-malloc-leak]: leak of ‘mflow’
rdma-core-59.0/providers/mlx5/verbs.c:4649:17: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/verbs.c:4650:12: branch_false: following ‘false’ branch (when ‘mflow’ is non-NULL)...
rdma-core-59.0/providers/mlx5/verbs.c:4655:15: branch_false: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:4656:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/verbs.c:4661:27: branch_false: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:4663:12: branch_false: following ‘false’ branch (when ‘cmd’ is non-NULL)...
rdma-core-59.0/providers/mlx5/verbs.c:4668:13: branch_false: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:4668:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/verbs.c:4680:9: branch_false: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:4681:15: danger: ‘mflow’ leaks here; was allocated at [(1)](sarif:/runs/0/results/17/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def897]
rdma-core-59.0/providers/mlx5/verbs.c:4739:15: warning[-Wanalyzer-malloc-leak]: leak of ‘ind_table’
rdma-core-59.0/providers/mlx5/verbs.c:4735:21: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/verbs.c:4736:12: branch_false: following ‘false’ branch (when ‘ind_table’ is non-NULL)...
rdma-core-59.0/providers/mlx5/verbs.c:4739:15: branch_false: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:4739:15: danger: ‘ind_table’ leaks here; was allocated at [(1)](sarif:/runs/0/results/18/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def898]
rdma-core-59.0/providers/mlx5/verbs.c:4789:15: warning[-Wanalyzer-malloc-leak]: leak of ‘action’
rdma-core-59.0/providers/mlx5/verbs.c:4778:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/verbs.c:4783:18: branch_false: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:4783:18: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/verbs.c:4784:12: branch_false: following ‘false’ branch (when ‘action’ is non-NULL)...
rdma-core-59.0/providers/mlx5/verbs.c:4789:15: branch_false: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:4789:15: danger: ‘action’ leaks here; was allocated at [(3)](sarif:/runs/0/results/19/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def899]
rdma-core-59.0/providers/mlx5/verbs.c:4884:15: warning[-Wanalyzer-malloc-leak]: leak of ‘action’
rdma-core-59.0/providers/mlx5/verbs.c:4860:1: enter_function: entry to ‘_mlx5dv_create_flow_action_modify_header’
rdma-core-59.0/providers/mlx5/verbs.c:4873:9: call_function: calling ‘fill_attr_in’ from ‘_mlx5dv_create_flow_action_modify_header’
rdma-core-59.0/providers/mlx5/verbs.c:4873:9: return_function: returning to ‘_mlx5dv_create_flow_action_modify_header’ from ‘fill_attr_in’
rdma-core-59.0/providers/mlx5/verbs.c:4878:18: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/verbs.c:4879:12: branch_false: following ‘false’ branch (when ‘action’ is non-NULL)...
rdma-core-59.0/providers/mlx5/verbs.c:4884:15: branch_false: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:4884:15: danger: ‘action’ leaks here; was allocated at [(7)](sarif:/runs/0/results/20/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def900]
rdma-core-59.0/providers/mlx5/verbs.c:4951:15: warning[-Wanalyzer-malloc-leak]: leak of ‘action’
rdma-core-59.0/providers/mlx5/verbs.c:4929:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/verbs.c:4934:13: branch_false: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:4945:18: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/verbs.c:4946:12: branch_false: following ‘false’ branch (when ‘action’ is non-NULL)...
rdma-core-59.0/providers/mlx5/verbs.c:4951:15: branch_false: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:4951:15: danger: ‘action’ leaks here; was allocated at [(3)](sarif:/runs/0/results/21/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def901]
rdma-core-59.0/providers/mlx5/verbs.c:5119:15: warning[-Wanalyzer-malloc-leak]: leak of ‘mr’
rdma-core-59.0/providers/mlx5/verbs.c:5114:14: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/verbs.c:5115:12: branch_false: following ‘false’ branch (when ‘mr’ is non-NULL)...
rdma-core-59.0/providers/mlx5/verbs.c:5118:9: branch_false: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:5119:15: danger: ‘mr’ leaks here; was allocated at [(1)](sarif:/runs/0/results/22/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def902]
rdma-core-59.0/providers/mlx5/verbs.c:5205:15: warning[-Wanalyzer-malloc-leak]: leak of ‘dm’
rdma-core-59.0/providers/mlx5/verbs.c:5179:16: enter_function: entry to ‘mlx5_import_dm’
rdma-core-59.0/providers/mlx5/verbs.c:5191:14: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/verbs.c:5192:12: branch_false: following ‘false’ branch (when ‘dm’ is non-NULL)...
rdma-core-59.0/providers/mlx5/verbs.c:5197:9: call_function: inlined call to ‘fill_attr_in_obj’ from ‘mlx5_import_dm’
rdma-core-59.0/providers/mlx5/verbs.c:5205:15: danger: ‘dm’ leaks here; was allocated at [(2)](sarif:/runs/0/results/23/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def903]
rdma-core-59.0/providers/mlx5/verbs.c:5248:13: warning[-Wanalyzer-malloc-leak]: leak of ‘dm’
rdma-core-59.0/providers/mlx5/verbs.c:5285:1: enter_function: entry to ‘_mlx5dv_alloc_dm’
rdma-core-59.0/providers/mlx5/verbs.c:5304:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/verbs.c:5305:14: branch_false: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:5304:13: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/verbs.c:5310:14: branch_false: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:5310:14: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/verbs.c:5311:12: branch_false: following ‘false’ branch (when ‘dm’ is non-NULL)...
rdma-core-59.0/providers/mlx5/verbs.c:5316:21: branch_false: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:5319:12: branch_true: following ‘true’ branch...
rdma-core-59.0/providers/mlx5/verbs.c:5320:17: call_function: inlined call to ‘attr_optional’ from ‘_mlx5dv_alloc_dm’
rdma-core-59.0/providers/mlx5/verbs.c:5321:23: call_function: calling ‘alloc_dm_memic’ from ‘_mlx5dv_alloc_dm’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def904]
rdma-core-59.0/providers/mlx5/verbs.c:5275:13: warning[-Wanalyzer-malloc-leak]: leak of ‘dm’
rdma-core-59.0/providers/mlx5/verbs.c:5285:1: enter_function: entry to ‘_mlx5dv_alloc_dm’
rdma-core-59.0/providers/mlx5/verbs.c:5304:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/verbs.c:5305:14: branch_false: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:5304:13: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/verbs.c:5310:14: branch_false: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:5310:14: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/verbs.c:5311:12: branch_false: following ‘false’ branch (when ‘dm’ is non-NULL)...
rdma-core-59.0/providers/mlx5/verbs.c:5316:21: branch_false: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:5319:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/verbs.c:5323:23: branch_false: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:5323:23: call_function: calling ‘alloc_dm_steering_sw_icm’ from ‘_mlx5dv_alloc_dm’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def905]
rdma-core-59.0/providers/mlx5/verbs.c:5557:15: warning[-Wanalyzer-malloc-leak]: leak of ‘flow_matcher’
rdma-core-59.0/providers/mlx5/verbs.c:5494:1: enter_function: entry to ‘_mlx5dv_create_flow_matcher’
rdma-core-59.0/providers/mlx5/verbs.c:5504:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/verbs.c:5511:24: branch_false: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:5511:24: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/verbs.c:5512:12: branch_false: following ‘false’ branch (when ‘flow_matcher’ is non-NULL)...
rdma-core-59.0/providers/mlx5/verbs.c:5517:13: branch_false: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:5517:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/verbs.c:5522:14: branch_false: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:5540:9: call_function: calling ‘fill_attr_in’ from ‘_mlx5dv_create_flow_matcher’
rdma-core-59.0/providers/mlx5/verbs.c:5540:9: return_function: returning to ‘_mlx5dv_create_flow_matcher’ from ‘fill_attr_in’
rdma-core-59.0/providers/mlx5/verbs.c:5542:9: call_function: inlined call to ‘fill_attr_in_enum’ from ‘_mlx5dv_create_flow_matcher’
rdma-core-59.0/providers/mlx5/verbs.c:5542:9: call_function: inlined call to ‘fill_attr_in_enum’ from ‘_mlx5dv_create_flow_matcher’
rdma-core-59.0/providers/mlx5/verbs.c:5557:15: danger: ‘flow_matcher’ leaks here; was allocated at [(4)](sarif:/runs/0/results/26/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def906]
rdma-core-59.0/providers/mlx5/verbs.c:5747:15: warning[-Wanalyzer-malloc-leak]: leak of ‘mflow’
rdma-core-59.0/providers/mlx5/verbs.c:5615:1: enter_function: entry to ‘_mlx5dv_create_flow’
rdma-core-59.0/providers/mlx5/verbs.c:5639:17: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/verbs.c:5640:12: branch_false: following ‘false’ branch (when ‘mflow’ is non-NULL)...
rdma-core-59.0/providers/mlx5/verbs.c:5645:18: call_function: inlined call to ‘fill_attr_out_obj’ from ‘_mlx5dv_create_flow’
rdma-core-59.0/providers/mlx5/verbs.c:5747:15: danger: ‘mflow’ leaks here; was allocated at [(2)](sarif:/runs/0/results/27/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def907]
rdma-core-59.0/providers/mlx5/verbs.c:5810:15: warning[-Wanalyzer-malloc-leak]: leak of ‘steering_anchor’
rdma-core-59.0/providers/mlx5/verbs.c:5780:1: enter_function: entry to ‘_mlx5dv_create_steering_anchor’
rdma-core-59.0/providers/mlx5/verbs.c:5790:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/verbs.c:5795:27: branch_false: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:5795:27: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/verbs.c:5796:12: branch_false: following ‘false’ branch (when ‘steering_anchor’ is non-NULL)...
rdma-core-59.0/providers/mlx5/verbs.c:5801:18: call_function: inlined call to ‘fill_attr_out_obj’ from ‘_mlx5dv_create_steering_anchor’
rdma-core-59.0/providers/mlx5/verbs.c:5805:9: call_function: calling ‘fill_attr_in’ from ‘_mlx5dv_create_steering_anchor’
rdma-core-59.0/providers/mlx5/verbs.c:5805:9: return_function: returning to ‘_mlx5dv_create_steering_anchor’ from ‘fill_attr_in’
rdma-core-59.0/providers/mlx5/verbs.c:5810:15: danger: ‘steering_anchor’ leaks here; was allocated at [(4)](sarif:/runs/0/results/28/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def908]
rdma-core-59.0/providers/mlx5/verbs.c:5893:13: warning[-Wanalyzer-malloc-leak]: leak of ‘umem’
rdma-core-59.0/providers/mlx5/verbs.c:5882:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/verbs.c:5887:16: branch_false: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:5887:16: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/verbs.c:5888:12: branch_false: following ‘false’ branch (when ‘umem’ is non-NULL)...
rdma-core-59.0/providers/mlx5/verbs.c:5893:13: branch_false: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:5893:13: danger: ‘umem’ leaks here; was allocated at [(3)](sarif:/runs/0/results/29/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def909]
rdma-core-59.0/providers/mlx5/verbs.c:5916:15: warning[-Wanalyzer-malloc-leak]: leak of ‘umem’
rdma-core-59.0/providers/mlx5/verbs.c:5935:1: enter_function: entry to ‘_mlx5dv_devx_umem_reg’
rdma-core-59.0/providers/mlx5/verbs.c:5945:16: call_function: calling ‘__mlx5dv_devx_umem_reg_ex’ from ‘_mlx5dv_devx_umem_reg’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def910]
rdma-core-59.0/providers/mlx5/verbs.c:5928:9: warning[-Wanalyzer-malloc-leak]: leak of ‘umem’
rdma-core-59.0/providers/mlx5/verbs.c:5882:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/verbs.c:5887:16: branch_false: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:5887:16: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/verbs.c:5888:12: branch_false: following ‘false’ branch (when ‘umem’ is non-NULL)...
rdma-core-59.0/providers/mlx5/verbs.c:5893:13: branch_false: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:5893:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/verbs.c:5896:77: branch_false: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:5899:12: branch_true: following ‘true’ branch...
rdma-core-59.0/providers/mlx5/verbs.c:5900:21: branch_true: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:5900:20: branch_true: following ‘true’ branch...
rdma-core-59.0/providers/mlx5/verbs.c:5901:25: branch_true: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:5928:9: danger: ‘umem’ leaks here; was allocated at [(3)](sarif:/runs/0/results/31/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def911]
rdma-core-59.0/providers/mlx5/verbs.c:6098:15: warning[-Wanalyzer-malloc-leak]: leak of ‘obj’
rdma-core-59.0/providers/mlx5/verbs.c:6077:1: enter_function: entry to ‘_mlx5dv_devx_obj_create’
rdma-core-59.0/providers/mlx5/verbs.c:6088:15: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/verbs.c:6089:12: branch_false: following ‘false’ branch (when ‘obj’ is non-NULL)...
rdma-core-59.0/providers/mlx5/verbs.c:6094:18: call_function: inlined call to ‘fill_attr_out_obj’ from ‘_mlx5dv_devx_obj_create’
rdma-core-59.0/providers/mlx5/verbs.c:6095:9: call_function: calling ‘fill_attr_in’ from ‘_mlx5dv_devx_obj_create’
rdma-core-59.0/providers/mlx5/verbs.c:6095:9: return_function: returning to ‘_mlx5dv_devx_obj_create’ from ‘fill_attr_in’
rdma-core-59.0/providers/mlx5/verbs.c:6096:9: call_function: inlined call to ‘fill_attr_out’ from ‘_mlx5dv_devx_obj_create’
rdma-core-59.0/providers/mlx5/verbs.c:6098:15: danger: ‘obj’ leaks here; was allocated at [(2)](sarif:/runs/0/results/32/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def912]
rdma-core-59.0/providers/mlx5/verbs.c:6116:45: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
rdma-core-59.0/providers/mlx5/verbs.c:7086:1: enter_function: entry to ‘_mlx5dv_create_mkey’
rdma-core-59.0/providers/mlx5/verbs.c:7100:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/verbs.c:7101:14: branch_false: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:7100:13: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/verbs.c:7112:16: branch_false: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:7113:12: branch_false: following ‘false’ branch (when ‘mkey’ is non-NULL)...
rdma-core-59.0/providers/mlx5/verbs.c:7118:20: branch_false: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:7121:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/verbs.c:7129:23: branch_false: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:7132:12: branch_true: following ‘true’ branch...
rdma-core-59.0/providers/mlx5/verbs.c:7133:23: branch_true: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:7133:20: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/verbs.c:7140:32: branch_false: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:7140:32: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/verbs.c:7141:20: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/verbs.c:7146:17: branch_false: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:7171:26: call_function: calling ‘mlx5dv_devx_obj_create’ from ‘_mlx5dv_create_mkey’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def913]
rdma-core-59.0/providers/mlx5/verbs.c:6116:45: warning[-Wanalyzer-malloc-leak]: leak of ‘crypto_login’
rdma-core-59.0/providers/mlx5/verbs.c:7568:1: enter_function: entry to ‘_mlx5dv_crypto_login_create’
rdma-core-59.0/providers/mlx5/verbs.c:7574:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/verbs.c:7579:24: branch_false: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:7579:24: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/verbs.c:7580:12: branch_false: following ‘false’ branch (when ‘crypto_login’ is non-NULL)...
rdma-core-59.0/providers/mlx5/verbs.c:7585:15: branch_false: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:7585:15: call_function: calling ‘crypto_login_create’ from ‘_mlx5dv_crypto_login_create’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def914]
rdma-core-59.0/providers/mlx5/verbs.c:6116:45: warning[-Wanalyzer-malloc-leak]: leak of ‘dek’
rdma-core-59.0/providers/mlx5/verbs.c:7692:1: enter_function: entry to ‘_mlx5dv_dek_create’
rdma-core-59.0/providers/mlx5/verbs.c:7703:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/verbs.c:7710:15: branch_false: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:7710:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/verbs.c:7715:13: branch_false: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:7715:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/verbs.c:7720:17: branch_false: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:7732:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/verbs.c:7738:9: branch_false: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:7739:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/verbs.c:7744:15: branch_false: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:7744:15: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/verbs.c:7745:12: branch_false: following ‘false’ branch (when ‘dek’ is non-NULL)...
rdma-core-59.0/providers/mlx5/verbs.c:7751:9: call_function: inlined call to ‘_devx_set’ from ‘_mlx5dv_dek_create’
rdma-core-59.0/providers/mlx5/verbs.c:7766:15: call_function: calling ‘mlx5dv_devx_obj_create’ from ‘_mlx5dv_dek_create’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def915]
rdma-core-59.0/providers/mlx5/verbs.c:6116:45: warning[-Wanalyzer-malloc-leak]: leak of ‘mkey’
rdma-core-59.0/providers/mlx5/verbs.c:7086:1: enter_function: entry to ‘_mlx5dv_create_mkey’
rdma-core-59.0/providers/mlx5/verbs.c:7100:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/verbs.c:7101:14: branch_false: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:7100:13: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/verbs.c:7112:16: branch_false: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:7112:16: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/verbs.c:7113:12: branch_false: following ‘false’ branch (when ‘mkey’ is non-NULL)...
rdma-core-59.0/providers/mlx5/verbs.c:7118:20: branch_false: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:7121:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/verbs.c:7129:23: branch_false: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:7132:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/verbs.c:7149:32: branch_false: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:7160:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/verbs.c:7162:12: branch_false: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:7171:26: call_function: calling ‘mlx5dv_devx_obj_create’ from ‘_mlx5dv_create_mkey’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def916]
rdma-core-59.0/providers/mlx5/verbs.c:6123:16: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
rdma-core-59.0/providers/mlx5/verbs.c:7086:1: enter_function: entry to ‘_mlx5dv_create_mkey’
rdma-core-59.0/providers/mlx5/verbs.c:7100:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/verbs.c:7101:14: branch_false: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:7100:13: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/verbs.c:7112:16: branch_false: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:7113:12: branch_false: following ‘false’ branch (when ‘mkey’ is non-NULL)...
rdma-core-59.0/providers/mlx5/verbs.c:7118:20: branch_false: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:7121:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/verbs.c:7129:23: branch_false: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:7132:12: branch_true: following ‘true’ branch...
rdma-core-59.0/providers/mlx5/verbs.c:7133:23: branch_true: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:7133:20: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/verbs.c:7140:32: branch_false: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:7140:32: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/verbs.c:7141:20: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/verbs.c:7146:17: branch_false: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:7171:26: call_function: calling ‘mlx5dv_devx_obj_create’ from ‘_mlx5dv_create_mkey’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def917]
rdma-core-59.0/providers/mlx5/verbs.c:6123:16: warning[-Wanalyzer-malloc-leak]: leak of ‘crypto_login’
rdma-core-59.0/providers/mlx5/verbs.c:7568:1: enter_function: entry to ‘_mlx5dv_crypto_login_create’
rdma-core-59.0/providers/mlx5/verbs.c:7574:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/verbs.c:7579:24: branch_false: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:7579:24: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/verbs.c:7580:12: branch_false: following ‘false’ branch (when ‘crypto_login’ is non-NULL)...
rdma-core-59.0/providers/mlx5/verbs.c:7585:15: branch_false: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:7585:15: call_function: calling ‘crypto_login_create’ from ‘_mlx5dv_crypto_login_create’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def918]
rdma-core-59.0/providers/mlx5/verbs.c:6123:16: warning[-Wanalyzer-malloc-leak]: leak of ‘dek’
rdma-core-59.0/providers/mlx5/verbs.c:7692:1: enter_function: entry to ‘_mlx5dv_dek_create’
rdma-core-59.0/providers/mlx5/verbs.c:7703:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/verbs.c:7710:15: branch_false: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:7710:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/verbs.c:7715:13: branch_false: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:7715:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/verbs.c:7720:17: branch_false: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:7732:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/verbs.c:7738:9: branch_false: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:7739:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/verbs.c:7744:15: branch_false: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:7744:15: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/verbs.c:7745:12: branch_false: following ‘false’ branch (when ‘dek’ is non-NULL)...
rdma-core-59.0/providers/mlx5/verbs.c:7751:9: call_function: inlined call to ‘_devx_set’ from ‘_mlx5dv_dek_create’
rdma-core-59.0/providers/mlx5/verbs.c:7766:15: call_function: calling ‘mlx5dv_devx_obj_create’ from ‘_mlx5dv_dek_create’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def919]
rdma-core-59.0/providers/mlx5/verbs.c:6123:16: warning[-Wanalyzer-malloc-leak]: leak of ‘mkey’
rdma-core-59.0/providers/mlx5/verbs.c:7086:1: enter_function: entry to ‘_mlx5dv_create_mkey’
rdma-core-59.0/providers/mlx5/verbs.c:7100:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/verbs.c:7101:14: branch_false: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:7100:13: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/verbs.c:7112:16: branch_false: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:7112:16: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/verbs.c:7113:12: branch_false: following ‘false’ branch (when ‘mkey’ is non-NULL)...
rdma-core-59.0/providers/mlx5/verbs.c:7118:20: branch_false: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:7121:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/verbs.c:7129:23: branch_false: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:7132:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/verbs.c:7149:32: branch_false: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:7160:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/verbs.c:7162:12: branch_false: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:7171:26: call_function: calling ‘mlx5dv_devx_obj_create’ from ‘_mlx5dv_create_mkey’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def920]
rdma-core-59.0/providers/mlx5/verbs.c:6715:15: warning[-Wanalyzer-malloc-leak]: leak of ‘cmd_comp’
rdma-core-59.0/providers/mlx5/verbs.c:6695:1: enter_function: entry to ‘_mlx5dv_devx_create_cmd_comp’
rdma-core-59.0/providers/mlx5/verbs.c:6705:20: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/verbs.c:6706:12: branch_false: following ‘false’ branch (when ‘cmd_comp’ is non-NULL)...
rdma-core-59.0/providers/mlx5/verbs.c:6711:18: call_function: inlined call to ‘fill_attr_out_fd’ from ‘_mlx5dv_devx_create_cmd_comp’
rdma-core-59.0/providers/mlx5/verbs.c:6715:15: danger: ‘cmd_comp’ leaks here; was allocated at [(2)](sarif:/runs/0/results/41/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def921]
rdma-core-59.0/providers/mlx5/verbs.c:6777:15: warning[-Wanalyzer-malloc-leak]: leak of ‘event_channel’
rdma-core-59.0/providers/mlx5/verbs.c:6754:1: enter_function: entry to ‘_mlx5dv_devx_create_event_channel’
rdma-core-59.0/providers/mlx5/verbs.c:6765:25: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/verbs.c:6766:12: branch_false: following ‘false’ branch (when ‘event_channel’ is non-NULL)...
rdma-core-59.0/providers/mlx5/verbs.c:6771:18: call_function: inlined call to ‘fill_attr_out_fd’ from ‘_mlx5dv_devx_create_event_channel’
rdma-core-59.0/providers/mlx5/verbs.c:6777:15: danger: ‘event_channel’ leaks here; was allocated at [(2)](sarif:/runs/0/results/42/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def922]
rdma-core-59.0/providers/mlx5/verbs.c:6975:23: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
rdma-core-59.0/providers/mlx5/verbs.c:7086:1: enter_function: entry to ‘_mlx5dv_create_mkey’
rdma-core-59.0/providers/mlx5/verbs.c:7100:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/verbs.c:7101:14: branch_false: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:7100:13: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/verbs.c:7112:16: branch_false: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:7113:12: branch_false: following ‘false’ branch (when ‘mkey’ is non-NULL)...
rdma-core-59.0/providers/mlx5/verbs.c:7118:20: branch_false: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:7121:12: branch_true: following ‘true’ branch...
rdma-core-59.0/providers/mlx5/verbs.c:7122:29: branch_true: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:7122:29: call_function: calling ‘mlx5_create_sig_ctx’ from ‘_mlx5dv_create_mkey’
rdma-core-59.0/providers/mlx5/verbs.c:7122:29: return_function: returning to ‘_mlx5dv_create_mkey’ from ‘mlx5_create_sig_ctx’
rdma-core-59.0/providers/mlx5/verbs.c:7123:20: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/verbs.c:7129:23: branch_false: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:7132:12: branch_true: following ‘true’ branch...
rdma-core-59.0/providers/mlx5/verbs.c:7133:23: branch_true: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:7133:20: branch_true: following ‘true’ branch...
rdma-core-59.0/providers/mlx5/verbs.c:7136:25: branch_true: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:7194:12: branch_true: following ‘true’ branch...
rdma-core-59.0/providers/mlx5/verbs.c:7195:17: branch_true: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:7195:17: call_function: calling ‘mlx5_destroy_sig_ctx’ from ‘_mlx5dv_create_mkey’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def923]
rdma-core-59.0/providers/mlx5/verbs.c:6975:23: warning[-Wanalyzer-malloc-leak]: leak of ‘mkey’
rdma-core-59.0/providers/mlx5/verbs.c:7086:1: enter_function: entry to ‘_mlx5dv_create_mkey’
rdma-core-59.0/providers/mlx5/verbs.c:7100:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/verbs.c:7101:14: branch_false: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:7100:13: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/verbs.c:7112:16: branch_false: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:7112:16: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/verbs.c:7113:12: branch_false: following ‘false’ branch (when ‘mkey’ is non-NULL)...
rdma-core-59.0/providers/mlx5/verbs.c:7118:20: branch_false: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:7121:12: branch_true: following ‘true’ branch...
rdma-core-59.0/providers/mlx5/verbs.c:7122:29: branch_true: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:7122:29: call_function: calling ‘mlx5_create_sig_ctx’ from ‘_mlx5dv_create_mkey’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def924]
rdma-core-59.0/providers/mlx5/verbs.c:6975:23: warning[-Wanalyzer-malloc-leak]: leak of ‘sig’
rdma-core-59.0/providers/mlx5/verbs.c:7012:29: enter_function: entry to ‘mlx5_create_sig_ctx’
rdma-core-59.0/providers/mlx5/verbs.c:7018:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/verbs.c:7023:15: branch_false: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:7023:15: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/verbs.c:7024:12: branch_false: following ‘false’ branch (when ‘sig’ is non-NULL)...
rdma-core-59.0/providers/mlx5/verbs.c:7029:15: branch_false: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:7029:15: call_function: calling ‘mlx5_create_sig_psvs’ from ‘mlx5_create_sig_ctx’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def925]
rdma-core-59.0/providers/mlx5/verbs.c:6980:23: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
rdma-core-59.0/providers/mlx5/verbs.c:7086:1: enter_function: entry to ‘_mlx5dv_create_mkey’
rdma-core-59.0/providers/mlx5/verbs.c:7100:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/verbs.c:7101:14: branch_false: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:7100:13: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/verbs.c:7112:16: branch_false: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:7113:12: branch_false: following ‘false’ branch (when ‘mkey’ is non-NULL)...
rdma-core-59.0/providers/mlx5/verbs.c:7118:20: branch_false: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:7121:12: branch_true: following ‘true’ branch...
rdma-core-59.0/providers/mlx5/verbs.c:7122:29: branch_true: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:7122:29: call_function: calling ‘mlx5_create_sig_ctx’ from ‘_mlx5dv_create_mkey’
rdma-core-59.0/providers/mlx5/verbs.c:7122:29: return_function: returning to ‘_mlx5dv_create_mkey’ from ‘mlx5_create_sig_ctx’
rdma-core-59.0/providers/mlx5/verbs.c:7123:20: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/verbs.c:7129:23: branch_false: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:7132:12: branch_true: following ‘true’ branch...
rdma-core-59.0/providers/mlx5/verbs.c:7133:23: branch_true: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:7133:20: branch_true: following ‘true’ branch...
rdma-core-59.0/providers/mlx5/verbs.c:7136:25: branch_true: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:7194:12: branch_true: following ‘true’ branch...
rdma-core-59.0/providers/mlx5/verbs.c:7195:17: branch_true: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:7195:17: call_function: calling ‘mlx5_destroy_sig_ctx’ from ‘_mlx5dv_create_mkey’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def926]
rdma-core-59.0/providers/mlx5/verbs.c:6980:23: warning[-Wanalyzer-malloc-leak]: leak of ‘mkey’
rdma-core-59.0/providers/mlx5/verbs.c:7086:1: enter_function: entry to ‘_mlx5dv_create_mkey’
rdma-core-59.0/providers/mlx5/verbs.c:7100:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/verbs.c:7101:14: branch_false: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:7100:13: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/verbs.c:7112:16: branch_false: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:7112:16: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/verbs.c:7113:12: branch_false: following ‘false’ branch (when ‘mkey’ is non-NULL)...
rdma-core-59.0/providers/mlx5/verbs.c:7118:20: branch_false: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:7121:12: branch_true: following ‘true’ branch...
rdma-core-59.0/providers/mlx5/verbs.c:7122:29: branch_true: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:7122:29: call_function: calling ‘mlx5_create_sig_ctx’ from ‘_mlx5dv_create_mkey’
rdma-core-59.0/providers/mlx5/verbs.c:7122:29: return_function: returning to ‘_mlx5dv_create_mkey’ from ‘mlx5_create_sig_ctx’
rdma-core-59.0/providers/mlx5/verbs.c:7123:20: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/verbs.c:7129:23: branch_false: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:7132:12: branch_true: following ‘true’ branch...
rdma-core-59.0/providers/mlx5/verbs.c:7133:23: branch_true: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:7133:20: branch_true: following ‘true’ branch...
rdma-core-59.0/providers/mlx5/verbs.c:7136:25: branch_true: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:7194:12: branch_true: following ‘true’ branch...
rdma-core-59.0/providers/mlx5/verbs.c:7195:17: branch_true: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:7195:17: call_function: calling ‘mlx5_destroy_sig_ctx’ from ‘_mlx5dv_create_mkey’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def927]
rdma-core-59.0/providers/mlx5/verbs.c:6995:38: warning[-Wanalyzer-malloc-leak]: leak of ‘mkey’
rdma-core-59.0/providers/mlx5/verbs.c:7086:1: enter_function: entry to ‘_mlx5dv_create_mkey’
rdma-core-59.0/providers/mlx5/verbs.c:7100:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/verbs.c:7101:14: branch_false: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:7100:13: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/verbs.c:7112:16: branch_false: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:7112:16: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/verbs.c:7113:12: branch_false: following ‘false’ branch (when ‘mkey’ is non-NULL)...
rdma-core-59.0/providers/mlx5/verbs.c:7118:20: branch_false: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:7121:12: branch_true: following ‘true’ branch...
rdma-core-59.0/providers/mlx5/verbs.c:7122:29: branch_true: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:7122:29: call_function: calling ‘mlx5_create_sig_ctx’ from ‘_mlx5dv_create_mkey’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def928]
rdma-core-59.0/providers/mlx5/verbs.c:6995:38: warning[-Wanalyzer-malloc-leak]: leak of ‘sig’
rdma-core-59.0/providers/mlx5/verbs.c:7012:29: enter_function: entry to ‘mlx5_create_sig_ctx’
rdma-core-59.0/providers/mlx5/verbs.c:7018:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/verbs.c:7023:15: branch_false: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:7023:15: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/verbs.c:7024:12: branch_false: following ‘false’ branch (when ‘sig’ is non-NULL)...
rdma-core-59.0/providers/mlx5/verbs.c:7029:15: branch_false: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:7029:15: call_function: calling ‘mlx5_create_sig_psvs’ from ‘mlx5_create_sig_ctx’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def929]
rdma-core-59.0/providers/mlx5/verbs.c:6999:39: warning[-Wanalyzer-malloc-leak]: leak of ‘mkey’
rdma-core-59.0/providers/mlx5/verbs.c:7086:1: enter_function: entry to ‘_mlx5dv_create_mkey’
rdma-core-59.0/providers/mlx5/verbs.c:7100:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/verbs.c:7101:14: branch_false: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:7100:13: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/verbs.c:7112:16: branch_false: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:7112:16: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/verbs.c:7113:12: branch_false: following ‘false’ branch (when ‘mkey’ is non-NULL)...
rdma-core-59.0/providers/mlx5/verbs.c:7118:20: branch_false: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:7121:12: branch_true: following ‘true’ branch...
rdma-core-59.0/providers/mlx5/verbs.c:7122:29: branch_true: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:7122:29: call_function: calling ‘mlx5_create_sig_ctx’ from ‘_mlx5dv_create_mkey’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def930]
rdma-core-59.0/providers/mlx5/verbs.c:6999:39: warning[-Wanalyzer-malloc-leak]: leak of ‘sig’
rdma-core-59.0/providers/mlx5/verbs.c:7012:29: enter_function: entry to ‘mlx5_create_sig_ctx’
rdma-core-59.0/providers/mlx5/verbs.c:7018:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/verbs.c:7023:15: branch_false: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:7023:15: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/verbs.c:7024:12: branch_false: following ‘false’ branch (when ‘sig’ is non-NULL)...
rdma-core-59.0/providers/mlx5/verbs.c:7029:15: branch_false: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:7029:15: call_function: calling ‘mlx5_create_sig_psvs’ from ‘mlx5_create_sig_ctx’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def931]
rdma-core-59.0/providers/mlx5/verbs.c:7197:9: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
rdma-core-59.0/providers/mlx5/verbs.c:7086:1: enter_function: entry to ‘_mlx5dv_create_mkey’
rdma-core-59.0/providers/mlx5/verbs.c:7100:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/verbs.c:7101:14: branch_false: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:7100:13: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/verbs.c:7112:16: branch_false: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:7113:12: branch_false: following ‘false’ branch (when ‘mkey’ is non-NULL)...
rdma-core-59.0/providers/mlx5/verbs.c:7118:20: branch_false: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:7121:12: branch_true: following ‘true’ branch...
rdma-core-59.0/providers/mlx5/verbs.c:7122:29: branch_true: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:7122:29: call_function: calling ‘mlx5_create_sig_ctx’ from ‘_mlx5dv_create_mkey’
rdma-core-59.0/providers/mlx5/verbs.c:7122:29: return_function: returning to ‘_mlx5dv_create_mkey’ from ‘mlx5_create_sig_ctx’
rdma-core-59.0/providers/mlx5/verbs.c:7123:20: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/verbs.c:7129:23: branch_false: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:7132:12: branch_true: following ‘true’ branch...
rdma-core-59.0/providers/mlx5/verbs.c:7133:23: branch_true: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:7133:20: branch_true: following ‘true’ branch...
rdma-core-59.0/providers/mlx5/verbs.c:7136:25: branch_true: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:7194:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/verbs.c:7196:1: branch_false: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:7197:9: danger: ‘<unknown>’ leaks here; was allocated at [(14)](sarif:/runs/0/results/52/codeFlows/0/threadFlows/0/locations/13)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def932]
rdma-core-59.0/providers/mlx5/verbs.c:7408:25: warning[-Wanalyzer-malloc-leak]: leak of ‘crypto_login’
rdma-core-59.0/providers/mlx5/verbs.c:7568:1: enter_function: entry to ‘_mlx5dv_crypto_login_create’
rdma-core-59.0/providers/mlx5/verbs.c:7574:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/verbs.c:7579:24: branch_false: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:7579:24: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/verbs.c:7580:12: branch_false: following ‘false’ branch (when ‘crypto_login’ is non-NULL)...
rdma-core-59.0/providers/mlx5/verbs.c:7585:15: branch_false: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:7585:15: call_function: calling ‘crypto_login_create’ from ‘_mlx5dv_crypto_login_create’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def933]
rdma-core-59.0/providers/mlx5/verbs.c:7768:25: warning[-Wanalyzer-malloc-leak]: leak of ‘dek’
rdma-core-59.0/providers/mlx5/verbs.c:7692:1: enter_function: entry to ‘_mlx5dv_dek_create’
rdma-core-59.0/providers/mlx5/verbs.c:7703:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/verbs.c:7710:15: branch_false: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:7710:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/verbs.c:7715:13: branch_false: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:7715:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/verbs.c:7720:17: branch_false: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:7732:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/verbs.c:7738:9: branch_false: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:7739:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mlx5/verbs.c:7744:15: branch_false: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:7744:15: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/verbs.c:7745:12: branch_false: following ‘false’ branch (when ‘dek’ is non-NULL)...
rdma-core-59.0/providers/mlx5/verbs.c:7751:9: call_function: inlined call to ‘_devx_set’ from ‘_mlx5dv_dek_create’
rdma-core-59.0/providers/mlx5/verbs.c:7767:12: branch_true: following ‘true’ branch...
rdma-core-59.0/providers/mlx5/verbs.c:7768:25: branch_true: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:7768:25: danger: ‘dek’ leaks here; was allocated at [(12)](sarif:/runs/0/results/54/codeFlows/0/threadFlows/0/locations/11)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def934]
rdma-core-59.0/providers/mlx5/verbs.c:7898:15: warning[-Wanalyzer-malloc-leak]: leak of ‘obj’
rdma-core-59.0/providers/mlx5/verbs.c:7868:1: enter_function: entry to ‘_mlx5dv_alloc_var’
rdma-core-59.0/providers/mlx5/verbs.c:7879:12: branch_false: following ‘false’ branch (when ‘flags == 0’)...
rdma-core-59.0/providers/mlx5/verbs.c:7884:15: branch_false: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:7884:15: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/verbs.c:7885:12: branch_false: following ‘false’ branch (when ‘obj’ is non-NULL)...
rdma-core-59.0/providers/mlx5/verbs.c:7890:18: call_function: inlined call to ‘fill_attr_out_obj’ from ‘_mlx5dv_alloc_var’
rdma-core-59.0/providers/mlx5/verbs.c:7898:15: danger: ‘obj’ leaks here; was allocated at [(4)](sarif:/runs/0/results/55/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def935]
rdma-core-59.0/providers/mlx5/verbs.c:7987:15: warning[-Wanalyzer-malloc-leak]: leak of ‘obj’
rdma-core-59.0/providers/mlx5/verbs.c:7954:26: enter_function: entry to ‘_mlx5dv_pp_alloc’
rdma-core-59.0/providers/mlx5/verbs.c:7968:12: branch_false: following ‘false’ branch (when ‘flags <= 1’)...
rdma-core-59.0/providers/mlx5/verbs.c:7974:15: branch_false: ...to here
rdma-core-59.0/providers/mlx5/verbs.c:7974:15: acquire_memory: allocated here
rdma-core-59.0/providers/mlx5/verbs.c:7975:12: branch_false: following ‘false’ branch (when ‘obj’ is non-NULL)...
rdma-core-59.0/providers/mlx5/verbs.c:7980:18: call_function: inlined call to ‘fill_attr_out_obj’ from ‘_mlx5dv_pp_alloc’
rdma-core-59.0/providers/mlx5/verbs.c:7981:9: call_function: calling ‘fill_attr_in’ from ‘_mlx5dv_pp_alloc’
rdma-core-59.0/providers/mlx5/verbs.c:7981:9: return_function: returning to ‘_mlx5dv_pp_alloc’ from ‘fill_attr_in’
rdma-core-59.0/providers/mlx5/verbs.c:7987:15: danger: ‘obj’ leaks here; was allocated at [(4)](sarif:/runs/0/results/56/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def936]
rdma-core-59.0/providers/mthca/ah.c:59:13: warning[-Wanalyzer-malloc-leak]: leak of ‘page’
rdma-core-59.0/providers/mthca/ah.c:55:16: acquire_memory: allocated here
rdma-core-59.0/providers/mthca/ah.c:56:12: branch_false: following ‘false’ branch (when ‘page’ is non-NULL)...
rdma-core-59.0/providers/mthca/ah.c:59:13: branch_false: ...to here
rdma-core-59.0/providers/mthca/ah.c:59:13: danger: ‘page’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def937]
rdma-core-59.0/providers/mthca/mthca.c:232:16: warning[-Wanalyzer-malloc-leak]: leak of ‘dev’
rdma-core-59.0/providers/mthca/mthca.c:225:15: acquire_memory: allocated here
rdma-core-59.0/providers/mthca/mthca.c:226:12: branch_false: following ‘false’ branch (when ‘dev’ is non-NULL)...
rdma-core-59.0/providers/mthca/mthca.c:229:39: branch_false: ...to here
rdma-core-59.0/providers/mthca/mthca.c:232:16: danger: ‘dev’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def938]
rdma-core-59.0/providers/mthca/verbs.c:143:15: warning[-Wanalyzer-malloc-leak]: leak of ‘vmr’
rdma-core-59.0/providers/mthca/verbs.c:139:15: acquire_memory: allocated here
rdma-core-59.0/providers/mthca/verbs.c:140:12: branch_false: following ‘false’ branch (when ‘vmr’ is non-NULL)...
rdma-core-59.0/providers/mthca/verbs.c:143:15: branch_false: ...to here
rdma-core-59.0/providers/mthca/verbs.c:143:15: danger: ‘vmr’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def939]
rdma-core-59.0/providers/mthca/verbs.c:517:13: warning[-Wanalyzer-malloc-leak]: leak of ‘qp’
rdma-core-59.0/providers/mthca/verbs.c:495:16: enter_function: entry to ‘mthca_create_qp’
rdma-core-59.0/providers/mthca/verbs.c:503:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mthca/verbs.c:504:13: branch_false: ...to here
rdma-core-59.0/providers/mthca/verbs.c:503:13: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mthca/verbs.c:505:13: branch_false: ...to here
rdma-core-59.0/providers/mthca/verbs.c:503:13: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mthca/verbs.c:506:13: branch_false: ...to here
rdma-core-59.0/providers/mthca/verbs.c:503:13: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mthca/verbs.c:507:13: branch_false: ...to here
rdma-core-59.0/providers/mthca/verbs.c:503:13: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/mthca/verbs.c:510:14: branch_false: ...to here
rdma-core-59.0/providers/mthca/verbs.c:510:14: acquire_memory: allocated here
rdma-core-59.0/providers/mthca/verbs.c:511:12: branch_false: following ‘false’ branch (when ‘qp’ is non-NULL)...
rdma-core-59.0/providers/mthca/verbs.c:514:22: branch_false: ...to here
rdma-core-59.0/providers/mthca/verbs.c:514:22: call_function: inlined call to ‘align_queue_size’ from ‘mthca_create_qp’
rdma-core-59.0/providers/mthca/verbs.c:514:9: branch_true: ...to here
rdma-core-59.0/providers/mthca/verbs.c:515:22: call_function: inlined call to ‘align_queue_size’ from ‘mthca_create_qp’
branch_false: ...to here
rdma-core-59.0/providers/mthca/verbs.c:515:22: call_function: inlined call to ‘align_queue_size’ from ‘mthca_create_qp’
rdma-core-59.0/providers/mthca/verbs.c:515:22: call_function: inlined call to ‘align_queue_size’ from ‘mthca_create_qp’
rdma-core-59.0/providers/mthca/verbs.c:517:13: danger: ‘qp’ leaks here; was allocated at [(12)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/11)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def940]
rdma-core-59.0/providers/mthca/verbs.c:722:13: warning[-Wanalyzer-malloc-leak]: leak of ‘ah’
rdma-core-59.0/providers/mthca/verbs.c:718:14: acquire_memory: allocated here
rdma-core-59.0/providers/mthca/verbs.c:719:12: branch_false: following ‘false’ branch (when ‘ah’ is non-NULL)...
rdma-core-59.0/providers/mthca/verbs.c:722:13: branch_false: ...to here
rdma-core-59.0/providers/mthca/verbs.c:722:13: danger: ‘ah’ leaks here; was allocated at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def941]
rdma-core-59.0/providers/ocrdma/ocrdma_verbs.c:2115:18: warning[-Wanalyzer-malloc-leak]: leak of ‘ah’
rdma-core-59.0/providers/ocrdma/ocrdma_verbs.c:2095:16: enter_function: entry to ‘ocrdma_create_ah’
rdma-core-59.0/providers/ocrdma/ocrdma_verbs.c:2104:14: acquire_memory: allocated here
rdma-core-59.0/providers/ocrdma/ocrdma_verbs.c:2105:12: branch_false: following ‘false’ branch (when ‘ah’ is non-NULL)...
rdma-core-59.0/providers/ocrdma/ocrdma_verbs.c:2107:9: branch_false: ...to here
rdma-core-59.0/providers/ocrdma/ocrdma_verbs.c:2110:21: call_function: calling ‘ocrdma_alloc_ah_tbl_id’ from ‘ocrdma_create_ah’
rdma-core-59.0/providers/ocrdma/ocrdma_verbs.c:2110:21: return_function: returning to ‘ocrdma_create_ah’ from ‘ocrdma_alloc_ah_tbl_id’
rdma-core-59.0/providers/ocrdma/ocrdma_verbs.c:2111:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/ocrdma/ocrdma_verbs.c:2113:9: branch_false: ...to here
rdma-core-59.0/providers/ocrdma/ocrdma_verbs.c:2115:18: danger: ‘ah’ leaks here; was allocated at [(2)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def942]
rdma-core-59.0/providers/qedr/qelr_main.c:242:16: warning[-Wanalyzer-malloc-leak]: leak of ‘dev’
rdma-core-59.0/providers/qedr/qelr_main.c:238:15: acquire_memory: allocated here
rdma-core-59.0/providers/qedr/qelr_main.c:239:12: branch_false: following ‘false’ branch (when ‘dev’ is non-NULL)...
rdma-core-59.0/providers/qedr/qelr_main.c:242:16: branch_false: ...to here
rdma-core-59.0/providers/qedr/qelr_main.c:242:16: danger: ‘dev’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def943]
rdma-core-59.0/providers/qedr/qelr_verbs.c:370:9: warning[-Wanalyzer-malloc-leak]: leak of ‘srq’
rdma-core-59.0/providers/qedr/qelr_verbs.c:2635:1: enter_function: entry to ‘qelr_create_xrc_srq’
rdma-core-59.0/providers/qedr/qelr_verbs.c:2645:15: acquire_memory: allocated here
rdma-core-59.0/providers/qedr/qelr_verbs.c:2646:12: branch_false: following ‘false’ branch (when ‘srq’ is non-NULL)...
rdma-core-59.0/providers/qedr/qelr_verbs.c:2648:9: branch_false: ...to here
rdma-core-59.0/providers/qedr/qelr_verbs.c:2650:14: call_function: calling ‘qelr_create_srq_buffers’ from ‘qelr_create_xrc_srq’
rdma-core-59.0/providers/qedr/qelr_verbs.c:2650:14: return_function: returning to ‘qelr_create_xrc_srq’ from ‘qelr_create_srq_buffers’
rdma-core-59.0/providers/qedr/qelr_verbs.c:2651:12: branch_true: following ‘true’ branch...
rdma-core-59.0/providers/qedr/qelr_verbs.c:2652:17: branch_true: ...to here
rdma-core-59.0/providers/qedr/qelr_verbs.c:2680:9: call_function: calling ‘qelr_destroy_srq_buffers’ from ‘qelr_create_xrc_srq’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def944]
rdma-core-59.0/providers/qedr/qelr_verbs.c:430:14: warning[-Wanalyzer-malloc-leak]: leak of ‘srq’
rdma-core-59.0/providers/qedr/qelr_verbs.c:2697:17: enter_function: entry to ‘qelr_create_srq_ex’
rdma-core-59.0/providers/qedr/qelr_verbs.c:2702:12: branch_true: following ‘true’ branch...
rdma-core-59.0/providers/qedr/qelr_verbs.c:2703:24: branch_true: ...to here
rdma-core-59.0/providers/qedr/qelr_verbs.c:2703:24: call_function: calling ‘qelr_create_srq’ from ‘qelr_create_srq_ex’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def945]
rdma-core-59.0/providers/qedr/qelr_verbs.c:544:14: warning[-Wanalyzer-malloc-leak]: leak of ‘qp’
rdma-core-59.0/providers/qedr/qelr_verbs.c:2715:23: enter_function: entry to ‘create_qp’
rdma-core-59.0/providers/qedr/qelr_verbs.c:2730:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/qedr/qelr_verbs.c:2735:14: branch_false: ...to here
rdma-core-59.0/providers/qedr/qelr_verbs.c:2735:14: acquire_memory: allocated here
rdma-core-59.0/providers/qedr/qelr_verbs.c:2736:12: branch_false: following ‘false’ branch (when ‘qp’ is non-NULL)...
rdma-core-59.0/providers/qedr/qelr_verbs.c:2739:9: branch_false: ...to here
rdma-core-59.0/providers/qedr/qelr_verbs.c:2739:9: call_function: calling ‘qelr_basic_qp_config’ from ‘create_qp’
rdma-core-59.0/providers/qedr/qelr_verbs.c:2739:9: return_function: returning to ‘create_qp’ from ‘qelr_basic_qp_config’
rdma-core-59.0/providers/qedr/qelr_verbs.c:2741:14: call_function: calling ‘qelr_create_qp_buffers’ from ‘create_qp’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def946]
rdma-core-59.0/providers/qedr/qelr_verbs.c:2481:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
rdma-core-59.0/providers/qedr/qelr_verbs.c:2460:5: enter_function: entry to ‘qelr_poll_cq’
rdma-core-59.0/providers/qedr/qelr_verbs.c:2471:16: branch_true: following ‘true’ branch (when ‘num_entries != 0’)...
rdma-core-59.0/providers/qedr/qelr_verbs.c:2471:31: call_function: inlined call to ‘is_valid_cqe’ from ‘qelr_poll_cq’
rdma-core-59.0/providers/qedr/qelr_verbs.c:2471:16: branch_true: following ‘true’ branch...
rdma-core-59.0/providers/qedr/qelr_verbs.c:2476:17: branch_true: ...to here
rdma-core-59.0/providers/qedr/qelr_verbs.c:2479:20: branch_true: following ‘true’ branch...
rdma-core-59.0/providers/qedr/qelr_verbs.c:2480:21: call_function: inlined call to ‘cqe_get_type’ from ‘qelr_poll_cq’
rdma-core-59.0/providers/qedr/qelr_verbs.c:2479:21: branch_true: following ‘true’ branch...
rdma-core-59.0/providers/qedr/qelr_verbs.c:2481:25: branch_true: ...to here
rdma-core-59.0/providers/qedr/qelr_verbs.c:2481:25: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def947]
rdma-core-59.0/providers/qedr/qelr_verbs.c:2608:14: warning[-Wanalyzer-malloc-leak]: leak of ‘xrcd’
rdma-core-59.0/providers/qedr/qelr_verbs.c:2604:16: acquire_memory: allocated here
rdma-core-59.0/providers/qedr/qelr_verbs.c:2605:12: branch_false: following ‘false’ branch (when ‘xrcd’ is non-NULL)...
rdma-core-59.0/providers/qedr/qelr_verbs.c:2608:14: branch_false: ...to here
rdma-core-59.0/providers/qedr/qelr_verbs.c:2608:14: danger: ‘xrcd’ leaks here; was allocated at [(1)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def948]
rdma-core-59.0/providers/rxe/rxe.c:112:13: warning[-Wanalyzer-malloc-leak]: leak of ‘pd’
rdma-core-59.0/providers/rxe/rxe.c:108:14: acquire_memory: allocated here
rdma-core-59.0/providers/rxe/rxe.c:109:12: branch_false: following ‘false’ branch (when ‘pd’ is non-NULL)...
rdma-core-59.0/providers/rxe/rxe.c:112:13: branch_false: ...to here
rdma-core-59.0/providers/rxe/rxe.c:112:13: danger: ‘pd’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def949]
rdma-core-59.0/providers/rxe/rxe.c:143:15: warning[-Wanalyzer-malloc-leak]: leak of ‘ibmw’
rdma-core-59.0/providers/rxe/rxe.c:139:16: acquire_memory: allocated here
rdma-core-59.0/providers/rxe/rxe.c:140:12: branch_false: following ‘false’ branch (when ‘ibmw’ is non-NULL)...
rdma-core-59.0/providers/rxe/rxe.c:143:15: branch_false: ...to here
rdma-core-59.0/providers/rxe/rxe.c:143:15: danger: ‘ibmw’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def950]
rdma-core-59.0/providers/rxe/rxe.c:216:15: warning[-Wanalyzer-malloc-leak]: leak of ‘vmr’
rdma-core-59.0/providers/rxe/rxe.c:212:15: acquire_memory: allocated here
rdma-core-59.0/providers/rxe/rxe.c:213:12: branch_false: following ‘false’ branch (when ‘vmr’ is non-NULL)...
rdma-core-59.0/providers/rxe/rxe.c:216:15: branch_false: ...to here
rdma-core-59.0/providers/rxe/rxe.c:216:15: danger: ‘vmr’ leaks here; was allocated at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def951]
rdma-core-59.0/providers/rxe/rxe.c:374:15: warning[-Wanalyzer-malloc-leak]: leak of ‘cq’
rdma-core-59.0/providers/rxe/rxe.c:370:14: acquire_memory: allocated here
rdma-core-59.0/providers/rxe/rxe.c:371:12: branch_false: following ‘false’ branch (when ‘cq’ is non-NULL)...
rdma-core-59.0/providers/rxe/rxe.c:374:15: branch_false: ...to here
rdma-core-59.0/providers/rxe/rxe.c:374:15: danger: ‘cq’ leaks here; was allocated at [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def952]
rdma-core-59.0/providers/rxe/rxe.c:432:15: warning[-Wanalyzer-malloc-leak]: leak of ‘cq’
rdma-core-59.0/providers/rxe/rxe.c:423:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/rxe/rxe.c:428:14: branch_false: ...to here
rdma-core-59.0/providers/rxe/rxe.c:428:14: acquire_memory: allocated here
rdma-core-59.0/providers/rxe/rxe.c:429:12: branch_false: following ‘false’ branch (when ‘cq’ is non-NULL)...
rdma-core-59.0/providers/rxe/rxe.c:432:15: branch_false: ...to here
rdma-core-59.0/providers/rxe/rxe.c:432:15: danger: ‘cq’ leaks here; was allocated at [(3)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def953]
rdma-core-59.0/providers/rxe/rxe.c:589:15: warning[-Wanalyzer-malloc-leak]: leak of ‘srq’
rdma-core-59.0/providers/rxe/rxe.c:583:15: acquire_memory: allocated here
rdma-core-59.0/providers/rxe/rxe.c:584:12: branch_false: following ‘false’ branch (when ‘srq’ is non-NULL)...
rdma-core-59.0/providers/rxe/rxe.c:587:9: branch_false: ...to here
rdma-core-59.0/providers/rxe/rxe.c:589:15: danger: ‘srq’ leaks here; was allocated at [(1)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def954]
rdma-core-59.0/providers/rxe/rxe.c:628:15: warning[-Wanalyzer-malloc-leak]: leak of ‘srq’
rdma-core-59.0/providers/rxe/rxe.c:622:15: acquire_memory: allocated here
rdma-core-59.0/providers/rxe/rxe.c:623:12: branch_false: following ‘false’ branch (when ‘srq’ is non-NULL)...
rdma-core-59.0/providers/rxe/rxe.c:626:9: branch_false: ...to here
rdma-core-59.0/providers/rxe/rxe.c:628:15: danger: ‘srq’ leaks here; was allocated at [(1)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def955]
rdma-core-59.0/providers/rxe/rxe.c:1246:15: warning[-Wanalyzer-malloc-leak]: leak of ‘qp’
rdma-core-59.0/providers/rxe/rxe.c:1242:14: acquire_memory: allocated here
rdma-core-59.0/providers/rxe/rxe.c:1243:12: branch_false: following ‘false’ branch (when ‘qp’ is non-NULL)...
rdma-core-59.0/providers/rxe/rxe.c:1246:15: branch_false: ...to here
rdma-core-59.0/providers/rxe/rxe.c:1246:15: danger: ‘qp’ leaks here; was allocated at [(1)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def956]
rdma-core-59.0/providers/rxe/rxe.c:1396:15: warning[-Wanalyzer-malloc-leak]: leak of ‘qp’
rdma-core-59.0/providers/rxe/rxe.c:1386:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/rxe/rxe.c:1389:14: branch_false: ...to here
rdma-core-59.0/providers/rxe/rxe.c:1389:14: acquire_memory: allocated here
rdma-core-59.0/providers/rxe/rxe.c:1390:12: branch_false: following ‘false’ branch (when ‘qp’ is non-NULL)...
rdma-core-59.0/providers/rxe/rxe.c:1393:13: branch_false: ...to here
rdma-core-59.0/providers/rxe/rxe.c:1393:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/rxe/rxe.c:1396:15: branch_false: ...to here
rdma-core-59.0/providers/rxe/rxe.c:1396:15: danger: ‘qp’ leaks here; was allocated at [(3)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def957]
rdma-core-59.0/providers/rxe/rxe.c:1789:15: warning[-Wanalyzer-malloc-leak]: leak of ‘ah’
rdma-core-59.0/providers/rxe/rxe.c:1785:14: acquire_memory: allocated here
rdma-core-59.0/providers/rxe/rxe.c:1786:12: branch_false: following ‘false’ branch (when ‘ah’ is non-NULL)...
rdma-core-59.0/providers/rxe/rxe.c:1789:15: branch_false: ...to here
rdma-core-59.0/providers/rxe/rxe.c:1789:15: danger: ‘ah’ leaks here; was allocated at [(1)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def958]
rdma-core-59.0/providers/rxe/rxe.c:1911:16: warning[-Wanalyzer-malloc-leak]: leak of ‘dev’
rdma-core-59.0/providers/rxe/rxe.c:1905:15: acquire_memory: allocated here
rdma-core-59.0/providers/rxe/rxe.c:1906:12: branch_false: following ‘false’ branch (when ‘dev’ is non-NULL)...
rdma-core-59.0/providers/rxe/rxe.c:1909:28: branch_false: ...to here
rdma-core-59.0/providers/rxe/rxe.c:1911:16: danger: ‘dev’ leaks here; was allocated at [(1)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def959]
rdma-core-59.0/providers/siw/siw.c:81:13: warning[-Wanalyzer-malloc-leak]: leak of ‘pd’
rdma-core-59.0/providers/siw/siw.c:77:14: acquire_memory: allocated here
rdma-core-59.0/providers/siw/siw.c:78:12: branch_false: following ‘false’ branch (when ‘pd’ is non-NULL)...
rdma-core-59.0/providers/siw/siw.c:81:13: branch_false: ...to here
rdma-core-59.0/providers/siw/siw.c:81:13: danger: ‘pd’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def960]
rdma-core-59.0/providers/siw/siw.c:112:14: warning[-Wanalyzer-malloc-leak]: leak of ‘mr’
rdma-core-59.0/providers/siw/siw.c:108:14: acquire_memory: allocated here
rdma-core-59.0/providers/siw/siw.c:109:12: branch_false: following ‘false’ branch (when ‘mr’ is non-NULL)...
rdma-core-59.0/providers/siw/siw.c:112:14: branch_false: ...to here
rdma-core-59.0/providers/siw/siw.c:112:14: danger: ‘mr’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def961]
rdma-core-59.0/providers/siw/siw.c:148:14: warning[-Wanalyzer-malloc-leak]: leak of ‘cq’
rdma-core-59.0/providers/siw/siw.c:144:14: acquire_memory: allocated here
rdma-core-59.0/providers/siw/siw.c:145:12: branch_false: following ‘false’ branch (when ‘cq’ is non-NULL)...
rdma-core-59.0/providers/siw/siw.c:148:14: branch_false: ...to here
rdma-core-59.0/providers/siw/siw.c:148:14: danger: ‘cq’ leaks here; was allocated at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def962]
rdma-core-59.0/providers/siw/siw.c:224:14: warning[-Wanalyzer-malloc-leak]: leak of ‘srq’
rdma-core-59.0/providers/siw/siw.c:220:15: acquire_memory: allocated here
rdma-core-59.0/providers/siw/siw.c:221:12: branch_false: following ‘false’ branch (when ‘srq’ is non-NULL)...
rdma-core-59.0/providers/siw/siw.c:224:14: branch_false: ...to here
rdma-core-59.0/providers/siw/siw.c:224:14: danger: ‘srq’ leaks here; was allocated at [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def963]
rdma-core-59.0/providers/siw/siw.c:309:14: warning[-Wanalyzer-malloc-leak]: leak of ‘qp’
rdma-core-59.0/providers/siw/siw.c:305:14: acquire_memory: allocated here
rdma-core-59.0/providers/siw/siw.c:306:12: branch_false: following ‘false’ branch (when ‘qp’ is non-NULL)...
rdma-core-59.0/providers/siw/siw.c:309:14: branch_false: ...to here
rdma-core-59.0/providers/siw/siw.c:309:14: danger: ‘qp’ leaks here; was allocated at [(1)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def964]
rdma-core-59.0/providers/siw/siw.c:887:16: warning[-Wanalyzer-malloc-leak]: leak of ‘dev’
rdma-core-59.0/providers/siw/siw.c:883:15: acquire_memory: allocated here
rdma-core-59.0/providers/siw/siw.c:884:12: branch_false: following ‘false’ branch (when ‘dev’ is non-NULL)...
rdma-core-59.0/providers/siw/siw.c:887:16: branch_false: ...to here
rdma-core-59.0/providers/siw/siw.c:887:16: danger: ‘dev’ leaks here; was allocated at [(1)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def965]
rdma-core-59.0/providers/vmw_pvrdma/pvrdma_main.c:196:16: warning[-Wanalyzer-malloc-leak]: leak of ‘dev’
rdma-core-59.0/providers/vmw_pvrdma/pvrdma_main.c:189:15: acquire_memory: allocated here
rdma-core-59.0/providers/vmw_pvrdma/pvrdma_main.c:190:12: branch_false: following ‘false’ branch (when ‘dev’ is non-NULL)...
rdma-core-59.0/providers/vmw_pvrdma/pvrdma_main.c:193:28: branch_false: ...to here
rdma-core-59.0/providers/vmw_pvrdma/pvrdma_main.c:196:16: danger: ‘dev’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def966]
rdma-core-59.0/providers/vmw_pvrdma/qp.c:62:13: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
rdma-core-59.0/providers/vmw_pvrdma/qp.c:209:16: enter_function: entry to ‘pvrdma_create_qp’
rdma-core-59.0/providers/vmw_pvrdma/qp.c:232:12: branch_false: following ‘false’ branch (when ‘qp’ is non-NULL)...
rdma-core-59.0/providers/vmw_pvrdma/qp.c:235:9: branch_false: ...to here
rdma-core-59.0/providers/vmw_pvrdma/qp.c:260:13: call_function: calling ‘pvrdma_alloc_qp_buf’ from ‘pvrdma_create_qp’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def967]
rdma-core-59.0/providers/vmw_pvrdma/qp.c:62:13: warning[-Wanalyzer-malloc-leak]: leak of ‘qp’
rdma-core-59.0/providers/vmw_pvrdma/qp.c:209:16: enter_function: entry to ‘pvrdma_create_qp’
rdma-core-59.0/providers/vmw_pvrdma/qp.c:231:14: acquire_memory: allocated here
rdma-core-59.0/providers/vmw_pvrdma/qp.c:232:12: branch_false: following ‘false’ branch (when ‘qp’ is non-NULL)...
rdma-core-59.0/providers/vmw_pvrdma/qp.c:235:9: branch_false: ...to here
rdma-core-59.0/providers/vmw_pvrdma/qp.c:260:13: call_function: calling ‘pvrdma_alloc_qp_buf’ from ‘pvrdma_create_qp’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def968]
rdma-core-59.0/providers/vmw_pvrdma/verbs.c:93:13: warning[-Wanalyzer-malloc-leak]: leak of ‘pd’
rdma-core-59.0/providers/vmw_pvrdma/verbs.c:89:14: acquire_memory: allocated here
rdma-core-59.0/providers/vmw_pvrdma/verbs.c:90:12: branch_false: following ‘false’ branch (when ‘pd’ is non-NULL)...
rdma-core-59.0/providers/vmw_pvrdma/verbs.c:93:13: branch_false: ...to here
rdma-core-59.0/providers/vmw_pvrdma/verbs.c:93:13: danger: ‘pd’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def969]
rdma-core-59.0/providers/vmw_pvrdma/verbs.c:129:15: warning[-Wanalyzer-malloc-leak]: leak of ‘vmr’
rdma-core-59.0/providers/vmw_pvrdma/verbs.c:125:15: acquire_memory: allocated here
rdma-core-59.0/providers/vmw_pvrdma/verbs.c:126:12: branch_false: following ‘false’ branch (when ‘vmr’ is non-NULL)...
rdma-core-59.0/providers/vmw_pvrdma/verbs.c:129:15: branch_false: ...to here
rdma-core-59.0/providers/vmw_pvrdma/verbs.c:129:15: danger: ‘vmr’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def970]
rdma-core-59.0/providers/vmw_pvrdma/verbs.c:227:22: warning[-Wanalyzer-malloc-leak]: leak of ‘ah’
rdma-core-59.0/providers/vmw_pvrdma/verbs.c:196:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/vmw_pvrdma/verbs.c:199:13: branch_false: ...to here
rdma-core-59.0/providers/vmw_pvrdma/verbs.c:199:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/vmw_pvrdma/verbs.c:202:13: branch_false: ...to here
rdma-core-59.0/providers/vmw_pvrdma/verbs.c:202:12: branch_false: following ‘false’ branch...
rdma-core-59.0/providers/vmw_pvrdma/verbs.c:206:12: branch_false: ...to here
rdma-core-59.0/providers/vmw_pvrdma/verbs.c:212:14: acquire_memory: allocated here
rdma-core-59.0/providers/vmw_pvrdma/verbs.c:213:12: branch_false: following ‘false’ branch (when ‘ah’ is non-NULL)...
rdma-core-59.0/providers/vmw_pvrdma/verbs.c:217:23: branch_false: ...to here
rdma-core-59.0/providers/vmw_pvrdma/verbs.c:226:12: branch_true: following ‘true’ branch...
rdma-core-59.0/providers/vmw_pvrdma/verbs.c:228:50: branch_true: ...to here
rdma-core-59.0/providers/vmw_pvrdma/verbs.c:227:22: danger: ‘ah’ leaks here; was allocated at [(7)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def971]
rdma-core-59.0/pyverbs/dmabuf_alloc.c:111:19: warning[-Wanalyzer-malloc-leak]: leak of ‘dmabuf’
rdma-core-59.0/pyverbs/dmabuf_alloc.c:209:16: enter_function: entry to ‘dmabuf_alloc’
rdma-core-59.0/pyverbs/dmabuf_alloc.c:214:18: acquire_memory: allocated here
rdma-core-59.0/pyverbs/dmabuf_alloc.c:215:12: branch_false: following ‘false’ branch (when ‘dmabuf’ is non-NULL)...
rdma-core-59.0/pyverbs/dmabuf_alloc.c:218:23: branch_false: ...to here
rdma-core-59.0/pyverbs/dmabuf_alloc.c:218:23: call_function: calling ‘drm_open’ from ‘dmabuf_alloc’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def972]
rdma-core-59.0/pyverbs/dmabuf_alloc.c:111:19: warning[-Wanalyzer-malloc-leak]: leak of ‘drm’
rdma-core-59.0/pyverbs/dmabuf_alloc.c:105:15: acquire_memory: allocated here
rdma-core-59.0/pyverbs/dmabuf_alloc.c:106:12: branch_false: following ‘false’ branch (when ‘drm’ is non-NULL)...
rdma-core-59.0/pyverbs/dmabuf_alloc.c:109:9: branch_false: ...to here
rdma-core-59.0/pyverbs/dmabuf_alloc.c:111:19: danger: ‘drm’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def973]
rdma-core-59.0/pyverbs/dmabuf_alloc.c:134:9: warning[-Wanalyzer-malloc-leak]: leak of ‘dmabuf’
rdma-core-59.0/pyverbs/dmabuf_alloc.c:209:16: enter_function: entry to ‘dmabuf_alloc’
rdma-core-59.0/pyverbs/dmabuf_alloc.c:214:18: acquire_memory: allocated here
rdma-core-59.0/pyverbs/dmabuf_alloc.c:215:12: branch_false: following ‘false’ branch (when ‘dmabuf’ is non-NULL)...
rdma-core-59.0/pyverbs/dmabuf_alloc.c:218:23: branch_false: ...to here
rdma-core-59.0/pyverbs/dmabuf_alloc.c:218:23: call_function: calling ‘drm_open’ from ‘dmabuf_alloc’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def974]
rdma-core-59.0/pyverbs/dmabuf_alloc.c:134:9: warning[-Wanalyzer-malloc-leak]: leak of ‘drm’
rdma-core-59.0/pyverbs/dmabuf_alloc.c:105:15: acquire_memory: allocated here
rdma-core-59.0/pyverbs/dmabuf_alloc.c:106:12: branch_false: following ‘false’ branch (when ‘drm’ is non-NULL)...
rdma-core-59.0/pyverbs/dmabuf_alloc.c:109:9: branch_false: ...to here
rdma-core-59.0/pyverbs/dmabuf_alloc.c:112:12: branch_false: following ‘false’ branch...
rdma-core-59.0/pyverbs/dmabuf_alloc.c:115:9: branch_false: ...to here
rdma-core-59.0/pyverbs/dmabuf_alloc.c:134:9: danger: ‘drm’ leaks here; was allocated at [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def975]
rdma-core-59.0/pyverbs/dmabuf_alloc.c:167:15: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
rdma-core-59.0/pyverbs/dmabuf_alloc.c:209:16: enter_function: entry to ‘dmabuf_alloc’
rdma-core-59.0/pyverbs/dmabuf_alloc.c:215:12: branch_false: following ‘false’ branch (when ‘dmabuf’ is non-NULL)...
rdma-core-59.0/pyverbs/dmabuf_alloc.c:218:23: branch_false: ...to here
rdma-core-59.0/pyverbs/dmabuf_alloc.c:218:23: call_function: calling ‘drm_open’ from ‘dmabuf_alloc’
rdma-core-59.0/pyverbs/dmabuf_alloc.c:218:23: return_function: returning to ‘dmabuf_alloc’ from ‘drm_open’
rdma-core-59.0/pyverbs/dmabuf_alloc.c:219:12: branch_false: following ‘false’ branch...
rdma-core-59.0/pyverbs/dmabuf_alloc.c:222:15: branch_false: ...to here
rdma-core-59.0/pyverbs/dmabuf_alloc.c:222:15: call_function: calling ‘drm_alloc_buf’ from ‘dmabuf_alloc’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def976]
rdma-core-59.0/pyverbs/dmabuf_alloc.c:167:15: warning[-Wanalyzer-malloc-leak]: leak of ‘dmabuf’
rdma-core-59.0/pyverbs/dmabuf_alloc.c:209:16: enter_function: entry to ‘dmabuf_alloc’
rdma-core-59.0/pyverbs/dmabuf_alloc.c:214:18: acquire_memory: allocated here
rdma-core-59.0/pyverbs/dmabuf_alloc.c:215:12: branch_false: following ‘false’ branch (when ‘dmabuf’ is non-NULL)...
rdma-core-59.0/pyverbs/dmabuf_alloc.c:218:23: branch_false: ...to here
rdma-core-59.0/pyverbs/dmabuf_alloc.c:218:23: call_function: calling ‘drm_open’ from ‘dmabuf_alloc’
rdma-core-59.0/pyverbs/dmabuf_alloc.c:218:23: return_function: returning to ‘dmabuf_alloc’ from ‘drm_open’
rdma-core-59.0/pyverbs/dmabuf_alloc.c:219:12: branch_false: following ‘false’ branch...
rdma-core-59.0/pyverbs/dmabuf_alloc.c:222:15: branch_false: ...to here
rdma-core-59.0/pyverbs/dmabuf_alloc.c:222:15: call_function: calling ‘drm_alloc_buf’ from ‘dmabuf_alloc’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def977]
rdma-core-59.0/rdma-ndd/rdma-ndd.c:87:9: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(&nd_file, "r+")’
rdma-core-59.0/rdma-ndd/rdma-ndd.c:240:13: enter_function: entry to ‘monitor’
rdma-core-59.0/rdma-ndd/rdma-ndd.c:249:12: branch_false: following ‘false’ branch...
rdma-core-59.0/rdma-ndd/rdma-ndd.c:255:9: branch_false: ...to here
rdma-core-59.0/rdma-ndd/rdma-ndd.c:270:9: call_function: calling ‘set_rdma_node_desc’ from ‘monitor’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def978]
rdma-core-59.0/rdma-ndd/rdma-ndd.c:87:9: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(&nd_file, "r+")’
rdma-core-59.0/rdma-ndd/rdma-ndd.c:240:13: enter_function: entry to ‘monitor’
rdma-core-59.0/rdma-ndd/rdma-ndd.c:249:12: branch_false: following ‘false’ branch...
rdma-core-59.0/rdma-ndd/rdma-ndd.c:255:9: branch_false: ...to here
rdma-core-59.0/rdma-ndd/rdma-ndd.c:270:9: call_function: calling ‘set_rdma_node_desc’ from ‘monitor’
Error: GCC_ANALYZER_WARNING (CWE-404): [#def979]
rdma-core-59.0/rdma-ndd/rdma-ndd.c:87:9: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
rdma-core-59.0/rdma-ndd/rdma-ndd.c:217:13: enter_function: entry to ‘process_udev_event’
rdma-core-59.0/rdma-ndd/rdma-ndd.c:222:12: branch_true: following ‘true’ branch...
rdma-core-59.0/rdma-ndd/rdma-ndd.c:223:38: branch_true: ...to here
rdma-core-59.0/rdma-ndd/rdma-ndd.c:226:17: call_function: calling ‘dbg_log’ from ‘process_udev_event’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def980]
rdma-core-59.0/rdma-ndd/rdma-ndd.c:138:17: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(&nd_file, "r+")’
rdma-core-59.0/rdma-ndd/rdma-ndd.c:217:13: enter_function: entry to ‘process_udev_event’
rdma-core-59.0/rdma-ndd/rdma-ndd.c:222:12: branch_true: following ‘true’ branch...
rdma-core-59.0/rdma-ndd/rdma-ndd.c:223:38: branch_true: ...to here
rdma-core-59.0/rdma-ndd/rdma-ndd.c:229:20: branch_true: following ‘true’ branch...
rdma-core-59.0/rdma-ndd/rdma-ndd.c:230:23: branch_true: ...to here
rdma-core-59.0/rdma-ndd/rdma-ndd.c:232:29: call_function: calling ‘update_node_desc’ from ‘process_udev_event’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def981]
rdma-core-59.0/rdma-ndd/rdma-ndd.c:138:17: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(&nd_file, "r+")’
rdma-core-59.0/rdma-ndd/rdma-ndd.c:217:13: enter_function: entry to ‘process_udev_event’
rdma-core-59.0/rdma-ndd/rdma-ndd.c:222:12: branch_true: following ‘true’ branch...
rdma-core-59.0/rdma-ndd/rdma-ndd.c:223:38: branch_true: ...to here
rdma-core-59.0/rdma-ndd/rdma-ndd.c:229:20: branch_true: following ‘true’ branch...
rdma-core-59.0/rdma-ndd/rdma-ndd.c:230:23: branch_true: ...to here
rdma-core-59.0/rdma-ndd/rdma-ndd.c:232:29: call_function: calling ‘update_node_desc’ from ‘process_udev_event’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def982]
rdma-core-59.0/rdma-ndd/rdma-ndd.c:150:17: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(&nd_file, "r+")’
rdma-core-59.0/rdma-ndd/rdma-ndd.c:240:13: enter_function: entry to ‘monitor’
rdma-core-59.0/rdma-ndd/rdma-ndd.c:249:12: branch_false: following ‘false’ branch...
rdma-core-59.0/rdma-ndd/rdma-ndd.c:255:9: branch_false: ...to here
rdma-core-59.0/rdma-ndd/rdma-ndd.c:270:9: call_function: calling ‘set_rdma_node_desc’ from ‘monitor’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def983]
rdma-core-59.0/rdma-ndd/rdma-ndd.c:150:17: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(&nd_file, "r+")’
rdma-core-59.0/rdma-ndd/rdma-ndd.c:240:13: enter_function: entry to ‘monitor’
rdma-core-59.0/rdma-ndd/rdma-ndd.c:249:12: branch_false: following ‘false’ branch...
rdma-core-59.0/rdma-ndd/rdma-ndd.c:255:9: branch_false: ...to here
rdma-core-59.0/rdma-ndd/rdma-ndd.c:270:9: call_function: calling ‘set_rdma_node_desc’ from ‘monitor’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def984]
rdma-core-59.0/rdma-ndd/rdma-ndd.c:171:24: warning[-Wanalyzer-malloc-leak]: leak of ‘opendir("/sys/class/infiniband")’
rdma-core-59.0/rdma-ndd/rdma-ndd.c:240:13: enter_function: entry to ‘monitor’
rdma-core-59.0/rdma-ndd/rdma-ndd.c:249:12: branch_false: following ‘false’ branch...
rdma-core-59.0/rdma-ndd/rdma-ndd.c:255:9: branch_false: ...to here
rdma-core-59.0/rdma-ndd/rdma-ndd.c:270:9: call_function: calling ‘set_rdma_node_desc’ from ‘monitor’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def985]
rdma-core-59.0/rdma-ndd/rdma-ndd.c:190:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/proc/sys/kernel/hostname", 0)’
rdma-core-59.0/rdma-ndd/rdma-ndd.c:240:13: enter_function: entry to ‘monitor’
rdma-core-59.0/rdma-ndd/rdma-ndd.c:248:17: acquire_resource: opened here
rdma-core-59.0/rdma-ndd/rdma-ndd.c:249:12: branch_false: following ‘false’ branch...
rdma-core-59.0/rdma-ndd/rdma-ndd.c:255:9: branch_false: ...to here
rdma-core-59.0/rdma-ndd/rdma-ndd.c:255:9: call_function: calling ‘read_hostname’ from ‘monitor’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def986]
rdma-core-59.0/redhat-linux-build/CMakeFiles/CMakeScratch/TryCompile-VRLx2h/src.c:4:4: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-775): [#def987]
rdma-core-59.0/redhat-linux-build/CMakeFiles/CMakeScratch/TryCompile-aiooSJ/src.c:7:5: warning[-Wanalyzer-fd-leak]: leak of file descriptor
Error: GCC_ANALYZER_WARNING (CWE-775): [#def988]
rdma-core-59.0/redhat-linux-build/CMakeFiles/CMakeScratch/TryCompile-aiooSJ/src.c:8:5: warning[-Wanalyzer-fd-leak]: leak of file descriptor
Error: GCC_ANALYZER_WARNING (CWE-401): [#def989]
rdma-core-59.0/redhat-linux-build/include/ccan/list.h:185:9: warning[-Wanalyzer-malloc-leak]: leak of ‘create_range(astart + length, rend - astart - length)’
rdma-core-59.0/util/interval_set.c:155:5: enter_function: entry to ‘iset_alloc_range’
rdma-core-59.0/util/interval_set.c:169:9: branch_true: following ‘true’ branch...
rdma-core-59.0/util/interval_set.c:170:32: branch_true: ...to here
rdma-core-59.0/util/interval_set.c:178:12: branch_true: following ‘true’ branch (when ‘found != 0’)...
rdma-core-59.0/util/interval_set.c:184:13: branch_true: ...to here
rdma-core-59.0/util/interval_set.c:184:12: branch_false: following ‘false’ branch...
rdma-core-59.0/util/interval_set.c:192:35: branch_false: ...to here
rdma-core-59.0/util/interval_set.c:193:20: branch_true: following ‘true’ branch...
rdma-core-59.0/util/interval_set.c:195:45: branch_true: ...to here
rdma-core-59.0/util/interval_set.c:194:32: call_function: calling ‘create_range’ from ‘iset_alloc_range’
rdma-core-59.0/util/interval_set.c:194:32: return_function: returning to ‘iset_alloc_range’ from ‘create_range’
rdma-core-59.0/util/interval_set.c:196:28: branch_false: following ‘false’ branch...
rdma-core-59.0/util/interval_set.c:200:25: branch_false: ...to here
rdma-core-59.0/util/interval_set.c:200:25: call_function: inlined call to ‘list_add_after_’ from ‘iset_alloc_range’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def990]
rdma-core-59.0/redhat-linux-build/include/ccan/list.h:234:9: warning[-Wanalyzer-malloc-leak]: leak of ‘create_range(start, length)’
rdma-core-59.0/util/interval_set.c:103:5: enter_function: entry to ‘iset_insert_range’
rdma-core-59.0/util/interval_set.c:109:12: branch_false: following ‘false’ branch...
rdma-core-59.0/util/interval_set.c:130:20: call_function: calling ‘check_do_combine’ from ‘iset_insert_range’
rdma-core-59.0/util/interval_set.c:130:20: return_function: returning to ‘iset_insert_range’ from ‘check_do_combine’
rdma-core-59.0/util/interval_set.c:132:12: branch_false: following ‘false’ branch...
rdma-core-59.0/util/interval_set.c:133:24: branch_false: ...to here
rdma-core-59.0/util/interval_set.c:133:24: call_function: calling ‘create_range’ from ‘iset_insert_range’
rdma-core-59.0/util/interval_set.c:133:24: return_function: returning to ‘iset_insert_range’ from ‘create_range’
rdma-core-59.0/util/interval_set.c:134:20: branch_false: following ‘false’ branch...
rdma-core-59.0/util/interval_set.c:139:20: branch_false: ...to here
rdma-core-59.0/util/interval_set.c:139:20: branch_false: following ‘false’ branch (when ‘found == 0’)...
rdma-core-59.0/util/interval_set.c:140:25: branch_false: ...to here
rdma-core-59.0/util/interval_set.c:140:25: call_function: inlined call to ‘list_add_tail_’ from ‘iset_insert_range’
Error: GCC_ANALYZER_WARNING (CWE-416): [#def991]
rdma-core-59.0/redhat-linux-build/include/ccan/list.h:327:9: warning[-Wanalyzer-use-after-free]: use after ‘free’ of ‘mapped_ports.n.next’
rdma-core-59.0/iwpmd/iwarp_pm_helper.c:514:6: enter_function: entry to ‘free_iwpm_mapped_ports’
rdma-core-59.0/iwpmd/iwarp_pm_helper.c:518:29: call_function: inlined call to ‘list_pop_’ from ‘free_iwpm_mapped_ports’
rdma-core-59.0/iwpmd/iwarp_pm_helper.c:519:17: call_function: calling ‘free_iwpm_port’ from ‘free_iwpm_mapped_ports’
rdma-core-59.0/iwpmd/iwarp_pm_helper.c:519:17: return_function: returning to ‘free_iwpm_mapped_ports’ from ‘free_iwpm_port’
rdma-core-59.0/iwpmd/iwarp_pm_helper.c:518:29: call_function: inlined call to ‘list_pop_’ from ‘free_iwpm_mapped_ports’
Error: GCC_ANALYZER_WARNING (CWE-416): [#def992]
rdma-core-59.0/redhat-linux-build/include/ccan/list.h:327:9: warning[-Wanalyzer-use-after-free]: use after ‘free’ of ‘timeout_list.n.next’
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:1499:13: enter_function: entry to ‘acmp_process_timeouts’
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:1505:23: call_function: inlined call to ‘list_pop_’ from ‘acmp_process_timeouts’
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:1514:17: call_function: calling ‘acmp_free_send’ from ‘acmp_process_timeouts’
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:1514:17: return_function: returning to ‘acmp_process_timeouts’ from ‘acmp_free_send’
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:1505:23: call_function: inlined call to ‘list_pop_’ from ‘acmp_process_timeouts’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def993]
rdma-core-59.0/redhat-linux-build/include/infiniband/verbs.h:2466:22: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(&route_data_file, "r")’
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2262:12: enter_function: entry to ‘acmp_parse_osm_fullv1’
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2268:19: acquire_resource: opened here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2268:12: branch_false: following ‘false’ branch...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2273:20: branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2274:12: branch_false: following ‘false’ branch (when ‘lid2guid’ is non-NULL)...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2279:9: branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2281:15: call_function: calling ‘acmp_parse_osm_fullv1_paths’ from ‘acmp_parse_osm_fullv1’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def994]
rdma-core-59.0/redhat-linux-build/include/infiniband/verbs.h:2466:22: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:295:33: enter_function: entry to ‘pp_init_ctx’
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:302:12: branch_false: following ‘false’ branch (when ‘ctx’ is non-NULL)...
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:305:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:309:20: acquire_memory: allocated here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:310:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:316:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:319:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:326:38: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:329:21: call_function: calling ‘___ibv_query_port’ from ‘pp_init_ctx’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def995]
rdma-core-59.0/redhat-linux-build/include/infiniband/verbs.h:2466:22: warning[-Wanalyzer-malloc-leak]: leak of ‘ctx’
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:295:33: enter_function: entry to ‘pp_init_ctx’
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:301:15: acquire_memory: allocated here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:302:12: branch_false: following ‘false’ branch (when ‘ctx’ is non-NULL)...
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:305:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:310:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:316:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:319:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:326:38: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:329:21: call_function: calling ‘___ibv_query_port’ from ‘pp_init_ctx’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def996]
rdma-core-59.0/redhat-linux-build/include/infiniband/verbs.h:2466:22: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(&route_data_file, "r")’
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2262:12: enter_function: entry to ‘acmp_parse_osm_fullv1’
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2268:19: acquire_memory: allocated here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2268:12: branch_false: following ‘false’ branch...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2273:20: branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2274:12: branch_false: following ‘false’ branch (when ‘lid2guid’ is non-NULL)...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2279:9: branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2281:15: call_function: calling ‘acmp_parse_osm_fullv1_paths’ from ‘acmp_parse_osm_fullv1’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def997]
rdma-core-59.0/redhat-linux-build/include/infiniband/verbs.h:2466:22: warning[-Wanalyzer-malloc-leak]: leak of ‘lid2guid’
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2262:12: enter_function: entry to ‘acmp_parse_osm_fullv1’
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2268:12: branch_false: following ‘false’ branch...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2273:20: branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2273:20: acquire_memory: allocated here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2274:12: branch_false: following ‘false’ branch (when ‘lid2guid’ is non-NULL)...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2279:9: branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2281:15: call_function: calling ‘acmp_parse_osm_fullv1_paths’ from ‘acmp_parse_osm_fullv1’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def998]
rdma-core-59.0/redhat-linux-build/include/infiniband/verbs.h:2471:16: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(&route_data_file, "r")’
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2262:12: enter_function: entry to ‘acmp_parse_osm_fullv1’
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2268:19: acquire_resource: opened here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2268:12: branch_false: following ‘false’ branch...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2273:20: branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2274:12: branch_false: following ‘false’ branch (when ‘lid2guid’ is non-NULL)...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2279:9: branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2281:15: call_function: calling ‘acmp_parse_osm_fullv1_paths’ from ‘acmp_parse_osm_fullv1’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def999]
rdma-core-59.0/redhat-linux-build/include/infiniband/verbs.h:2471:16: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:295:33: enter_function: entry to ‘pp_init_ctx’
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:302:12: branch_false: following ‘false’ branch (when ‘ctx’ is non-NULL)...
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:305:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:309:20: acquire_memory: allocated here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:310:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:316:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:319:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:326:38: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:329:21: call_function: calling ‘___ibv_query_port’ from ‘pp_init_ctx’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1000]
rdma-core-59.0/redhat-linux-build/include/infiniband/verbs.h:2471:16: warning[-Wanalyzer-malloc-leak]: leak of ‘ctx’
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:295:33: enter_function: entry to ‘pp_init_ctx’
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:301:15: acquire_memory: allocated here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:302:12: branch_false: following ‘false’ branch (when ‘ctx’ is non-NULL)...
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:305:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:310:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:316:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:319:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:326:38: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/ud_pingpong.c:329:21: call_function: calling ‘___ibv_query_port’ from ‘pp_init_ctx’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1001]
rdma-core-59.0/redhat-linux-build/include/infiniband/verbs.h:2471:16: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(&route_data_file, "r")’
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2262:12: enter_function: entry to ‘acmp_parse_osm_fullv1’
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2268:19: acquire_memory: allocated here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2268:12: branch_false: following ‘false’ branch...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2273:20: branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2274:12: branch_false: following ‘false’ branch (when ‘lid2guid’ is non-NULL)...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2279:9: branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2281:15: call_function: calling ‘acmp_parse_osm_fullv1_paths’ from ‘acmp_parse_osm_fullv1’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1002]
rdma-core-59.0/redhat-linux-build/include/infiniband/verbs.h:2471:16: warning[-Wanalyzer-malloc-leak]: leak of ‘lid2guid’
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2262:12: enter_function: entry to ‘acmp_parse_osm_fullv1’
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2268:12: branch_false: following ‘false’ branch...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2273:20: branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2273:20: acquire_memory: allocated here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2274:12: branch_false: following ‘false’ branch (when ‘lid2guid’ is non-NULL)...
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2279:9: branch_false: ...to here
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:2281:15: call_function: calling ‘acmp_parse_osm_fullv1_paths’ from ‘acmp_parse_osm_fullv1’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1003]
rdma-core-59.0/redhat-linux-build/include/infiniband/verbs.h:2642:24: warning[-Wanalyzer-malloc-leak]: leak of ‘*ctx.buf’
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:332:33: enter_function: entry to ‘pp_init_ctx’
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:340:12: branch_false: following ‘false’ branch (when ‘ctx’ is non-NULL)...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:343:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:347:20: acquire_memory: allocated here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:348:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:354:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:357:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:363:12: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:363:12: branch_false: following ‘false’ branch (when ‘use_event == 0’)...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:370:17: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:373:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:378:13: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:434:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:437:34: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:437:27: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:439:25: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:439:25: call_function: inlined call to ‘__ibv_reg_mr’ from ‘pp_init_ctx’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1004]
rdma-core-59.0/redhat-linux-build/include/infiniband/verbs.h:2642:24: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:332:33: enter_function: entry to ‘pp_init_ctx’
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:340:12: branch_false: following ‘false’ branch (when ‘ctx’ is non-NULL)...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:343:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:347:20: acquire_memory: allocated here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:348:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:354:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:357:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:363:12: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:363:12: branch_false: following ‘false’ branch (when ‘use_event == 0’)...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:370:17: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:373:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:378:13: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:434:12: branch_true: following ‘true’ branch...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:435:27: branch_true: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:435:27: call_function: inlined call to ‘__ibv_reg_mr’ from ‘pp_init_ctx’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1005]
rdma-core-59.0/redhat-linux-build/include/infiniband/verbs.h:2642:24: warning[-Wanalyzer-malloc-leak]: leak of ‘ctx’
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:332:33: enter_function: entry to ‘pp_init_ctx’
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:339:15: acquire_memory: allocated here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:340:12: branch_false: following ‘false’ branch (when ‘ctx’ is non-NULL)...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:343:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:348:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:354:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:357:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:363:12: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:363:12: branch_false: following ‘false’ branch (when ‘use_event == 0’)...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:370:17: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:373:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:378:13: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:434:12: branch_true: following ‘true’ branch...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:435:27: branch_true: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:435:27: call_function: inlined call to ‘__ibv_reg_mr’ from ‘pp_init_ctx’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1006]
rdma-core-59.0/redhat-linux-build/include/infiniband/verbs.h:2642:24: warning[-Wanalyzer-malloc-leak]: leak of ‘iomr’
rdma-core-59.0/librdmacm/rsocket.c:4033:7: enter_function: entry to ‘riomap’
rdma-core-59.0/librdmacm/rsocket.c:4040:12: branch_false: following ‘false’ branch...
rdma-core-59.0/librdmacm/rsocket.c:4042:14: branch_false: ...to here
rdma-core-59.0/librdmacm/rsocket.c:4042:12: branch_false: following ‘false’ branch...
rdma-core-59.0/librdmacm/rsocket.c:4046:12: branch_false: following ‘false’ branch...
rdma-core-59.0/librdmacm/rsocket.c:4050:24: branch_false: ...to here
rdma-core-59.0/librdmacm/rsocket.c:4050:24: acquire_memory: allocated here
rdma-core-59.0/librdmacm/rsocket.c:4058:20: call_function: inlined call to ‘__ibv_reg_mr’ from ‘riomap’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1007]
rdma-core-59.0/redhat-linux-build/include/infiniband/verbs.h:2642:24: warning[-Wanalyzer-malloc-leak]: leak of ‘memalign((long unsigned int)page_size, (long unsigned int)size)’
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:350:33: enter_function: entry to ‘pp_init_ctx’
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:359:12: branch_false: following ‘false’ branch (when ‘ctx’ is non-NULL)...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:362:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:367:20: acquire_memory: allocated here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:368:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:373:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:376:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:381:13: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:399:12: branch_false: following ‘false’ branch (when ‘use_event == 0’)...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:406:17: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:409:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:414:19: call_function: inlined call to ‘__ibv_reg_mr’ from ‘pp_init_ctx’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1008]
rdma-core-59.0/redhat-linux-build/include/infiniband/verbs.h:2642:24: warning[-Wanalyzer-malloc-leak]: leak of ‘mr’
rdma-core-59.0/libibverbs/compat-1_0.c:658:1: enter_function: entry to ‘__ibv_reg_mr_1_0’
rdma-core-59.0/libibverbs/compat-1_0.c:666:14: acquire_memory: allocated here
rdma-core-59.0/libibverbs/compat-1_0.c:667:12: branch_false: following ‘false’ branch (when ‘mr’ is non-NULL)...
rdma-core-59.0/libibverbs/compat-1_0.c:670:19: branch_false: ...to here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1009]
rdma-core-59.0/redhat-linux-build/include/infiniband/verbs.h:2642:24: warning[-Wanalyzer-malloc-leak]: leak of ‘msg’
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:1683:1: enter_function: entry to ‘acmp_send_resolve’
rdma-core-59.0/ibacm/prov/acmp/src/acmp.c:1692:15: call_function: calling ‘acmp_alloc_send’ from ‘acmp_send_resolve’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1010]
rdma-core-59.0/redhat-linux-build/include/infiniband/verbs.h:2644:24: warning[-Wanalyzer-malloc-leak]: leak of ‘mr’
rdma-core-59.0/libibverbs/compat-1_0.c:658:1: enter_function: entry to ‘__ibv_reg_mr_1_0’
rdma-core-59.0/libibverbs/compat-1_0.c:666:14: acquire_memory: allocated here
rdma-core-59.0/libibverbs/compat-1_0.c:667:12: branch_false: following ‘false’ branch (when ‘mr’ is non-NULL)...
rdma-core-59.0/libibverbs/compat-1_0.c:670:19: branch_false: ...to here
rdma-core-59.0/libibverbs/compat-1_0.c:670:19: call_function: inlined call to ‘__ibv_reg_mr’ from ‘__ibv_reg_mr_1_0’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1011]
rdma-core-59.0/redhat-linux-build/include/infiniband/verbs.h:2793:16: warning[-Wanalyzer-malloc-leak]: leak of ‘ctx’
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:332:33: enter_function: entry to ‘pp_init_ctx’
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:339:15: acquire_memory: allocated here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:340:12: branch_false: following ‘false’ branch (when ‘ctx’ is non-NULL)...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:343:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:348:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:354:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:357:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:363:12: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:363:12: branch_false: following ‘false’ branch (when ‘use_event == 0’)...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:370:17: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:373:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:378:13: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:434:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:437:34: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:437:27: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:439:25: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:442:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:447:13: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:447:12: branch_true: following ‘true’ branch...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:451:32: branch_true: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:455:23: call_function: calling ‘ibv_advise_mr’ from ‘pp_init_ctx’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1012]
rdma-core-59.0/redhat-linux-build/include/infiniband/verbs.h:2889:16: warning[-Wanalyzer-malloc-leak]: leak of ‘icm_mr’
rdma-core-59.0/providers/mlx5/dr_icm_pool.c:427:12: enter_function: entry to ‘dr_icm_handle_buddies_get_mem’
rdma-core-59.0/providers/mlx5/dr_icm_pool.c:439:16: branch_true: following ‘true’ branch...
rdma-core-59.0/providers/mlx5/dr_icm_pool.c:440:17: branch_true: ...to here
rdma-core-59.0/providers/mlx5/dr_icm_pool.c:456:23: call_function: calling ‘dr_icm_buddy_create’ from ‘dr_icm_handle_buddies_get_mem’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1013]
rdma-core-59.0/redhat-linux-build/include/infiniband/verbs.h:3133:16: warning[-Wanalyzer-malloc-leak]: leak of ‘ctx’
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:332:33: enter_function: entry to ‘pp_init_ctx’
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:339:15: acquire_memory: allocated here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:340:12: branch_false: following ‘false’ branch (when ‘ctx’ is non-NULL)...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:343:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:348:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:354:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:357:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:363:12: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:363:12: branch_false: following ‘false’ branch (when ‘use_event == 0’)...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:370:17: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:373:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:378:13: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:434:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:437:34: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:437:27: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:439:25: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:442:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:447:13: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:463:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:474:32: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:478:14: call_function: inlined call to ‘pp_cq’ from ‘pp_init_ctx’
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:478:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:485:41: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:497:20: branch_true: following ‘true’ branch...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:498:52: branch_true: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:513:35: call_function: calling ‘ibv_create_qp_ex’ from ‘pp_init_ctx’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1014]
rdma-core-59.0/redhat-linux-build/include/infiniband/verbs.h:3232:15: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:332:33: enter_function: entry to ‘pp_init_ctx’
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:340:12: branch_false: following ‘false’ branch (when ‘ctx’ is non-NULL)...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:343:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:347:20: acquire_memory: allocated here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:348:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:354:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:357:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:363:12: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:363:12: branch_false: following ‘false’ branch (when ‘use_event == 0’)...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:370:17: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:373:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:378:13: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:383:21: call_function: calling ‘ibv_query_device_ex’ from ‘pp_init_ctx’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1015]
rdma-core-59.0/redhat-linux-build/include/infiniband/verbs.h:3232:15: warning[-Wanalyzer-malloc-leak]: leak of ‘ctx’
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:332:33: enter_function: entry to ‘pp_init_ctx’
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:339:15: acquire_memory: allocated here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:340:12: branch_false: following ‘false’ branch (when ‘ctx’ is non-NULL)...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:343:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:348:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:354:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:357:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:363:12: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:363:12: branch_false: following ‘false’ branch (when ‘use_event == 0’)...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:370:17: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:373:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:378:13: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:383:21: call_function: calling ‘ibv_query_device_ex’ from ‘pp_init_ctx’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1016]
rdma-core-59.0/redhat-linux-build/include/infiniband/verbs.h:3232:15: warning[-Wanalyzer-malloc-leak]: leak of ‘memalign((long unsigned int)page_size, (long unsigned int)size)’
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:350:33: enter_function: entry to ‘pp_init_ctx’
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:359:12: branch_false: following ‘false’ branch (when ‘ctx’ is non-NULL)...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:362:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:367:20: acquire_memory: allocated here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:368:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:373:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:376:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:381:13: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:381:12: branch_true: following ‘true’ branch...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:386:21: branch_true: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:386:21: call_function: calling ‘ibv_query_device_ex’ from ‘pp_init_ctx’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1017]
rdma-core-59.0/redhat-linux-build/include/infiniband/verbs.h:3240:15: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:332:33: enter_function: entry to ‘pp_init_ctx’
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:340:12: branch_false: following ‘false’ branch (when ‘ctx’ is non-NULL)...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:343:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:347:20: acquire_memory: allocated here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:348:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:354:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:357:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:363:12: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:363:12: branch_false: following ‘false’ branch (when ‘use_event == 0’)...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:370:17: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:373:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:378:13: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:383:21: call_function: calling ‘ibv_query_device_ex’ from ‘pp_init_ctx’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1018]
rdma-core-59.0/redhat-linux-build/include/infiniband/verbs.h:3240:15: warning[-Wanalyzer-malloc-leak]: leak of ‘ctx’
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:332:33: enter_function: entry to ‘pp_init_ctx’
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:339:15: acquire_memory: allocated here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:340:12: branch_false: following ‘false’ branch (when ‘ctx’ is non-NULL)...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:343:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:348:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:354:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:357:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:363:12: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:363:12: branch_false: following ‘false’ branch (when ‘use_event == 0’)...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:370:17: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:373:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:378:13: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/rc_pingpong.c:383:21: call_function: calling ‘ibv_query_device_ex’ from ‘pp_init_ctx’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1019]
rdma-core-59.0/redhat-linux-build/include/infiniband/verbs.h:3240:15: warning[-Wanalyzer-malloc-leak]: leak of ‘memalign((long unsigned int)page_size, (long unsigned int)size)’
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:350:33: enter_function: entry to ‘pp_init_ctx’
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:359:12: branch_false: following ‘false’ branch (when ‘ctx’ is non-NULL)...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:362:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:367:20: acquire_memory: allocated here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:368:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:373:9: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:376:12: branch_false: following ‘false’ branch...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:381:13: branch_false: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:381:12: branch_true: following ‘true’ branch...
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:386:21: branch_true: ...to here
rdma-core-59.0/libibverbs/examples/srq_pingpong.c:386:21: call_function: calling ‘ibv_query_device_ex’ from ‘pp_init_ctx’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1020]
rdma-core-59.0/redhat-linux-build/include/util/bitmap.h:59:17: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘bmp’
rdma-core-59.0/util/tests/bitmap_test.c:101:5: enter_function: entry to ‘main’
rdma-core-59.0/util/tests/bitmap_test.c:112:25: branch_true: following ‘true’ branch (when ‘i != 5’)...
rdma-core-59.0/util/tests/bitmap_test.c:113:21: branch_true: ...to here
rdma-core-59.0/util/tests/bitmap_test.c:114:38: call_function: inlined call to ‘bitmap_alloc0’ from ‘main’
rdma-core-59.0/util/tests/bitmap_test.c:125:17: call_function: calling ‘test_bitmap_empty’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def1021]
rdma-core-59.0/redhat-linux-build/pyverbs/providers/mlx5/mlx5_vfio.c:4843:9: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
rdma-core-59.0/redhat-linux-build/pyverbs/providers/mlx5/mlx5_vfio.c:6850:12: enter_function: entry to ‘__pyx_setprop_7pyverbs_9providers_4mlx5_9mlx5_vfio_12Mlx5VfioAttr_pci_name’
rdma-core-59.0/redhat-linux-build/pyverbs/providers/mlx5/mlx5_vfio.c:6851:6: branch_true: following ‘true’ branch (when ‘v’ is non-NULL)...
rdma-core-59.0/redhat-linux-build/pyverbs/providers/mlx5/mlx5_vfio.c:6852:12: call_function: inlined call to ‘__pyx_pw_7pyverbs_9providers_4mlx5_9mlx5_vfio_12Mlx5VfioAttr_8pci_name_3__set__’ from ‘__pyx_setprop_7pyverbs_9providers_4mlx5_9mlx5_vfio_12Mlx5VfioAttr_pci_name’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def1022]
rdma-core-59.0/srp_daemon/srp_daemon.c:168:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(&path, 0)’
rdma-core-59.0/srp_daemon/srp_daemon.c:1903:12: enter_function: entry to ‘check_link_layer’
rdma-core-59.0/srp_daemon/srp_daemon.c:1909:15: call_function: calling ‘srpd_sys_read_string’ from ‘check_link_layer’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def1023]
rdma-core-59.0/srp_daemon/srp_daemon.c:176:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(&path, 0)’
rdma-core-59.0/srp_daemon/srp_daemon.c:1903:12: enter_function: entry to ‘check_link_layer’
rdma-core-59.0/srp_daemon/srp_daemon.c:1909:15: call_function: calling ‘srpd_sys_read_string’ from ‘check_link_layer’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def1024]
rdma-core-59.0/srp_daemon/srp_daemon.c:302:17: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(*conf.rules_file, "r")’
rdma-core-59.0/srp_daemon/srp_daemon.c:2210:5: enter_function: entry to ‘main’
rdma-core-59.0/srp_daemon/srp_daemon.c:2243:12: branch_false: following ‘false’ branch (when the strings are non-equal)...
rdma-core-59.0/srp_daemon/srp_daemon.c:2249:19: branch_false: ...to here
rdma-core-59.0/srp_daemon/srp_daemon.c:2257:12: branch_false: following ‘false’ branch...
rdma-core-59.0/srp_daemon/srp_daemon.c:2263:13: branch_false: ...to here
rdma-core-59.0/srp_daemon/srp_daemon.c:2263:13: call_function: calling ‘get_config’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1025]
rdma-core-59.0/srp_daemon/srp_daemon.c:302:17: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(*conf.rules_file, "r")’
rdma-core-59.0/srp_daemon/srp_daemon.c:2210:5: enter_function: entry to ‘main’
rdma-core-59.0/srp_daemon/srp_daemon.c:2243:12: branch_false: following ‘false’ branch (when the strings are non-equal)...
rdma-core-59.0/srp_daemon/srp_daemon.c:2249:19: branch_false: ...to here
rdma-core-59.0/srp_daemon/srp_daemon.c:2257:12: branch_false: following ‘false’ branch...
rdma-core-59.0/srp_daemon/srp_daemon.c:2263:13: branch_false: ...to here
rdma-core-59.0/srp_daemon/srp_daemon.c:2263:13: call_function: calling ‘get_config’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-404): [#def1026]
rdma-core-59.0/srp_daemon/srp_daemon.c:302:17: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
rdma-core-59.0/srp_daemon/srp_daemon.c:2119:12: enter_function: entry to ‘setup_wakeup_fd’
rdma-core-59.0/srp_daemon/srp_daemon.c:2125:12: branch_true: following ‘true’ branch (when ‘ret < 0’)...
rdma-core-59.0/srp_daemon/srp_daemon.c:2126:17: branch_true: ...to here
rdma-core-59.0/srp_daemon/srp_daemon.c:2126:17: call_function: calling ‘pr_err’ from ‘setup_wakeup_fd’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def1027]
rdma-core-59.0/srp_daemon/srp_daemon.c:414:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/sys/module/ib_srp/parameters/use_imm_data", 0)’
rdma-core-59.0/srp_daemon/srp_daemon.c:1959:14: enter_function: entry to ‘run_thread_retry_to_connect’
rdma-core-59.0/srp_daemon/srp_daemon.c:1966:16: branch_true: following ‘true’ branch...
rdma-core-59.0/srp_daemon/srp_daemon.c:1967:21: branch_true: ...to here
rdma-core-59.0/srp_daemon/srp_daemon.c:1970:24: branch_true: following ‘true’ branch...
rdma-core-59.0/srp_daemon/srp_daemon.c:1971:34: branch_true: ...to here
rdma-core-59.0/srp_daemon/srp_daemon.c:1970:24: branch_true: following ‘true’ branch...
rdma-core-59.0/srp_daemon/srp_daemon.c:1972:47: branch_true: ...to here
rdma-core-59.0/srp_daemon/srp_daemon.c:1978:25: call_function: calling ‘add_non_exist_target’ from ‘run_thread_retry_to_connect’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def1028]
rdma-core-59.0/srp_daemon/srp_daemon.c:420:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/sys/module/ib_srp/parameters/use_imm_data", 0)’
rdma-core-59.0/srp_daemon/srp_daemon.c:1959:14: enter_function: entry to ‘run_thread_retry_to_connect’
rdma-core-59.0/srp_daemon/srp_daemon.c:1966:16: branch_true: following ‘true’ branch...
rdma-core-59.0/srp_daemon/srp_daemon.c:1967:21: branch_true: ...to here
rdma-core-59.0/srp_daemon/srp_daemon.c:1970:24: branch_true: following ‘true’ branch...
rdma-core-59.0/srp_daemon/srp_daemon.c:1971:34: branch_true: ...to here
rdma-core-59.0/srp_daemon/srp_daemon.c:1970:24: branch_true: following ‘true’ branch...
rdma-core-59.0/srp_daemon/srp_daemon.c:1972:47: branch_true: ...to here
rdma-core-59.0/srp_daemon/srp_daemon.c:1978:25: call_function: calling ‘add_non_exist_target’ from ‘run_thread_retry_to_connect’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1029]
rdma-core-59.0/srp_daemon/srp_daemon.c:473:26: warning[-Wanalyzer-malloc-leak]: leak of ‘opendir(&scsi_host_dir)’
rdma-core-59.0/srp_daemon/srp_daemon.c:1959:14: enter_function: entry to ‘run_thread_retry_to_connect’
rdma-core-59.0/srp_daemon/srp_daemon.c:1966:16: branch_true: following ‘true’ branch...
rdma-core-59.0/srp_daemon/srp_daemon.c:1967:21: branch_true: ...to here
rdma-core-59.0/srp_daemon/srp_daemon.c:1970:24: branch_true: following ‘true’ branch...
rdma-core-59.0/srp_daemon/srp_daemon.c:1971:34: branch_true: ...to here
rdma-core-59.0/srp_daemon/srp_daemon.c:1970:24: branch_true: following ‘true’ branch...
rdma-core-59.0/srp_daemon/srp_daemon.c:1972:47: branch_true: ...to here
rdma-core-59.0/srp_daemon/srp_daemon.c:1978:25: call_function: calling ‘add_non_exist_target’ from ‘run_thread_retry_to_connect’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def1030]
rdma-core-59.0/srp_daemon/srp_daemon.c:727:23: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘dup’ where non-null expected
rdma-core-59.0/srp_daemon/srp_daemon.c:1716:12: enter_function: entry to ‘get_config’
rdma-core-59.0/srp_daemon/srp_daemon.c:1851:9: call_function: calling ‘initialize_sysfs’ from ‘get_config’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def1031]
rdma-core-59.0/srp_daemon/srp_daemon.c:1561:13: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(*conf.rules_file, "r")’
rdma-core-59.0/srp_daemon/srp_daemon.c:2210:5: enter_function: entry to ‘main’
rdma-core-59.0/srp_daemon/srp_daemon.c:2243:12: branch_false: following ‘false’ branch (when the strings are non-equal)...
rdma-core-59.0/srp_daemon/srp_daemon.c:2249:19: branch_false: ...to here
rdma-core-59.0/srp_daemon/srp_daemon.c:2257:12: branch_false: following ‘false’ branch...
rdma-core-59.0/srp_daemon/srp_daemon.c:2263:13: branch_false: ...to here
rdma-core-59.0/srp_daemon/srp_daemon.c:2263:13: call_function: calling ‘get_config’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1032]
rdma-core-59.0/srp_daemon/srp_daemon.c:1561:13: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(*conf.rules_file, "r")’
rdma-core-59.0/srp_daemon/srp_daemon.c:2210:5: enter_function: entry to ‘main’
rdma-core-59.0/srp_daemon/srp_daemon.c:2243:12: branch_false: following ‘false’ branch (when the strings are non-equal)...
rdma-core-59.0/srp_daemon/srp_daemon.c:2249:19: branch_false: ...to here
rdma-core-59.0/srp_daemon/srp_daemon.c:2257:12: branch_false: following ‘false’ branch...
rdma-core-59.0/srp_daemon/srp_daemon.c:2263:13: branch_false: ...to here
rdma-core-59.0/srp_daemon/srp_daemon.c:2263:13: call_function: calling ‘get_config’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1033]
rdma-core-59.0/srp_daemon/srp_daemon.c:1579:25: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘rule’
rdma-core-59.0/srp_daemon/srp_daemon.c:2210:5: enter_function: entry to ‘main’
rdma-core-59.0/srp_daemon/srp_daemon.c:2243:12: branch_false: following ‘false’ branch (when the strings are non-equal)...
rdma-core-59.0/srp_daemon/srp_daemon.c:2249:19: branch_false: ...to here
rdma-core-59.0/srp_daemon/srp_daemon.c:2257:12: branch_false: following ‘false’ branch...
rdma-core-59.0/srp_daemon/srp_daemon.c:2263:13: branch_false: ...to here
rdma-core-59.0/srp_daemon/srp_daemon.c:2263:13: call_function: calling ‘get_config’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1034]
rdma-core-59.0/srp_daemon/srp_daemon.c:1583:25: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘rule’
rdma-core-59.0/srp_daemon/srp_daemon.c:2210:5: enter_function: entry to ‘main’
rdma-core-59.0/srp_daemon/srp_daemon.c:2243:12: branch_false: following ‘false’ branch (when the strings are non-equal)...
rdma-core-59.0/srp_daemon/srp_daemon.c:2249:19: branch_false: ...to here
rdma-core-59.0/srp_daemon/srp_daemon.c:2257:12: branch_false: following ‘false’ branch...
rdma-core-59.0/srp_daemon/srp_daemon.c:2263:13: branch_false: ...to here
rdma-core-59.0/srp_daemon/srp_daemon.c:2263:13: call_function: calling ‘get_config’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1035]
rdma-core-59.0/srp_daemon/srp_daemon.c:2147:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘config’
rdma-core-59.0/srp_daemon/srp_daemon.c:2146:18: acquire_memory: this call could return NULL
rdma-core-59.0/srp_daemon/srp_daemon.c:2147:9: danger: ‘calloc(1, 96)’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def1036]
rdma-core-59.0/util/node_name_map.c:77:9: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(file_name, "r")’
rdma-core-59.0/util/node_name_map.c:191:11: enter_function: entry to ‘open_node_name_map’
rdma-core-59.0/util/node_name_map.c:204:12: branch_false: following ‘false’ branch (when ‘map’ is non-NULL)...
rdma-core-59.0/util/node_name_map.c:206:22: branch_false: ...to here
rdma-core-59.0/util/node_name_map.c:209:13: call_function: calling ‘parse_node_map_wrap’ from ‘open_node_name_map’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1037]
rdma-core-59.0/util/node_name_map.c:77:9: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
rdma-core-59.0/util/node_name_map.c:191:11: enter_function: entry to ‘open_node_name_map’
rdma-core-59.0/util/node_name_map.c:204:12: branch_false: following ‘false’ branch (when ‘map’ is non-NULL)...
rdma-core-59.0/util/node_name_map.c:206:22: branch_false: ...to here
rdma-core-59.0/util/node_name_map.c:209:13: call_function: calling ‘parse_node_map_wrap’ from ‘open_node_name_map’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1038]
rdma-core-59.0/util/node_name_map.c:77:9: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(file_name, "r")’
rdma-core-59.0/util/node_name_map.c:191:11: enter_function: entry to ‘open_node_name_map’
rdma-core-59.0/util/node_name_map.c:204:12: branch_false: following ‘false’ branch (when ‘map’ is non-NULL)...
rdma-core-59.0/util/node_name_map.c:206:22: branch_false: ...to here
rdma-core-59.0/util/node_name_map.c:209:13: call_function: calling ‘parse_node_map_wrap’ from ‘open_node_name_map’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1039]
rdma-core-59.0/util/node_name_map.c:77:9: warning[-Wanalyzer-malloc-leak]: leak of ‘item’
rdma-core-59.0/util/node_name_map.c:191:11: enter_function: entry to ‘open_node_name_map’
rdma-core-59.0/util/node_name_map.c:204:12: branch_false: following ‘false’ branch (when ‘map’ is non-NULL)...
rdma-core-59.0/util/node_name_map.c:206:22: branch_false: ...to here
rdma-core-59.0/util/node_name_map.c:209:13: call_function: calling ‘parse_node_map_wrap’ from ‘open_node_name_map’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def1040]
rdma-core-59.0/util/node_name_map.c:181:21: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(file_name, "r")’
rdma-core-59.0/util/node_name_map.c:145:19: acquire_resource: opened here
rdma-core-59.0/util/node_name_map.c:145:12: branch_false: following ‘false’ branch...
branch_false: ...to here
rdma-core-59.0/util/node_name_map.c:148:16: branch_true: following ‘true’ branch...
branch_true: ...to here
rdma-core-59.0/util/node_name_map.c:159:20: branch_false: following ‘false’ branch...
rdma-core-59.0/util/node_name_map.c:159:33: branch_false: ...to here
rdma-core-59.0/util/node_name_map.c:178:20: branch_false: following ‘false’ branch...
rdma-core-59.0/util/node_name_map.c:181:21: branch_false: ...to here
rdma-core-59.0/util/node_name_map.c:181:21: danger: ‘fopen(file_name, "r")’ leaks here; was opened at [(1)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1041]
rdma-core-59.0/util/node_name_map.c:181:21: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(file_name, "r")’
rdma-core-59.0/util/node_name_map.c:145:19: acquire_memory: allocated here
rdma-core-59.0/util/node_name_map.c:145:12: branch_false: following ‘false’ branch...
branch_false: ...to here
rdma-core-59.0/util/node_name_map.c:148:16: branch_true: following ‘true’ branch...
branch_true: ...to here
rdma-core-59.0/util/node_name_map.c:159:20: branch_false: following ‘false’ branch...
rdma-core-59.0/util/node_name_map.c:159:33: branch_false: ...to here
rdma-core-59.0/util/node_name_map.c:178:20: branch_false: following ‘false’ branch...
rdma-core-59.0/util/node_name_map.c:181:21: branch_false: ...to here
rdma-core-59.0/util/node_name_map.c:181:21: danger: ‘fopen(file_name, "r")’ leaks here; was allocated at [(1)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1042]
rdma-core-59.0/util/node_name_map.c:206:9: warning[-Wanalyzer-malloc-leak]: leak of ‘map’
rdma-core-59.0/util/node_name_map.c:203:15: acquire_memory: allocated here
rdma-core-59.0/util/node_name_map.c:204:12: branch_false: following ‘false’ branch (when ‘map’ is non-NULL)...
rdma-core-59.0/util/node_name_map.c:206:22: branch_false: ...to here
rdma-core-59.0/util/node_name_map.c:206:9: danger: ‘map’ leaks here; was allocated at [(1)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1043]
rdma-core-59.0/util/tests/bitmap_test.c:42:17: warning[-Wanalyzer-malloc-leak]: leak of ‘bmp’
rdma-core-59.0/util/tests/bitmap_test.c:101:5: enter_function: entry to ‘main’
rdma-core-59.0/util/tests/bitmap_test.c:112:25: branch_true: following ‘true’ branch (when ‘i != 5’)...
rdma-core-59.0/util/tests/bitmap_test.c:113:21: branch_true: ...to here
rdma-core-59.0/util/tests/bitmap_test.c:114:38: call_function: inlined call to ‘bitmap_alloc0’ from ‘main’
rdma-core-59.0/util/tests/bitmap_test.c:125:17: call_function: calling ‘test_bitmap_empty’ from ‘main’
rdma-core-59.0/util/tests/bitmap_test.c:125:17: return_function: returning to ‘main’ from ‘test_bitmap_empty’
rdma-core-59.0/util/tests/bitmap_test.c:126:17: call_function: calling ‘test_bitmap_find_first_bit’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1044]
rdma-core-59.0/util/tests/bitmap_test.c:44:17: warning[-Wanalyzer-malloc-leak]: leak of ‘bmp’
rdma-core-59.0/util/tests/bitmap_test.c:101:5: enter_function: entry to ‘main’
rdma-core-59.0/util/tests/bitmap_test.c:112:25: branch_true: following ‘true’ branch (when ‘i != 5’)...
rdma-core-59.0/util/tests/bitmap_test.c:113:21: branch_true: ...to here
rdma-core-59.0/util/tests/bitmap_test.c:114:38: call_function: inlined call to ‘bitmap_alloc0’ from ‘main’
rdma-core-59.0/util/tests/bitmap_test.c:125:17: call_function: calling ‘test_bitmap_empty’ from ‘main’
rdma-core-59.0/util/tests/bitmap_test.c:125:17: return_function: returning to ‘main’ from ‘test_bitmap_empty’
rdma-core-59.0/util/tests/bitmap_test.c:126:17: call_function: calling ‘test_bitmap_find_first_bit’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1045]
rdma-core-59.0/util/tests/bitmap_test.c:45:17: warning[-Wanalyzer-malloc-leak]: leak of ‘bmp’
rdma-core-59.0/util/tests/bitmap_test.c:101:5: enter_function: entry to ‘main’
rdma-core-59.0/util/tests/bitmap_test.c:112:25: branch_true: following ‘true’ branch (when ‘i != 5’)...
rdma-core-59.0/util/tests/bitmap_test.c:113:21: branch_true: ...to here
rdma-core-59.0/util/tests/bitmap_test.c:114:38: call_function: inlined call to ‘bitmap_alloc0’ from ‘main’
rdma-core-59.0/util/tests/bitmap_test.c:125:17: call_function: calling ‘test_bitmap_empty’ from ‘main’
rdma-core-59.0/util/tests/bitmap_test.c:125:17: return_function: returning to ‘main’ from ‘test_bitmap_empty’
rdma-core-59.0/util/tests/bitmap_test.c:126:17: call_function: calling ‘test_bitmap_find_first_bit’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1046]
rdma-core-59.0/util/tests/bitmap_test.c:46:17: warning[-Wanalyzer-malloc-leak]: leak of ‘bmp’
rdma-core-59.0/util/tests/bitmap_test.c:101:5: enter_function: entry to ‘main’
rdma-core-59.0/util/tests/bitmap_test.c:112:25: branch_true: following ‘true’ branch (when ‘i != 5’)...
rdma-core-59.0/util/tests/bitmap_test.c:113:21: branch_true: ...to here
rdma-core-59.0/util/tests/bitmap_test.c:114:38: call_function: inlined call to ‘bitmap_alloc0’ from ‘main’
rdma-core-59.0/util/tests/bitmap_test.c:125:17: call_function: calling ‘test_bitmap_empty’ from ‘main’
rdma-core-59.0/util/tests/bitmap_test.c:125:17: return_function: returning to ‘main’ from ‘test_bitmap_empty’
rdma-core-59.0/util/tests/bitmap_test.c:126:17: call_function: calling ‘test_bitmap_find_first_bit’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1047]
rdma-core-59.0/util/tests/bitmap_test.c:47:17: warning[-Wanalyzer-malloc-leak]: leak of ‘bmp’
rdma-core-59.0/util/tests/bitmap_test.c:101:5: enter_function: entry to ‘main’
rdma-core-59.0/util/tests/bitmap_test.c:112:25: branch_true: following ‘true’ branch (when ‘i != 5’)...
rdma-core-59.0/util/tests/bitmap_test.c:113:21: branch_true: ...to here
rdma-core-59.0/util/tests/bitmap_test.c:114:38: call_function: inlined call to ‘bitmap_alloc0’ from ‘main’
rdma-core-59.0/util/tests/bitmap_test.c:125:17: call_function: calling ‘test_bitmap_empty’ from ‘main’
rdma-core-59.0/util/tests/bitmap_test.c:125:17: return_function: returning to ‘main’ from ‘test_bitmap_empty’
rdma-core-59.0/util/tests/bitmap_test.c:126:17: call_function: calling ‘test_bitmap_find_first_bit’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1048]
rdma-core-59.0/util/tests/bitmap_test.c:48:17: warning[-Wanalyzer-malloc-leak]: leak of ‘bmp’
rdma-core-59.0/util/tests/bitmap_test.c:101:5: enter_function: entry to ‘main’
rdma-core-59.0/util/tests/bitmap_test.c:112:25: branch_true: following ‘true’ branch (when ‘i != 5’)...
rdma-core-59.0/util/tests/bitmap_test.c:113:21: branch_true: ...to here
rdma-core-59.0/util/tests/bitmap_test.c:114:38: call_function: inlined call to ‘bitmap_alloc0’ from ‘main’
rdma-core-59.0/util/tests/bitmap_test.c:125:17: call_function: calling ‘test_bitmap_empty’ from ‘main’
rdma-core-59.0/util/tests/bitmap_test.c:125:17: return_function: returning to ‘main’ from ‘test_bitmap_empty’
rdma-core-59.0/util/tests/bitmap_test.c:126:17: call_function: calling ‘test_bitmap_find_first_bit’ from ‘main’
Scan Properties
| analyzer-version-clippy | 1.90.0 |
| analyzer-version-cppcheck | 2.18.3 |
| analyzer-version-gcc | 15.2.1 |
| 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-138.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-gcc-latest-x86_64 |
| project-name | rdma-core-59.0-4.fc44 |
| store-results-to | /tmp/tmpxljxt6yi/rdma-core-59.0-4.fc44.tar.xz |
| time-created | 2025-10-28 20:34:39 |
| time-finished | 2025-10-28 20:39:48 |
| tool | csmock |
| tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'gcc,cppcheck,shellcheck,clippy,unicontrol' '-o' '/tmp/tmpxljxt6yi/rdma-core-59.0-4.fc44.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmpxljxt6yi/rdma-core-59.0-4.fc44.src.rpm' |
| tool-version | csmock-3.8.3.20251027.143044.ge6b947b-1.el9 |