Whamcloud - gitweb
AOSP: e2fsdroid: Fix crash with invalid command line args
authorDavid Anderson <dvander@google.com>
Fri, 2 Mar 2018 23:38:38 +0000 (15:38 -0800)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 20 Jul 2018 22:49:35 +0000 (18:49 -0400)
commit4eca2aef6a8a0e7678afb76c1eda1756c039c481
treeb689d89c48a974410f0479a0aa800d312055d581
parent59c2913cb4e36e7090e12712122c6c24f0cd2a72
AOSP: e2fsdroid: Fix crash with invalid command line args

If a sparse file fails to load, an inconsistent channel pointer will be
returned, causing e2fsdroid to crash on exit.

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Bug: 64109868
Change-Id: If1606c7c49d5569323db5b5fce4826f24ba76383
From AOSP commit: 0f31d29a968eed6dc3c96eb47fd34e8608a2580c
lib/ext2fs/sparse_io.c