Btrfs: Don't trust the superblock label and simply printk("%s") it
Someone who is root or capable(CAP_SYS_ADMIN) could corrupt the
superblock and make Btrfs printk("%s") crash while holding the
uuid_mutex since nobody forces a limit on the string. Since the
uuid_mutex is significant, the system would be unusable
afterwards.
Signed-off-by: 
Stefan Behrens <sbehrens@giantdisaster.de>
Reviewed-by: 
David Sterba <dsterba@suse.cz>
Signed-off-by: 
Chris Mason <chris.mason@fusionio.com>
Loading
Please register or sign in to comment