[PATCH 0/2] Misc fixes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Jes Sorensen <Jes.Sorensen@xxxxxxxxxx>

Hi,

Two fixes:

The first is to avoid a use-after-free case. I looked at this one for
a while, and I believe this is the intention of the code. Ie. once we
find the first entry, bail out to the end rather than going back
re-iterating over the list that we just freed.

The second to avoid the case where a GPT partition table entry is
larger than 128 bytes, in which case we would read it and corrupt the
stack.

Jes Sorensen (2):
  Avoid use after free
  Avoid stack overflow if GPT partition entries on disk are > 128 bytes

 util.c |   15 ++++++++++-----
 1 files changed, 10 insertions(+), 5 deletions(-)

-- 
1.7.6.4

--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux