
27 Sep
2020
27 Sep
'20
3:59 a.m.
On Mon, 14 Sep 2020 at 02:01, Heinrich Schuchardt xypron.glpk@gmx.de wrote:
When a message is written by a log driver (e.g. via the network stack) this may result in the generation of further messages. We cannot allow these additional messages to be emitted as this might result in an infinite recursion.
Up to now only the syslog driver was safeguarded. We should safeguard all log drivers instead.
Signed-off-by: Heinrich Schuchardt xypron.glpk@gmx.de
common/log.c | 13 ++++++++++++- common/log_syslog.c | 8 -------- 2 files changed, 12 insertions(+), 9 deletions(-)
Reviewed-by: Simon Glass sjg@chromium.org
Applied to u-boot-dm/next, thanks!