Searched hist:c03aa9f6e1f938618e6db2e23afef0574efeeb65 (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/fs/udf/ |
H A D | inode.c | diff c03aa9f6e1f938618e6db2e23afef0574efeeb65 Thu Sep 04 07:06:55 CDT 2014 Jan Kara <jack@suse.cz> udf: Avoid infinite loop when processing indirect ICBs
We did not implement any bound on number of indirect ICBs we follow when loading inode. Thus corrupted medium could cause kernel to go into an infinite loop, possibly causing a stack overflow.
Fix the possible stack overflow by removing recursion from __udf_read_inode() and limit number of indirect ICBs we follow to avoid infinite loops.
Signed-off-by: Jan Kara <jack@suse.cz>
|