]> git.ipfire.org Git - thirdparty/util-linux.git/commit
libblkid: udf: Change algorithm for reporting UUID
authorPali Rohár <pali.rohar@gmail.com>
Wed, 17 May 2017 18:36:40 +0000 (20:36 +0200)
committerPali Rohár <pali.rohar@gmail.com>
Wed, 17 May 2017 18:36:40 +0000 (20:36 +0200)
commitd8ba647d0d983c5b13ab47469f9ac0ec3d1586c9
treebefe54730b0836b8e64c81f48af38eaf5f2ba7a7
parentb7ebf49c9b203b5f54ef2aa486b64b811650641f
libblkid: udf: Change algorithm for reporting UUID

Ensure that reported UUID always contains only lowercase hexadecimal digits
and is always 16 characters length, padded with zero digits.

Volume Set Identifier is converted to UTF-8 before generating UUID from it.
As it could potentially contain any Unicode character. So correctly handle
both 8bit and 16bit OSTA Compressed Unicode encodings.

Disks which have only lowercase hexadecimal digits in Volume Set Identifier
would have same UUID as before this patch.
libblkid/src/superblocks/udf.c