On Tue, Jan 19, 2021 at 03:25:10PM +0530, Shradha Todi wrote:
> > -Original Message-
> > From: Leon Romanovsky
> > Subject: Re: [PATCH v4] PCI: endpoint: Fix NULL pointer dereference for -
> > >get_features()
> >
> > On Tue, Jan 12, 2021
> -Original Message-
> From: Leon Romanovsky
> Subject: Re: [PATCH v4] PCI: endpoint: Fix NULL pointer dereference for -
> >get_features()
>
> On Tue, Jan 19, 2021 at 03:25:10PM +0530, Shradha Todi wrote:
> > > -Original Message-
> > > F
On Tue, Jan 19, 2021 at 03:25:10PM +0530, Shradha Todi wrote:
> > -Original Message-
> > From: Leon Romanovsky
> > Subject: Re: [PATCH v4] PCI: endpoint: Fix NULL pointer dereference for -
> > >get_features()
> >
> > On Tue, Jan 12, 2021
> -Original Message-
> From: Leon Romanovsky
> Subject: Re: [PATCH v4] PCI: endpoint: Fix NULL pointer dereference for -
> >get_features()
>
> On Tue, Jan 12, 2021 at 07:32:25PM +0530, Shradha Todi wrote:
> > get_features ops of pci_epc_ops may return
On Tue, Jan 12, 2021 at 07:32:25PM +0530, Shradha Todi wrote:
> get_features ops of pci_epc_ops may return NULL, causing NULL pointer
> dereference in pci_epf_test_bind function. Let us add a check for
> pci_epc_feature pointer in pci_epf_test_bind before we access it to avoid
> any such NULL
On 12/01/21 7:32 pm, Shradha Todi wrote:
> get_features ops of pci_epc_ops may return NULL, causing NULL pointer
> dereference in pci_epf_test_bind function. Let us add a check for
> pci_epc_feature pointer in pci_epf_test_bind before we access it to avoid
> any such NULL pointer dereference
get_features ops of pci_epc_ops may return NULL, causing NULL pointer
dereference in pci_epf_test_bind function. Let us add a check for
pci_epc_feature pointer in pci_epf_test_bind before we access it to avoid
any such NULL pointer dereference and return -ENOTSUPP in case
pci_epc_feature is not
7 matches
Mail list logo