Skip to content
Commit 1fc799e1 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds
Browse files

ntfs_init_locked_inode(): fix array indexing



Local variable `i' is a byte-counter.  Don't use it as an index into an array
of le32's.

Reported-by: default avatar"young dave" <hidave.darkstar@gmail.com>
Cc: "Christoph Lameter" <clameter@sgi.com>
Acked-by: default avatarAnton Altaparmakov <aia21@cantab.net>
Cc: <stable@kernel.org>
Cc: Adrian Bunk <bunk@stusta.de>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent ebdf7d39
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment