ext2: fix for uninitialized pointer read.
path.ep_bp was being used uninitialized in ext4_ext_find_extent(). CID: 1062344 MFC after: 1 week
This commit is contained in:
parent
d9a8f0535a
commit
142fb530ca
@ -94,7 +94,7 @@ ext4_bmapext(struct vnode *vp, int32_t bn, int64_t *bnp, int *runp, int *runb)
|
||||
struct inode *ip;
|
||||
struct m_ext2fs *fs;
|
||||
struct ext4_extent *ep;
|
||||
struct ext4_extent_path path;
|
||||
struct ext4_extent_path path = { .ep_bp = NULL };
|
||||
daddr_t lbn;
|
||||
|
||||
ip = VTOI(vp);
|
||||
|
Loading…
x
Reference in New Issue
Block a user