Re: [PATCH 4/5] hw/i2c: pmbus: block uninitialised string reads

2023-03-30 Thread Corey Minyard
On Wed, Mar 22, 2023 at 05:55:12PM +, 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. Yes, a good idea. Acked-by: Corey Minyard > > Reviewed-by: Patrick Venture > Signed-off-by:

Re: [PATCH 4/5] hw/i2c: pmbus: block uninitialised string reads

2023-03-29 Thread Philippe Mathieu-Daudé
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 Signed-off-by: Titus Rwantare --- hw/i2c/pmbus_device.c | 7 +++ 1 file changed, 7

[PATCH 4/5] hw/i2c: pmbus: block uninitialised string reads

2023-03-22 Thread Titus Rwantare
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 Signed-off-by: Titus Rwantare --- hw/i2c/pmbus_device.c | 7 +++ 1 file changed, 7 insertions(+) diff --git