Re: [PATCH] hw/vfio/pci-quirks: Sanitize capability pointer

2023-07-02 Thread Cédric Le Goater
On 7/1/23 00:36, Alex Williamson wrote: Coverity reports a tained scalar when traversing the capabilities chain (CID 1516589). In practice I've never seen a device with a chain so broken as to cause an issue, but it's also pretty easy to sanitize. Fixes: f6b30c1984f7 ("hw/vfio/pci-quirks: Suppo

[PATCH] hw/vfio/pci-quirks: Sanitize capability pointer

2023-06-30 Thread Alex Williamson
Coverity reports a tained scalar when traversing the capabilities chain (CID 1516589). In practice I've never seen a device with a chain so broken as to cause an issue, but it's also pretty easy to sanitize. Fixes: f6b30c1984f7 ("hw/vfio/pci-quirks: Support alternate offset for GPUDirect Cliques