From: Jan Kara Date: Fri, 19 Dec 2014 11:21:47 +0000 (+0100) Subject: udf: Verify symlink size before loading it X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~344^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a1d47b262952a45aae62bd49cfaf33dd76c11a2c;p=pandora-kernel.git udf: Verify symlink size before loading it UDF specification allows arbitrarily large symlinks. However we support only symlinks at most one block large. Check the length of the symlink so that we don't access memory beyond end of the symlink block. CC: stable@vger.kernel.org Reported-by: Carl Henrik Lunde Signed-off-by: Jan Kara --- Reading git-diff-tree failed