Skip to content
Commit b0d53cf5 authored by Trevor Gamblin's avatar Trevor Gamblin Committed by Richard Purdie
Browse files

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.

Signed-off-by: default avatarTrevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: default avatarRichard Purdie <richard.purdie@linuxfoundation.org>
parent 2e923a5a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment