|
From: | Philippe Mathieu-Daudé |
Subject: | Re: [PATCH 4/5] hw/i2c: pmbus: block uninitialised string reads |
Date: | Wed, 29 Mar 2023 16:15:40 +0200 |
User-agent: | Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.9.0 |
On 22/3/23 18:55, Titus Rwantare wrote:
Devices models calling pmbus_send_string can't be relied upon to send a non-zero pointer. This logs an error and doesn't segfault. Reviewed-by: Patrick Venture <venture@google.com> Signed-off-by: Titus Rwantare <titusr@google.com> --- hw/i2c/pmbus_device.c | 7 +++++++ 1 file changed, 7 insertions(+)
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
[Prev in Thread] | Current Thread | [Next in Thread] |