Closed imlk0 closed 2 years ago
Acked-by: Etienne Carriere <etienne.carriere@linaro.org>
with commit message fixed.
@KB5201314, could you add a description line + s-o-b and review tags, as expected in optee changes, e.g.:
plugins: fix formatting string of the syslog()
Fixes over-print in current version of syslog_plugin.c due to passed string maybe not
being NULL terminated. Using %.*s format specifier fixes the issue.
Signed-off-by: ...
Acked-by: Jerome Forissier <jerome.forissier@linaro.org>
Acked-by: Etienne Carriere <etienne.carriere@linaro.org>
@etienne-lms Description line added and tags applied. Thank you.
There is a over-print in current version of
syslog_plugin.c
, since(const char*) data
is not NULL terminated.https://www.cplusplus.com/reference/cstdio/printf/
Can be fixed by replace
%*s
with%.*s
:)