Use libext2fs to read ext4 params and block bitmap 38/206238/2
authorKrzysztof Jackiewicz <k.jackiewicz@samsung.com>
Wed, 15 May 2019 09:44:55 +0000 (11:44 +0200)
committerKrzysztof Jackiewicz <k.jackiewicz@samsung.com>
Wed, 15 May 2019 10:25:15 +0000 (12:25 +0200)
commitd067c1b215bcdd4eac0a66d6f14139b047c4fe7b
treebbf234a992e181645b33b2f2188b600635645533
parent6f842ba20ffe7e4b1247af5a92e8d945efdd14cb
Use libext2fs to read ext4 params and block bitmap

Until now the ext4 params and the block bitmap was calculated
manually. In some cases it could lead to buffer oveflow. This commit
replaces manual calculations with libext2fs calls.

Change-Id: I54d36a88f1950dd95d0b2a53c3dab605e308250d
fota/CMakeLists.txt
packaging/ode.spec
server/CMakeLists.txt
server/engine/encryption/dmcrypt-engine.cpp
server/ext4-tool.cpp
server/ext4-tool.h
tests/CMakeLists.txt