]> git.ipfire.org Git - thirdparty/util-linux.git/commit - sys-utils/mount.c
libmount: more robust options string parsing
authorKarel Zak <kzak@redhat.com>
Thu, 30 May 2013 11:29:34 +0000 (13:29 +0200)
committerKarel Zak <kzak@redhat.com>
Thu, 30 May 2013 11:29:34 +0000 (13:29 +0200)
commit8225bb78a631d032121f9d7eed19481220933c88
tree38b2f12002f57bac819e61c7b7c7415d22ad2734
parent3e5c0a2db233b726ca80d37aad9eeca8bae144d4
libmount: more robust options string parsing

 # mount -o=rw /dev/sdb /mnt/test
 mount: libmount/src/optmap.c:212: mnt_optmap_get_entry: Assertion `namelen' failed.
 Aborted (core dumped)

Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=968786
Signed-off-by: Karel Zak <kzak@redhat.com>
libmount/src/optstr.c
sys-utils/mount.c