Group :: Engineering
RPM: GMT
package id | status | test | message |
---|---|---|---|
GMT-common-6.4.0-alt1_10.noarch |
fail | unsafe-tmp-usage-in-scripts | The test discovered scripts with errors which may be used by a user for damaging important system files. For example if a script uses in its work a temp file which is created in /tmp directory, then every user can create symlinks with the same name (pattern) in this directory in order to destroy or rewrite some system or another user's files. Scripts _must_ _use_ mktemp/tempfile or must use $TMPDIR. mktemp/tempfile is safest. $TMPDIR is safer than /tmp/ because libpam-tmpdir creates a subdirectory of /tmp that is only accessible by that user, and then sets TMPDIR and other variables to that. Hence, it doesn't matter nearly as much if you create a non-random filename, because nobody but you can access it. Found error in /usr/share/gmt/tools/gmt_prepmex.sh: $ grep /tmp/ /usr/share/gmt/tools/gmt_prepmex.sh # First get a reliable absolute path to the bundle's top directory pushd $(dirname $0) > /dev/null BUNDLEDIR=$(pwd | sed sB/Contents/Resources/share/toolsBBg) popd > /dev/null # Set pat... [the rest of the message is skipped] |
GMT-debuginfo-6.4.0-alt1_10.x86_64 |
ok | checkbashisms | |
GMT-debuginfo-6.4.0-alt1_10.x86_64 |
ok | unsafe-tmp-usage-in-scripts | |
GMT-debuginfo-6.4.0-alt1_10.x86_64 |
ok | sisyphus_check | |
GMT-debuginfo-6.4.0-alt1_10.x86_64 |
ok | buildroot | |
GMT-devel-6.4.0-alt1_10.x86_64 |
ok | checkbashisms | |
GMT-devel-6.4.0-alt1_10.x86_64 |
ok | unsafe-tmp-usage-in-scripts | |
GMT-devel-6.4.0-alt1_10.x86_64 |
ok | sisyphus_check | |
GMT-devel-6.4.0-alt1_10.x86_64 |
ok | buildroot | |
GMT-6.4.0-alt1_10.x86_64 |
ok | checkbashisms | |
GMT-6.4.0-alt1_10.x86_64 |
ok | sisyphus_check | |
GMT-6.4.0-alt1_10.x86_64 |
ok | buildroot | |
GMT-doc-6.4.0-alt1_10.noarch |
ok | checkbashisms | |
GMT-doc-6.4.0-alt1_10.noarch |
ok | unsafe-tmp-usage-in-scripts | |
GMT-doc-6.4.0-alt1_10.noarch |
ok | sisyphus_check | |
GMT-doc-6.4.0-alt1_10.noarch |
ok | buildroot | |
GMT-common-6.4.0-alt1_10.noarch |
ok | checkbashisms | |
GMT-common-6.4.0-alt1_10.noarch |
ok | sisyphus_check | |
GMT-common-6.4.0-alt1_10.noarch |
ok | buildroot |