kpartx: verify GUID partition entry size
authorBenjamin Marzinski <bmarzins@redhat.com>
Fri, 10 Feb 2012 18:14:39 +0000 (12:14 -0600)
committerChristophe Varoqui <christophe.varoqui@opensvc.com>
Sat, 11 Feb 2012 08:20:07 +0000 (09:20 +0100)
commit1b8fda4e1d3c267827deac032a2610b742ccc9bf
treebf83bfb2460dfb25f128610dd3343e5bc413bf18
parent1d34f1b618fe0398d4c5c60688ec382d592d92dd
kpartx: verify GUID partition entry size

This patch pulls in some kernel code to catch a corrupt GUID partition
table with the wrong size.

Signed-off-by: Boris Ranto <branto@redhat.com>
Signed-off-by: Benjamin Marzinski <bmarzins@redhat.com>
kpartx/gpt.c