diff options
author | Peter Marko <peter.marko@siemens.com> | 2024-10-30 19:49:50 +0100 |
---|---|---|
committer | Steve Sakoman <steve@sakoman.com> | 2024-11-30 05:41:59 -0800 |
commit | 449107b22b3aab032ee7da05a47ff76b8c6e3398 (patch) | |
tree | 967687b7a6a499af57f2d1caaf9d055b90d882df /scripts/lib/devtool/utilcmds.py | |
parent | 87e1004fc4d1274824b8ece09ea04876ac0126ca (diff) | |
download | poky-449107b22b3aab032ee7da05a47ff76b8c6e3398.tar.gz |
cve-check: do not skip cve status description after :
Correct maxsplit parameter from 5 to 4 to not drop text if
description contains ":".
Example:
>>> "detail: cpe:vendor:product:description:cont".split(':', 5)
['detail', ' cpe', 'vendor', 'product', 'description', 'xxx']
>>> "detail: cpe:vendor:product:description:cont".split(':', 4)
['detail', ' cpe', 'vendor', 'product', 'description:xxx']
(From OE-Core rev: 4921605aab4c9588e5c96de3afe08e9d35f51145)
Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3c4d8ca41ac0b429af92bf0ea84f1dfd0cda9e1f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'scripts/lib/devtool/utilcmds.py')
0 files changed, 0 insertions, 0 deletions