[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] [PATCH] virnetdevbandwidthtest: Introduce some more tests




On 01/31/2014 09:12 AM, Michal Privoznik wrote:
> And while doing this, fix one error raised by coverity. With
> current code, @actual_cmd is allowed to be NULL for the whole
> run of testVirNetDevBandwidthSet. However, if something else
> was expected, the @actal_cmd is passed to virtTestDifference
> which dereference it immediately.
> 
> Signed-off-by: Michal Privoznik <mprivozn redhat com>
> ---
>  tests/virnetdevbandwidthtest.c | 29 ++++++++++++++++++++++++++++-
>  1 file changed, 28 insertions(+), 1 deletion(-)
> 

ACK  (coverity is happy again too)

John


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]