Thread (6 messages) read the whole thread 6 messages, 4 authors, 2011-11-20

Re: e2fsprogs: Avoid infinite loop in ext2fs_find_block_device()

From: Theodore Tso <tytso@MIT.EDU>
Date: 2011-11-03 15:27:57

On Nov 3, 2011, at 10:47 AM, Eric Sandeen wrote:
My only concern would be that depth 5 isn't totally unreasonable in real life, and this causes it to silently stop searching, right?
Would there be much harm in making the limit much higher, to be fairly sure that it has wandered off into the weeds?
Agreed, the kernel currently uses a limit of 8.  And we should use a #define for this in lib/ext2fs/ext2fsP.h, and use it for both finddev.c and lib/ext2fs/namei.c.

-- Ted
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help