From: Jan Kara Date: Fri, 19 Dec 2014 11:21:47 +0000 (+0100) Subject: udf: Verify symlink size before loading it X-Git-Tag: v3.2.67~85 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ff19c553450f31186b7d1986d6de56ac130e54cd;p=pandora-kernel.git udf: Verify symlink size before loading it commit a1d47b262952a45aae62bd49cfaf33dd76c11a2c upstream. 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. Reported-by: Carl Henrik Lunde Signed-off-by: Jan Kara Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed