Re: [PATCH 03/10] cros_ec: Add run-time check for input buffer overflow

2021-01-24 Thread Simon Glass
This should not happen in normal operation, but the EC might have a bug, so add a run-time check just in case. Signed-off-by: Simon Glass --- drivers/misc/cros_ec.c | 2 ++ 1 file changed, 2 insertions(+) Applied to u-boot-dm, thanks!

[PATCH 03/10] cros_ec: Add run-time check for input buffer overflow

2021-01-16 Thread Simon Glass
This should not happen in normal operation, but the EC might have a bug, so add a run-time check just in case. Signed-off-by: Simon Glass --- drivers/misc/cros_ec.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/misc/cros_ec.c b/drivers/misc/cros_ec.c index ce5fa5bee35..e51ac8740