summaryrefslogtreecommitdiff
path: root/Documentation/controllers/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorHyungjung Joo <jhj140711@gmail.com>2026-03-13 22:29:43 +0900
committerDavid Sterba <dsterba@suse.com>2026-04-10 02:51:05 +0200
commit6fa253b38b9b293a0de2a361de400557ca7666ca (patch)
treea32d105d40728fdcc23e9a990cd02288c5a30f8e /Documentation/controllers/git@git.tavy.me:linux.git
parentc369299895a591d96745d6492d4888259b004a9e (diff)
affs: bound hash_pos before table lookup in affs_readdir
affs_readdir() decodes ctx->pos into hash_pos and chain_pos and then dereferences AFFS_HEAD(dir_bh)->table[hash_pos] before validating that hash_pos is within the runtime table bound. Treat out-of-range positions as end-of-directory before the first table lookup. Signed-off-by: Hyungjung Joo <jhj140711@gmail.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'Documentation/controllers/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions