Skip to content

Commit 065d498

Browse files
committed
Merge tag 'fs_for_v6.15-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs
Pull isofs fix from Jan Kara: "Fix a case where isofs could be reading beyond end of the passed file handle if its type was incorrectly set" * tag 'fs_for_v6.15-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs: isofs: Prevent the use of too small fid
2 parents 834a4a6 + 0405d4b commit 065d498

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fs/isofs/export.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ static struct dentry *isofs_fh_to_parent(struct super_block *sb,
180180
return NULL;
181181

182182
return isofs_export_iget(sb,
183-
fh_len > 2 ? ifid->parent_block : 0,
183+
fh_len > 3 ? ifid->parent_block : 0,
184184
ifid->parent_offset,
185185
fh_len > 4 ? ifid->parent_generation : 0);
186186
}

0 commit comments

Comments
 (0)