diff options
author | Pali Rohár | 2017-11-09 19:03:34 +0100 |
---|---|---|
committer | Pali Rohár | 2017-11-09 19:03:34 +0100 |
commit | e526f503918cc29d8b1ccf36a5c3a34645d2be6e (patch) | |
tree | a8e6ed33bd77bcc6e05fa65d93c7c6a393b8de30 /tests/expected/blkid | |
parent | libmount: fix access() utab write test (diff) | |
download | kernel-qcow2-util-linux-e526f503918cc29d8b1ccf36a5c3a34645d2be6e.tar.gz kernel-qcow2-util-linux-e526f503918cc29d8b1ccf36a5c3a34645d2be6e.tar.xz kernel-qcow2-util-linux-e526f503918cc29d8b1ccf36a5c3a34645d2be6e.zip |
libblkid: vfat: Fix reading labels which starts with byte 0x05
When FAT directory entry has leading byte 0x05 it is interpreted as byte
0xE5. This is how FAT stores file name which starts with byte 0xE5 as
leading byte in 0xE5 in FAT directory entry means that file slot is empty.
Fixes: #533
Diffstat (limited to 'tests/expected/blkid')
-rw-r--r-- | tests/expected/blkid/low-probe-fat32_cp850_O_tilde | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/expected/blkid/low-probe-fat32_cp850_O_tilde b/tests/expected/blkid/low-probe-fat32_cp850_O_tilde new file mode 100644 index 000000000..096bcbf2c --- /dev/null +++ b/tests/expected/blkid/low-probe-fat32_cp850_O_tilde @@ -0,0 +1,7 @@ +ID_FS_LABEL=___ +ID_FS_LABEL_ENC=\xe5\xe5\xe5 +ID_FS_TYPE=vfat +ID_FS_USAGE=filesystem +ID_FS_UUID=2826-F9B3 +ID_FS_UUID_ENC=2826-F9B3 +ID_FS_VERSION=FAT32 |