Re: [PATCH] src: Initialize stack allocated virPCIDeviceAddress variables

2022-02-11 Thread Jiri Denemark
On Fri, Feb 11, 2022 at 14:36:51 +0100, Michal Privoznik wrote: > There are few places where a virPCIDeviceAddress typed variable > is allocated on the stack but it's not initialized. This can lead > to random values of its members which in turn can lead to a > random behaviour. > > Generated

[PATCH] src: Initialize stack allocated virPCIDeviceAddress variables

2022-02-11 Thread Michal Privoznik
There are few places where a virPCIDeviceAddress typed variable is allocated on the stack but it's not initialized. This can lead to random values of its members which in turn can lead to a random behaviour. Generated with help of the following spatch: @@ identifier I; @@ -