Peter Jones 879c4a8342 lvm: Fix two more potential data-dependent alloc overflows
It appears to be possible to make a (possibly invalid) lvm PV with
a metadata size field that overflows our type when adding it to the
address we've allocated. Even if it doesn't, it may be possible to do so
with the math using the outcome of that as an operand. Check them both.

Signed-off-by: Peter Jones <pjones@redhat.com>
Signed-off-by: Darren Kenny <darren.kenny@oracle.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
2020-07-29 16:55:48 +02:00
..
2019-03-25 15:14:52 +01:00
2019-03-25 15:14:52 +01:00
2019-03-25 15:14:52 +01:00
2020-07-29 16:55:47 +02:00
2019-03-25 15:14:52 +01:00
2015-01-24 21:47:51 +01:00
2019-03-25 15:14:52 +01:00
2019-03-25 15:14:52 +01:00
2020-07-29 16:55:47 +02:00
2012-03-26 16:10:40 +02:00
2019-03-25 15:14:52 +01:00
2019-03-25 15:14:52 +01:00