OSDN Git Service

Fix bug which could cause libblkid to loop forever
authorTheodore Ts'o <tytso@mit.edu>
Sat, 7 Jul 2007 22:32:26 +0000 (18:32 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Sun, 8 Jul 2007 12:50:41 +0000 (08:50 -0400)
commitac7dd696d60a2cb6d27c2c4855fefc7b26a26d72
tree7435d00663541c8e46b1459230cfd5b81645072f
parent73d4f8ccaad195648138c46d8809dba2dfe70915
Fix bug which could cause libblkid to loop forever

When revalidating a partition where there is obsolete information in
/etc/blkid.tab, we end up freeing a the type tag without clearing
dev->bid_type, causing blkid_verify() to loop forever.

Addresses-Debian-Bug: #432052

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
lib/blkid/tag.c