diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2017-11-03 16:16:10 +1300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-11-05 22:33:23 +0000 |
commit | d4fd7e2aa1ee1192e17d494faa52f4d52d041544 (patch) | |
tree | c0c9bf2a0ac315fcbb70bb034d50ecec25acccf2 /LICENSE | |
parent | 397abe3acd12f1ef67c0a5d82d42fc858eb8864f (diff) | |
download | poky-d4fd7e2aa1ee1192e17d494faa52f4d52d041544.tar.gz |
lib/oe/sstatesig: fix wildcard matching wrong task signature files
With a '*' as a wildcard for the signature here we can also match a
portion of the task name with the result that we may match a sigdata
file for the wrong task. Luckily the signature is always the same
length - 32 characters - so we can simply use 32 '?' characters instead.
(A regex would have been another alternative, but the wildcard should be
effective and I felt like a regex would complicate the code more than
this solution).
Fixes [YOCTO #11763].
(From OE-Core rev: 73c6f85457361cd82d44838946aa81ba9bd1662a)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'LICENSE')
0 files changed, 0 insertions, 0 deletions