udf: Fix reading label, lvd.ident is dstring
authorPali Rohár <pali.rohar@gmail.com>
Thu, 22 Jun 2017 12:33:17 +0000 (14:33 +0200)
committerVladimir Serbinenko <phcoder@gmail.com>
Mon, 7 Aug 2017 15:51:50 +0000 (17:51 +0200)
commit76188809d5ca40c5285b0ab202b5edea7be3f04d
tree53ac3d562f0b30f6e97ef5ad2bd72a1b4f3b296f
parentfa42786264cef98c56e972b3bb6b8448000e1c70
udf: Fix reading label, lvd.ident is dstring

UDF dstring has stored length in the last byte of buffer. Therefore last
byte is not part of recorded characters. And empty string in dstring is
encoded as empty buffer, including first byte (compression id).
grub-core/fs/udf.c