]> git.ipfire.org Git - thirdparty/util-linux.git/commit
mount: -a segfaults when 4th field is omitted (mount options)
authorKarel Zak <kzak@redhat.com>
Wed, 11 May 2011 14:57:27 +0000 (16:57 +0200)
committerKarel Zak <kzak@redhat.com>
Wed, 11 May 2011 15:07:55 +0000 (17:07 +0200)
commitf53edda83ebcfd7015c3f35196d6cbd7bc2d8369
tree85974a76ef97a678a0adcbb5e3f1ad60fdd4a698
parent42708f12f0847aec30839a4531ae016b1693f9c9
mount: -a segfaults when 4th field is omitted (mount options)

 # echo 'tmpd /tmp/x tmpfs' >> /etc/fstab
 # mkdir /tmp/x
 # mount -a
 segfault

Reported-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Karel Zak <kzak@redhat.com>
mount/mount.c
mount/mount_mntent.c
mount/sundries.c