Re: [PATCH] hw/ufs: Fix potential bugs in MMIO read|write

2024-06-24 Thread Jeuk Kim
On 6/24/2024 7:27 PM, Peter Maydell wrote: On Sun, 23 Jun 2024 at 03:46, Minwoo Im wrote: This patch fixes two points reported in coverity scan report [1]. Check the MMIO access address with (addr + size), not just with the start offset addr to make sure that the requested memory access not

Re: [PATCH] hw/ufs: Fix potential bugs in MMIO read|write

2024-06-24 Thread Peter Maydell
On Sun, 23 Jun 2024 at 03:46, Minwoo Im wrote: > > This patch fixes two points reported in coverity scan report [1]. Check > the MMIO access address with (addr + size), not just with the start offset > addr to make sure that the requested memory access not to exceed the > actual register region.

Re: [PATCH] hw/ufs: Fix potential bugs in MMIO read|write

2024-06-24 Thread Jeuk Kim
On 6/23/2024 11:45 AM, Minwoo Im wrote: This patch fixes two points reported in coverity scan report [1]. Check the MMIO access address with (addr + size), not just with the start offset addr to make sure that the requested memory access not to exceed the actual register region. We also updat