1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2025-04-01 20:05:19 +00:00
John Ferlan 6830c81307 lxc: Only check @nparams in lxcDomainBlockStatsFlags
Remove the "!params" check from the condition since it's possible
someone could pass a non NULL value there, but a 0 for the nparams
and thus continue on.  The external API only checks if @nparams is
non-zero, then check for NULL @params.

Found by Coverity

Signed-off-by: John Ferlan <jferlan@redhat.com>
ACKed-by: Michal Privoznik <mprivozn@redhat.com>
2018-10-01 14:27:07 -04:00
..
2018-08-13 11:53:53 +02:00
2018-07-26 14:15:22 +02:00
2014-04-08 11:10:59 +01:00
2014-04-08 11:10:59 +01:00
2018-09-24 09:44:37 -04:00
2016-11-09 18:56:15 +01:00