]> git.ipfire.org Git - thirdparty/util-linux.git/commit - libmount/src/tab.c
libmount: be more restrictive about valid tag names
authorKarel Zak <kzak@redhat.com>
Tue, 2 Jul 2013 08:46:10 +0000 (10:46 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 2 Jul 2013 08:46:10 +0000 (10:46 +0200)
commit2c6b25f01802808b142d450af3352605720899da
tree560ff39da7ebe2bd9d97549d175960f2ea33e9dc
parent8a52ef658cf7c6117cbbd19c2807c30bb798e436
libmount: be more restrictive about valid tag names

 # mount DUMMY=filename.img /mnt

The 'DUMMY=filename.img' is a filename and should not be
interpreted as tag name. The valid tag names are LABEL, UUID,
PARTLABEL and PARTUUID only.

Signed-off-by: Karel Zak <kzak@redhat.com>
libmount/src/cache.c
libmount/src/fs.c
libmount/src/mountP.h
libmount/src/tab.c
libmount/src/utils.c