summaryrefslogtreecommitdiffstats
path: root/fs/udf/balloc.c
diff options
context:
space:
mode:
authorVegard Nossum <vegard.nossum@oracle.com>2015-12-11 15:54:16 +0100
committerJan Kara <jack@suse.cz>2015-12-23 11:47:55 +0100
commitb0918d9f476a8434b055e362b83fa4fd1d462c3f (patch)
tree8dfe5525ec62da377c446d8ebdb92d829089bbf7 /fs/udf/balloc.c
parente7a4eb861203b605c6428ec29e0b5e3c3f4f537f (diff)
downloadop-kernel-dev-b0918d9f476a8434b055e362b83fa4fd1d462c3f.zip
op-kernel-dev-b0918d9f476a8434b055e362b83fa4fd1d462c3f.tar.gz
udf: limit the maximum number of indirect extents in a row
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 <vegard.nossum@oracle.com> Cc: stable@vger.kernel.org Cc: Jan Kara <jack@suse.com> Cc: Quentin Casasnovas <quentin.casasnovas@oracle.com> Cc: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'fs/udf/balloc.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud