Re: [Qemu-devel] [qemu-s390x] [PATCH v2] s390: avoid potential null dereference in s390_pcihost_unplug()

2019-01-07 Thread Cornelia Huck
On Fri, 4 Jan 2019 16:05:15 +0100 Halil Pasic wrote: > On Fri, 4 Jan 2019 15:10:05 +0100 > Cornelia Huck wrote: > > > On Thu, 3 Jan 2019 07:16:12 -0800 > > Li Qiang wrote: > > > > > When getting the 'pbdev', the if...else has no default branch. > > > From Coverity, the 'pbdev' maybe null

Re: [Qemu-devel] [qemu-s390x] [PATCH v2] s390: avoid potential null dereference in s390_pcihost_unplug()

2019-01-04 Thread Halil Pasic
On Fri, 4 Jan 2019 15:10:05 +0100 Cornelia Huck wrote: > On Thu, 3 Jan 2019 07:16:12 -0800 > Li Qiang wrote: > > > When getting the 'pbdev', the if...else has no default branch. > > From Coverity, the 'pbdev' maybe null when the 'dev' is not > > the