]> err.no Git - util-linux/commit
libblkid: fix buffer usage in FAT prober
authorKarel Zak <kzak@redhat.com>
Tue, 6 Oct 2009 07:17:06 +0000 (09:17 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 6 Oct 2009 07:17:06 +0000 (09:17 +0200)
commit041a4ff1db7c3004644211377ac828e8a536da02
treef4164398acd178ec945c5673bab7844a58c0f8c7
parent6e0693bf32860e17548c0f3f37725537c2c0e07d
libblkid: fix buffer usage in FAT prober

The blkid_probe_get_buffer() function returns buffer that could be
overwritten in the next blkid_probe_get_buffer() call. It means that
we have to save FAT super block to the temporary buffer if we want to
call blkid_probe_get_buffer() for directory entries or fsinfo.

Signed-off-by: Karel Zak <kzak@redhat.com>
shlibs/blkid/src/superblocks/vfat.c