*** This bug is a duplicate of bug 432215 ***
    https://bugs.launchpad.net/bugs/432215

So the old udev's prober called volume_id_set_label_string() for all
file system types, which stripped trailing whitespace.

In blkid, ./shlibs/blkid/src/probe.c blkid_probe_set_label() and
./shlibs/blkid/src/encode.c blkid_safe_string() do the same. But
./shlibs/blkid/src/probers/iso9660.c probe_iso9660() only calls
blkid_probe_set_label()  for non-Joliet, for Joliet it uses
blkid_probe_set_utf8label().

So for consistency, blkid_probe_set_utf8label() should skip trailing
spaces as well. Alternatively, spaces need to be stripped in
probe_iso9660() directly.

-- 
blkid: iso9660/Joliet label has extra spaces appended
https://bugs.launchpad.net/bugs/446897
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to