Re: [PATCH 1/3] ieee1275: ofdisk dangling pointer

2015-10-29 Thread Daniel Kiper
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

Re: [PATCH 1/3] ieee1275: ofdisk dangling pointer

2015-10-26 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 26.10.2015 22:43, 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

[PATCH 1/3] ieee1275: ofdisk dangling pointer

2015-10-26 Thread Eric Snowberg
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 s