From: Vegard Nossum Date: Fri, 11 Dec 2015 14:54:16 +0000 (+0100) Subject: udf: limit the maximum number of indirect extents in a row X-Git-Tag: v3.2.77~67 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?p=pandora-kernel.git;a=commitdiff_plain;h=ef16fa90c41f032db95b7aae74e4a6ad21a283e9;hp=ef16fa90c41f032db95b7aae74e4a6ad21a283e9;ds=sidebyside udf: limit the maximum number of indirect extents in a row commit b0918d9f476a8434b055e362b83fa4fd1d462c3f upstream. udf_next_aext() just follows extent pointers while extents are marked as indirect. This can loop forever for corrupted filesystem. Limit number the of indirect extents we are willing to follow in a row. [JK: Updated changelog, limit, style] Signed-off-by: Vegard Nossum Cc: Jan Kara Cc: Quentin Casasnovas Cc: Andrew Morton Signed-off-by: Jan Kara Signed-off-by: Ben Hutchings ---