1*6a54128fSAndroid Build Coastguard WorkerE2fsprogs 1.45.5 (January 7, 2020) 2*6a54128fSAndroid Build Coastguard Worker================================== 3*6a54128fSAndroid Build Coastguard Worker 4*6a54128fSAndroid Build Coastguard WorkerUpdates/Fixes since v1.45.4: 5*6a54128fSAndroid Build Coastguard Worker 6*6a54128fSAndroid Build Coastguard WorkerFixes 7*6a54128fSAndroid Build Coastguard Worker----- 8*6a54128fSAndroid Build Coastguard Worker 9*6a54128fSAndroid Build Coastguard WorkerE2fsck will no longer force a full file system check if time-based 10*6a54128fSAndroid Build Coastguard Workerforced checks are disabled and the last mount time or last write time in 11*6a54128fSAndroid Build Coastguard Workerthe superblock are in the future. 12*6a54128fSAndroid Build Coastguard Worker 13*6a54128fSAndroid Build Coastguard WorkerFix a potential out of bounds write when checking a maliciously 14*6a54128fSAndroid Build Coastguard Workercorrupted file system. This is probably not exploitable on 64-bit 15*6a54128fSAndroid Build Coastguard Workerplatforms, but may be exploitable on 32-bit binaries depending on how 16*6a54128fSAndroid Build Coastguard Workerthe compiler lays out the stack variables. (Addresses CVE-2019-5188) 17*6a54128fSAndroid Build Coastguard Worker 18*6a54128fSAndroid Build Coastguard WorkerFixed spurious weekly e-mails when e2scrub_all is run via a cron job 19*6a54128fSAndroid Build Coastguard Workeron non-systemd systems. (Addresses Debian Bug: #944033) 20*6a54128fSAndroid Build Coastguard Worker 21*6a54128fSAndroid Build Coastguard WorkerRemove an unnecessary sleep in e2scrub which could add up to an 22*6a54128fSAndroid Build Coastguard Workeradditional two second delay during the boot up. Also, avoid trying 23*6a54128fSAndroid Build Coastguard Workerto reap aborted snapshots if it has been disabled via e2scrub.conf. 24*6a54128fSAndroid Build Coastguard Worker(Addresses Debian Bug: #948193) 25*6a54128fSAndroid Build Coastguard Worker 26*6a54128fSAndroid Build Coastguard WorkerIf a mischievous system administrator mounts a pseudo-file system such 27*6a54128fSAndroid Build Coastguard Workeras tmpfs with a device name that duplicates another mounted file system, 28*6a54128fSAndroid Build Coastguard Workerthis could potentially confuse resize2fs when it needs to find the mount 29*6a54128fSAndroid Build Coastguard Workerpoint of a mounted file system. (Who would have guessed?) Add some 30*6a54128fSAndroid Build Coastguard Workersanity checking so that we can make libext2fs more robust against such 31*6a54128fSAndroid Build Coastguard Workerinsanity, at least on Linux. (GNU HURD doesn't support st_rdev.) 32*6a54128fSAndroid Build Coastguard Worker 33*6a54128fSAndroid Build Coastguard WorkerTune2fs now prohibits enabling or disabling uninit_bg if the file system 34*6a54128fSAndroid Build Coastguard Workeris mounted, since this could result in the file system getting 35*6a54128fSAndroid Build Coastguard Workercorrupted, and there is an unfortunate AskUbuntu article suggesting this 36*6a54128fSAndroid Build Coastguard Workeras a way to modify a file system's UUID on a live file system. (Ext4 37*6a54128fSAndroid Build Coastguard Workernow has a way to do this safely, using the metadata_csum_seed feature, 38*6a54128fSAndroid Build Coastguard Workerwhich was added in the 4.4 Linux kernel.) 39*6a54128fSAndroid Build Coastguard Worker 40*6a54128fSAndroid Build Coastguard WorkerFix potential crash in e2fsck when rebuilding very large directories on 41*6a54128fSAndroid Build Coastguard Workerfile systems which have the new large_dir feature enable. 42*6a54128fSAndroid Build Coastguard Worker 43*6a54128fSAndroid Build Coastguard WorkerFix support of 32-bit uid's and gid's in fuse2fs and in mke2fs -d. 44*6a54128fSAndroid Build Coastguard Worker 45*6a54128fSAndroid Build Coastguard WorkerFix mke2fs's setting bad blocks to bigalloc file systems. 46*6a54128fSAndroid Build Coastguard Worker 47*6a54128fSAndroid Build Coastguard WorkerFix a bug where fuse2fs would incorrectly report the i_blocks fields for 48*6a54128fSAndroid Build Coastguard Workerbigalloc file systems. 49*6a54128fSAndroid Build Coastguard Worker 50*6a54128fSAndroid Build Coastguard WorkerResize2fs's minimum size estimates (via resize2fs -M) estimates are now 51*6a54128fSAndroid Build Coastguard Workermore accurate when run on mounted file systems. 52*6a54128fSAndroid Build Coastguard Worker 53*6a54128fSAndroid Build Coastguard WorkerFixed potential memory leak in read_bitmap() in libext2fs. 54*6a54128fSAndroid Build Coastguard Worker 55*6a54128fSAndroid Build Coastguard WorkerFixed various UBsan failures found when fuzzing file system images. 56*6a54128fSAndroid Build Coastguard Worker(Addresses Google Bug: #128130353) 57*6a54128fSAndroid Build Coastguard Worker 58*6a54128fSAndroid Build Coastguard WorkerUpdated and clarified various man pages. 59*6a54128fSAndroid Build Coastguard Worker 60*6a54128fSAndroid Build Coastguard Worker 61*6a54128fSAndroid Build Coastguard WorkerPerformance, Internal Implementation, Development Support etc. 62*6a54128fSAndroid Build Coastguard Worker-------------------------------------------------------------- 63*6a54128fSAndroid Build Coastguard Worker 64*6a54128fSAndroid Build Coastguard WorkerSpeed up e2fsck on file systems with a very large number of inodes 65*6a54128fSAndroid Build Coastguard Workercaused by repeated calls to gettext(). 66*6a54128fSAndroid Build Coastguard Worker 67*6a54128fSAndroid Build Coastguard WorkerThe inode_io io_manager can now support files which are greater than 68*6a54128fSAndroid Build Coastguard Worker2GB. 69*6a54128fSAndroid Build Coastguard Worker 70*6a54128fSAndroid Build Coastguard WorkerThe ext2_off_t and ext2_off64_t are now signed types so that 71*6a54128fSAndroid Build Coastguard Workerext2fs_file_lseek() and ext2fs_file_llseek() can work correctly. 72*6a54128fSAndroid Build Coastguard Worker 73*6a54128fSAndroid Build Coastguard WorkerReserve codepoint for the fast_commit feature. 74*6a54128fSAndroid Build Coastguard Worker 75*6a54128fSAndroid Build Coastguard WorkerFixed various Debian packaging issues. 76*6a54128fSAndroid Build Coastguard Worker 77*6a54128fSAndroid Build Coastguard WorkerFix portability problems for Illumous and on hurd/i386 (Addresses Debian 78*6a54128fSAndroid Build Coastguard WorkerBug: #944649) 79*6a54128fSAndroid Build Coastguard Worker 80*6a54128fSAndroid Build Coastguard WorkerAlways compile the ext2fs_swap_* functions even on little-endian 81*6a54128fSAndroid Build Coastguard Workerarchitectures, so that debian/libext2fs.symbols can be consistent across 82*6a54128fSAndroid Build Coastguard Workerarchitectures. 83*6a54128fSAndroid Build Coastguard Worker 84*6a54128fSAndroid Build Coastguard WorkerSynchronized changes from Android's AOSP e2fsprogs tree. 85*6a54128fSAndroid Build Coastguard Worker 86*6a54128fSAndroid Build Coastguard WorkerUpdated config.guess and config.sub with newer versions from the FSF. 87*6a54128fSAndroid Build Coastguard Worker 88*6a54128fSAndroid Build Coastguard WorkerUpdate the Chinese and Malay translations from the translation project. 89