diff options
author | Vegard Nossum <vegard.nossum@oracle.com> | 2015-12-11 15:54:16 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-02-25 12:01:18 -0800 |
commit | aef22a3d69452aa516f6738774f7b19372034fdc (patch) | |
tree | 8cfe644bc521700ddebd64cab44193fea0823af4 /fs/befs | |
parent | 66b8812e87f3fcf9d52b107a8d3102cd3f77ae1e (diff) |
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 <vegard.nossum@oracle.com>
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/befs')
0 files changed, 0 insertions, 0 deletions