Whamcloud - gitweb
libext2fs: avoid NULL dereference if the root file system isn't in /etc/mtab
authorTheodore Ts'o <tytso@mit.edu>
Fri, 12 Aug 2022 04:08:16 +0000 (00:08 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 12 Aug 2022 04:08:16 +0000 (00:08 -0400)
commitd5aba8e5d349272eb221e2aab3775bb942f89684
tree4014b2503ffb2ea4b688a712e80cfbe094f66138
parent068eadd2c4243cf66e4b067a65c5a8fe2a62d774
libext2fs: avoid NULL dereference if the root file system isn't in /etc/mtab

Addresses-Coverity-Bug: 1497609
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
lib/ext2fs/ismounted.c