summaryrefslogtreecommitdiffstats
path: root/meta/lib/patchtest/tests/base.py
diff options
context:
space:
mode:
authorTrevor Gamblin <tgamblin@baylibre.com>2023-10-25 10:47:39 -0400
committerSteve Sakoman <steve@sakoman.com>2023-11-24 05:01:37 -1000
commit3f4011aba42814dfd9c019c7140364553c08231e (patch)
tree917fbb072c7a65045ae5f114bd2df5b3c787bd76 /meta/lib/patchtest/tests/base.py
parent48537fb77b51c9b7e0bdee5264d78cf9a0c4b6af (diff)
downloadpoky-3f4011aba42814dfd9c019c7140364553c08231e.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: 8e7e39134df926203b7bdfad22916e0d5da0589d) Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit b0d53cf587dc9afb97f00c1089e45b758e96dd7c) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'meta/lib/patchtest/tests/base.py')
0 files changed, 0 insertions, 0 deletions