]> git.karo-electronics.de Git - karo-tx-linux.git/commit
udf: Fortify loading of sparing table
authorJan Kara <jack@suse.cz>
Wed, 27 Jun 2012 19:23:07 +0000 (21:23 +0200)
committerBen Hutchings <ben@decadent.org.uk>
Thu, 12 Jul 2012 03:32:10 +0000 (04:32 +0100)
commita9f1af04f086656246f30354fb4564ce3b08c4a0
tree20cece4529ecf901a1d778988e6ab30c3e530b26
parent007871a045112d5e4228b69d9cf0fb95b73d3d71
udf: Fortify loading of sparing table

commit 1df2ae31c724e57be9d7ac00d78db8a5dabdd050 upstream.

Add sanity checks when loading sparing table from disk to avoid accessing
unallocated memory or writing to it.

Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
fs/udf/super.c