On Tue, Aug 14, 2018 at 04:37:53PM +0200, Lukas Czerner wrote: > Currently in e2fsprogs tools it's possible to access out of bounds > memory when reading list of ids sharing a journal log > (journal_superblock_t->s_users[]) in case where s_nr_users is too high. > > This is because we never check whether the s_nr_users fits into the > restriction of JFS_USERS_MAX. Fix it by checking that nr_users is not > bigger than JFS_USERS_MAX and error out when possiblem. > > Also add test for dumpe2fs. The rest would require involving external > journal which is not possible to test with e2fsprogs test suite at the > moment. > > Signed-off-by: Lukas Czerner <lczerner@xxxxxxxxxx> Thanks, applied. - Ted