[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 1/3] ieee1275: ofdisk dangling pointer
From: |
Daniel Kiper |
Subject: |
Re: [PATCH 1/3] ieee1275: ofdisk dangling pointer |
Date: |
Thu, 29 Oct 2015 15:48:46 +0100 |
User-agent: |
Mutt/1.3.28i |
On Mon, Oct 26, 2015 at 05:43:36PM -0400, Eric Snowberg wrote:
> Within commit: 87ec3b7fa9061f470616ed927fc140e995831c00 -
> "Don't continue to query block-size if disk doesn't have it.???
> a dangling pointer was introduced.
>
> Fix dangling pointer issue in grub_ofdisk_open where devpath is freed
> and then used again within the call to grub_ofdisk_get_block_size. This
> solves many memory corruption issues we were seeing.
>
> Signed-off-by: Eric Snowberg <address@hidden>
Please CC me too if you repost patches on grub-devel.
Daniel