aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gdb
diff options
context:
space:
mode:
authorBob Copeland <me@bobcopeland.com>2015-05-28 15:44:37 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2015-05-28 18:25:19 -0700
commit5a6b2b36a8249ec9dfb2a714acadad86d9cc0aee (patch)
treef3878e295f5eaa25ecee2925481e4c0d9182f5a0 /scripts/gdb
parentomfs: fix sign confusion for bitmap loop counter (diff)
downloadlinux-dev-5a6b2b36a8249ec9dfb2a714acadad86d9cc0aee.tar.xz
linux-dev-5a6b2b36a8249ec9dfb2a714acadad86d9cc0aee.zip
omfs: fix potential integer overflow in allocator
Both 'i' and 'bits_per_entry' are signed integers but the result is a u64 block number. Cast i to u64 to avoid truncation on 32-bit targets. Found by Coverity (CID 200679). Signed-off-by: Bob Copeland <me@bobcopeland.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'scripts/gdb')
0 files changed, 0 insertions, 0 deletions