]> git.ipfire.org Git - thirdparty/util-linux.git/commit
libblkid: udf: check that dstrings are encoded in OSTA Compressed Unicode
authorPali Rohár <pali.rohar@gmail.com>
Sat, 5 Dec 2020 19:39:35 +0000 (20:39 +0100)
committerPali Rohár <pali.rohar@gmail.com>
Sat, 5 Dec 2020 19:39:35 +0000 (20:39 +0100)
commitd8056b5489a365b96c19a4b7fbf0f6b1cbbd566c
tree32567c44df782da250b6b69ed65298b205ec3445
parent9efa805cd7734ae0db9f9313e995ae9a99536e14
libblkid: udf: check that dstrings are encoded in OSTA Compressed Unicode

dstring structures are in UL_ENCODE_LATIN1/UL_ENCODE_UTF16BE encodings only
when corresponding desc_charset structures are set to the OSTA Compressed
Unicode. So add missing checks.

Signed-off-by: Pali Rohár <pali.rohar@gmail.com>
libblkid/src/superblocks/udf.c