A set of basic GNU tools commonly used in shell scripts
Detected by Coverity Analysis:
Error: RESOURCE_LEAK (CWE-772):
coreutils-8.30/src/sync.c:112: open_fn: Returning handle opened by "open". [Note: The source code implementation of the function has been overridden by a user model.]
coreutils-8.30/src/sync.c:112: var_assign: Assigning: "fd" = handle returned from "open(file, 2049)".
coreutils-8.30/src/sync.c:115: leaked_handle: Handle variable "fd" going out of scope leaks the handle.
113| if (fd < 0)
114| error (0, rd_errno, _("error opening %s"), quoteaf (file));
115|-> return false;
116| }
117|
Bug: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=33287
|
||
|---|---|---|
| tests | ||
| .gitignore | ||
| coreutils-4.5.3-langinfo.patch | ||
| coreutils-6.10-manpages.patch | ||
| coreutils-8.2-uname-processortype.patch | ||
| coreutils-8.4-mkdir-modenote.patch | ||
| coreutils-8.5-dircolors.patch | ||
| coreutils-8.25-DIR_COLORS.patch | ||
| coreutils-8.26-selinuxenable.patch | ||
| coreutils-8.26-test-lock.patch | ||
| coreutils-8.30-CVE-2018-17942.patch | ||
| coreutils-8.30-fsync-fallback.patch | ||
| coreutils-8.30-renameatu.patch | ||
| coreutils-8.30.tar.xz.sig | ||
| coreutils-colorls.csh | ||
| coreutils-colorls.sh | ||
| coreutils-df-direct.patch | ||
| coreutils-getgrouplist.patch | ||
| coreutils-i18n-cut-old.patch | ||
| coreutils-i18n-cut.patch | ||
| coreutils-i18n-expand-unexpand.patch | ||
| coreutils-i18n-fix2-expand-unexpand.patch | ||
| coreutils-i18n-fix-unexpand.patch | ||
| coreutils-i18n-fold-newline.patch | ||
| coreutils-i18n-sort-human.patch | ||
| coreutils-i18n-un-expand-BOM.patch | ||
| coreutils-i18n.patch | ||
| coreutils-provides.inc | ||
| coreutils-selinux.patch | ||
| coreutils.spec | ||
| rh_i18n_wip.tar.gz | ||
| sh-utils-2.0.11-dateman.patch | ||
| sources | ||
| STAGE1-coreutils | ||
| supported_utils | ||
| upstream-key.gpg | ||