]> git.ipfire.org Git - thirdparty/util-linux.git/commit
libblkid: udf: Fix parsing of UDF dstring structures
authorPali Rohár <pali.rohar@gmail.com>
Thu, 22 Jun 2017 08:38:08 +0000 (10:38 +0200)
committerPali Rohár <pali.rohar@gmail.com>
Thu, 22 Jun 2017 08:38:08 +0000 (10:38 +0200)
commitf0fcfdc30f529d670b966e40c026a07bb0c2a65c
tree73eb0efa6f678db18c99966b9e157f9fda581299
parentfad561b0e4b862e320b3c7b72527b09bc1b04860
libblkid: udf: Fix parsing of UDF dstring structures

First byte of dstring is OSTA Compression ID and the last byte is length of
recorded bytes (including first byte). Last byte is not a part of recorded
characters, therefore it should not be treated as data to decode.
libblkid/src/superblocks/udf.c