]> git.karo-electronics.de Git - karo-tx-linux.git/commit
Squashfs: sanity check information from disk
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 17 Jul 2013 12:20:25 +0000 (15:20 +0300)
committerPhillip Lougher <phillip@squashfs.org.uk>
Thu, 29 Aug 2013 00:23:29 +0000 (01:23 +0100)
commit28d7b5684ba98e163ba37779fd09de01fac5261d
tree100179e5de52e6bb9e49b0d2f28c1045c363e70a
parentd8dfad3876e4386666b759da3c833d62fb8b2267
Squashfs: sanity check information from disk

We read the size of the name from the disk, but a larger name than
expected would cause memory corruption.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Phillip Lougher <phillip@squashfs.org.uk>
fs/squashfs/namei.c