From: Stefan Behrens Date: Mon, 5 Nov 2012 13:10:49 +0000 (+0000) Subject: Btrfs: Don't trust the superblock label and simply printk("%s") it X-Git-Tag: v3.8-rc1~71^2~86 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d03f918ab9036cc71740c0aa796c8e02e6f6f6d3;p=pandora-kernel.git 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 Reviewed-by: David Sterba Signed-off-by: Chris Mason --- Reading git-diff-tree failed