aboutsummaryrefslogtreecommitdiff
path: root/e2fsprogs/ext2fs/ismounted.c
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2006-01-10 05:30:28 +0000
committerRob Landley <rob@landley.net>2006-01-10 05:30:28 +0000
commit71d6ccd801446c3551192e1080232c19c62cad44 (patch)
tree4d41c541701c87ea8ee8dcf962bfa1a6ef297a98 /e2fsprogs/ext2fs/ismounted.c
parent8b0efdb1a1d0b67875518c0f77e1c1b2a814c048 (diff)
downloadbusybox-71d6ccd801446c3551192e1080232c19c62cad44.tar.gz
With -a, the jump to mount_it_now can skip the initialization of f, and
if we don't zero it after closing it we re-close a filehandle that isn't open, and since this is a file _pointer_ it segfaults on a double free. Yeah, subtle bug. I need to break this out into separate functions if I can figure out how to avoid making the code larger while doing so. Part of the general -a and -o remount work I need to do, but that's after 1.1.0...
Diffstat (limited to 'e2fsprogs/ext2fs/ismounted.c')
0 files changed, 0 insertions, 0 deletions