[LU-997] port the fix of 'max nested link count' from upstream e2fsprogs to master-lustre branch Created: 16/Jan/12  Updated: 06/Feb/12  Resolved: 06/Feb/12

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: Lustre 2.2.0

Type: Bug Priority: Minor
Reporter: Niu Yawei (Inactive) Assignee: Niu Yawei (Inactive)
Resolution: Fixed Votes: 0
Labels: None

Severity: 3
Rank (Obsolete): 6486

 Description   

commit 08ae93a2eda03817deabf08d4da9015a283ed56b
Author: Niu Yawei <niu@whamcloud.com>
Date: Sat Nov 19 23:08:03 2011 -0500

libext2fs: enforce a max nested link count in ext2fs_find_block_device()

Define EXT2FS_MAX_NESTED_LINKS as 8, and check the link count to make
sure we don't exceed it in ext2fs_find_block_device() and
follow_link(). This fixes a potential infinite loop in
ext2fs_find_block_device() if there are symbolic loop links in the
device directory.

Signed-off-by: Niu Yawei <niu@whamcloud.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>



 Comments   
Comment by Niu Yawei (Inactive) [ 16/Jan/12 ]

http://review.whamcloud.com/1975

Comment by Build Master (Inactive) [ 17/Jan/12 ]

Integrated in e2fsprogs-master » x86_64,el6 #162
LU-997 libext2fs: enforce a max nested link count (Revision 436c9802037e5fe57b3d805cc8b1802136072bb4)

Result = SUCCESS
Niu Yawei : 436c9802037e5fe57b3d805cc8b1802136072bb4
Files :

  • patches/series
  • patches/e2fsprogs-max-linkcount-fix.patch
Comment by Build Master (Inactive) [ 17/Jan/12 ]

Integrated in e2fsprogs-master » x86_64,el5 #162
LU-997 libext2fs: enforce a max nested link count (Revision 436c9802037e5fe57b3d805cc8b1802136072bb4)

Result = SUCCESS
Niu Yawei : 436c9802037e5fe57b3d805cc8b1802136072bb4
Files :

  • patches/e2fsprogs-max-linkcount-fix.patch
  • patches/series
Comment by Build Master (Inactive) [ 17/Jan/12 ]

Integrated in e2fsprogs-master » i686,el6 #162
LU-997 libext2fs: enforce a max nested link count (Revision 436c9802037e5fe57b3d805cc8b1802136072bb4)

Result = SUCCESS
Niu Yawei : 436c9802037e5fe57b3d805cc8b1802136072bb4
Files :

  • patches/e2fsprogs-max-linkcount-fix.patch
  • patches/series
Comment by Build Master (Inactive) [ 17/Jan/12 ]

Integrated in e2fsprogs-master » i686,el5 #162
LU-997 libext2fs: enforce a max nested link count (Revision 436c9802037e5fe57b3d805cc8b1802136072bb4)

Result = SUCCESS
Niu Yawei : 436c9802037e5fe57b3d805cc8b1802136072bb4
Files :

  • patches/e2fsprogs-max-linkcount-fix.patch
  • patches/series
Comment by Andreas Dilger [ 06/Feb/12 ]

Landed for e2fsprogs-1.41.90.wc4

Generated at Sat Feb 10 01:12:30 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.