lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Thu, 23 Mar 2017 18:15:05 +0100 From: David Hildenbrand <david@...hat.com> To: Cornelia Huck <cornelia.huck@...ibm.com> Cc: kvm@...r.kernel.org, Paolo Bonzini <pbonzini@...hat.com>, rkrcmar@...hat.com, Dmitry Vyukov <dvyukov@...gle.com>, Marcelo Tosatti <mtosatti@...hat.com>, stable@...r.kernel.org, LKML <linux-kernel@...r.kernel.org> Subject: Re: [PATCH v1] KVM: kvm_io_bus_unregister_dev() should never fail > > Either that, or an early exit for bus == NULL in kvm_io_bus_destroy(). > (I think the second option is more straightforward.) I prefer to have the checks where kvm->buses[x] is actually accessed. So the chance of missing yet another check is easier to verify. Will send out v2 in a couple of minutes. Thanks! -- Thanks, David
Powered by blists - more mailing lists