> Subject: [PATCH] mmc: zynq_sdhci: fix uninitialized pointer deref on probe
>
> Since commit 3d296365e4e8 ("mmc: sdhci: Add support for
> sdhci-caps-mask") sdhci_setup_cfg() expects a valid sdhci_host mmc field.
> Move the mmc field initialization before sdhci_setup_cfg() call to avoid crash
>
On 02. 08. 19 11:23, Peng Fan wrote:
>
>> Subject: Re: [PATCH] mmc: zynq_sdhci: fix uninitialized pointer deref on
>> probe
>>
>> On 01. 08. 19 17:00, Matwey V. Kornilov wrote:
>>> Since commit 3d296365e4e8 ("mmc: sdhci: Add support for
>>> sdhci-caps-mask") sdhci_setup_cfg() expects a valid
> Subject: Re: [PATCH] mmc: zynq_sdhci: fix uninitialized pointer deref on probe
>
> On 01. 08. 19 17:00, Matwey V. Kornilov wrote:
> > Since commit 3d296365e4e8 ("mmc: sdhci: Add support for
> > sdhci-caps-mask") sdhci_setup_cfg() expects a valid sdhci_host mmc
> > field. Move the mmc field
On 01. 08. 19 17:00, Matwey V. Kornilov wrote:
> Since commit 3d296365e4e8 ("mmc: sdhci: Add support for
> sdhci-caps-mask") sdhci_setup_cfg() expects a valid sdhci_host mmc
> field. Move the mmc field initialization before sdhci_setup_cfg()
> call to avoid crash on mmc pointer dereference.
>
>
> Subject: [PATCH] mmc: zynq_sdhci: fix uninitialized pointer deref on probe
>
> Since commit 3d296365e4e8 ("mmc: sdhci: Add support for
> sdhci-caps-mask") sdhci_setup_cfg() expects a valid sdhci_host mmc field.
> Move the mmc field initialization before sdhci_setup_cfg() call to avoid crash
>
Since commit 3d296365e4e8 ("mmc: sdhci: Add support for
sdhci-caps-mask") sdhci_setup_cfg() expects a valid sdhci_host mmc
field. Move the mmc field initialization before sdhci_setup_cfg()
call to avoid crash on mmc pointer dereference.
[this patch is based on commit 41a9fab8dac8 ("mmc: mv_sdhci:
6 matches
Mail list logo