Re: [PATCH] hw/vfio-user: fix use of uninitialized variable

2025-07-14 Thread Cédric Le Goater
On 7/8/25 17:49, John Levon wrote: Coverity reported: CID 1611805: Uninitialized variables in vfio_user_dma_map(). This can occur in the happy path when ->async_ops was not set; as this doesn't typically happen, it wasn't caught during testing. Align both map and unmap implementations

Re: [PATCH] hw/vfio-user: fix use of uninitialized variable

2025-07-09 Thread Mark Cave-Ayland
On 08/07/2025 16:49, John Levon wrote: Coverity reported: CID 1611805: Uninitialized variables in vfio_user_dma_map(). This can occur in the happy path when ->async_ops was not set; as this doesn't typically happen, it wasn't caught during testing. Align both map and unmap implementat

[PATCH] hw/vfio-user: fix use of uninitialized variable

2025-07-08 Thread John Levon
Coverity reported: CID 1611805: Uninitialized variables in vfio_user_dma_map(). This can occur in the happy path when ->async_ops was not set; as this doesn't typically happen, it wasn't caught during testing. Align both map and unmap implementations to initialize ret the same way to res