Skip to content
Commit 8e7e3913 authored by Trevor Gamblin's avatar Trevor Gamblin Committed by Steve Sakoman
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>
(cherry picked from commit b0d53cf5)
Signed-off-by: default avatarSteve Sakoman <steve@sakoman.com>
parent 97c1d8aa
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