diff options
author | Chen Qi <qi.chen@windriver.com> | 2013-12-05 10:54:35 -0500 |
---|---|---|
committer | Chen Qi <Qi.Chen@windriver.com> | 2016-02-19 10:34:02 +0800 |
commit | e74382b4ce479b57ebfd9e68bd75bef1c75eeb78 (patch) | |
tree | 0db77e7ed0ccc7d2ac27006f35d6657b300915a0 /meta/recipes-kernel/kexec | |
parent | 31af4a37c429bb1db8bfc64242b2963220f9a0e1 (diff) | |
download | openembedded-core-contrib-ChenQi/qa-unsafe.tar.gz |
insane.bbclass: make the checking stricter for unsafe references in scriptsChenQi/qa-unsafe
Previously, the checking for unsafe references is not strict enough. It
only checks whether '/usr/' is in the script. As a result, any script
containing statements like below will match this check.
PATH="/bin:/sbin:/usr/bin:/usr/sbin"
However, as we can see, this is actually not an unsafe reference. What
we really want to check is something like '/usr/bin/tail', so we should
make the checking stricter.
This patch solves the QA warning in gzip and nfs-utils.
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Diffstat (limited to 'meta/recipes-kernel/kexec')
0 files changed, 0 insertions, 0 deletions