diff options
author | Trevor Gamblin <tgamblin@baylibre.com> | 2023-10-25 10:47:39 -0400 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-10-25 15:52:13 +0100 |
commit | d1c21e9eea7b19cd8104680a0c9b9c1f8f1b6d7b (patch) | |
tree | 95a2396a6029d24382aff98f9be909b16096f71f /scripts/lib/recipetool/create_buildsys_python.py | |
parent | 1221529a6902ad838e1d3a502731f9529e42031b (diff) | |
download | poky-d1c21e9eea7b19cd8104680a0c9b9c1f8f1b6d7b.tar.gz |
patchtest-send-results: check max line length, simplify responses
Check that the maximum line length of the testresult file is less than
220 characters, to help guard against malicious changes being sent in
email responses. If any line exceeds this length, replace the normal
testresults used in the response with a line stating that tests failed,
but the results could not be processed. Also clean up the respone
substrings slightly to go along with the change.
(From OE-Core rev: b0d53cf587dc9afb97f00c1089e45b758e96dd7c)
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/recipetool/create_buildsys_python.py')
0 files changed, 0 insertions, 0 deletions