diff options
author | Chen Qi <qi.chen@windriver.com> | 2013-12-05 10:54:35 -0500 |
---|---|---|
committer | Chen Qi <Qi.Chen@windriver.com> | 2014-09-09 14:34:19 +0800 |
commit | 479939f8aff61e4697df9b04a072a52c9108be7c (patch) | |
tree | 9fca6bfa8723f52fa756d51c68c6f3ce800783ac /meta/recipes-extended/iputils/iputils_s20121221.bb | |
parent | aad5305342e10b8fdbf9f7fab8a07dab65412255 (diff) | |
download | openembedded-core-contrib-479939f8aff61e4697df9b04a072a52c9108be7c.tar.gz |
insane.bbclass: make the checking stricter for unsafe references in scripts
[CQID: WIND00444742]
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.
(LOCAL REV: NOT UPSTREAM) -- Sent to oe-core on 20131113
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Joe MacDonald <joe.macdonald@windriver.com>
Diffstat (limited to 'meta/recipes-extended/iputils/iputils_s20121221.bb')
0 files changed, 0 insertions, 0 deletions