[libvirt] [PATCH] util: fix bug found by Coverity
Laine Stump
laine at laine.org
Tue Jun 25 19:04:32 UTC 2013
On 06/25/2013 01:30 PM, John Ferlan wrote:
> On 06/25/2013 12:11 PM, Laine Stump wrote:
>> Commit 861d40565 added code (my personal change to "clean up" the
>> submitter's code, *not* the fault of the submitter) that dereferenced
>> virtVlan without first checking for NULL. This patch fixes that and,
>> as part of the fix, cleans up some unnecessary obtuseness.
>> ---
>> John - Does this eliminate the Coverity complaints?
>>
>> src/util/virnetdevopenvswitch.c | 48 ++++++++++++++++++++---------------------
>> 1 file changed, 24 insertions(+), 24 deletions(-)
>>
> Yes - ACK
Pushed. Thanks!
More information about the libvir-list
mailing list