|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [PATCH for-4.15 5/5] tools/xenstored: Silence coverity when using xs_state_* structures
On 25.02.21 18:41, Julien Grall wrote: From: Julien Grall <jgrall@xxxxxxxxxx> Coverity will report unitialized values for every use of xs_state_* structures in the save part. This can be prevented by using the [0] rather than [] to define variable length array. Coverity-ID: 1472398 Coverity-ID: 1472397 Coverity-ID: 1472396 Coverity-ID: 1472395 Signed-off-by: Julien Grall <jgrall@xxxxxxxxxx> Sorry, but Coverity is clearly wrong here. Should we really modify our code to work around bugs in external static code analyzers? Juergen
Attachment:
OpenPGP_0xB0DE9DD628BF132F.asc Attachment:
OpenPGP_signature
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |