Whamcloud - gitweb
libext2fs: fix uninitialized variable dereference in extent_bmap()
authorTheodore Ts'o <tytso@mit.edu>
Sat, 23 Jun 2018 02:33:39 +0000 (22:33 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Sat, 23 Jun 2018 02:44:47 +0000 (22:44 -0400)
commitf23a1b7f48ec471068de70a9124d46aaec6de6bb
treeb995eb1e5818ad4dfb445a2c6036f90e0c21cbd0
parent98eaa7c98e66417bf6b0981d4b2fd81f776fe13b
libext2fs: fix uninitialized variable dereference in extent_bmap()

The code path was failing to initialize the logial block number hint
in the allocation context.  It's not currently being used, but it
might be in the future, and it trips warnings in static code
analyzers.

Fixes-Coverity-Bug: 709545
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
lib/ext2fs/bmap.c