-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
e2fstool: fix: UB when short mnt point is used
using a shot lenghed mountpoint (ex: "/") will result in a UB leading envtually to a crash. Also includes: * fixed another crash senario when android_configure is 0 and walk_fs tries to close/free a non-open/null file/pointer. * now using bool type for appopriate vars * droped asprintf/GNU code ext * droped !HAVE_LIB_NT_H support * clean params private_data struct * dynamically allocate escaped paths mem to not waste any * change ino_get_config ctx handling code * raw image type option changed from "-r" to "-e" for similiarity with e2fsdroid (ext4) * usage now prints all supported opts Signed-off-by: svoboda18 <dev.svoboda18@gmail.com>
- Loading branch information
Showing
2 changed files
with
94 additions
and
90 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters