]> git.ipfire.org Git - thirdparty/util-linux.git/commit
libblkid: (gpt) don't modify in memory buffers
authorKarel Zak <kzak@redhat.com>
Wed, 21 Nov 2012 14:47:56 +0000 (15:47 +0100)
committerKarel Zak <kzak@redhat.com>
Wed, 21 Nov 2012 14:47:56 +0000 (15:47 +0100)
commitf907d66b6346f80ff4d6289eedd46741efa6f415
tree84e9e9deb89db604816948c9ce18ba6cbc402e7e
parent2968c3fc7388f88b8debe64d61d9785601c16436
libblkid: (gpt) don't modify in memory buffers

LIBBLKID_DEBUG=0xffff blkid -p ....

gpt: ---> call probefunc()
reuse buffer: off=0 len=1024 pr=0xb0b690
reuse buffer: off=0 len=1024 pr=0xb0b690
reuse buffer: off=1024 len=16384 pr=0xb0b690
GPT entries corrupted
reuse buffer: off=10737417728 len=512 pr=0xb0b690
reuse buffer: off=10737401344 len=16384 pr=0xb0b690
GPT entries corrupted
gpt: <--- (rc = 1)

Reported-by: Dave Reisner <d@falconindy.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
libblkid/src/partitions/gpt.c