Task #132375 - added.err
back to task #132375download
Error: GCC_ANALYZER_WARNING (CWE-1341): podman-6.0.1/pkg/rootless/rootless_linux.c:73:5: warning[-Wanalyzer-fd-double-close]: double ‘close’ of file descriptor ‘mnt_fd’ podman-6.0.1/pkg/rootless/rootless_linux.c:148:1: enter_function: entry to ‘get_ns_handles’ podman-6.0.1/pkg/rootless/rootless_linux.c:157:12: acquire_resource: opened here podman-6.0.1/pkg/rootless/rootless_linux.c:158:6: branch_false: following ‘false’ branch... podman-6.0.1/pkg/rootless/rootless_linux.c:161:61: branch_false: ...to here podman-6.0.1/pkg/rootless/rootless_linux.c:150:21: call_function: inlined call to ‘cleanup_closep’ from ‘get_ns_handles’ # 71| int *pp = p; # 72| if (*pp >= 0) # 73|-> TEMP_FAILURE_RETRY (close (*pp)); # 74| } # 75| Error: CPPCHECK_WARNING (CWE-401): podman-6.0.1/pkg/rootless/rootless_linux.c:666: error[memleak]: Memory leak: buf # 664| fd = open (environ_path, O_RDONLY | O_CLOEXEC); # 665| if (fd < 0) # 666|-> return 0; # 667| # 668| /* Read in chunks and search for the null-delimited key=value entry. */