diff options
author | Jan Kara <jack@suse.cz> | 2018-02-09 15:56:34 +0100 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2018-02-27 10:25:33 +0100 |
commit | 7b78fd02fb19530fd101ae137a1f46aa466d9bb6 (patch) | |
tree | c8483c52ffda1f31ca87078dd1b33c8d091bd58e /tools/thermal | |
parent | 18cf4781c9e5dc1067dd50a8f8f321c70142461f (diff) | |
download | linux-7b78fd02fb19530fd101ae137a1f46aa466d9bb6.tar.gz linux-7b78fd02fb19530fd101ae137a1f46aa466d9bb6.tar.bz2 linux-7b78fd02fb19530fd101ae137a1f46aa466d9bb6.zip |
udf: Fix handling of Partition Descriptors
Current handling of Partition Descriptors in Volume Descriptor Sequence
is buggy in several ways. Firstly, it does not take descriptor sequence
numbers into account at all, thus any volume making serious use of them
would be unmountable. Secondly, it does not handle Volume Descriptor
Pointers or Volume Descriptor Sequence without Terminating Descriptor.
Fix these problems by properly remembering all Partition Descriptors in
the Volume Descriptor Sequence and their sequence numbers. This is made
more complicated by the fact that we don't know number of partitions in
advance and sequence numbers have to be tracked on per-partition basis.
Reported-by: Pali Rohár <pali.rohar@gmail.com>
Acked-by: Pali Rohár <pali.rohar@gmail.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'tools/thermal')
0 files changed, 0 insertions, 0 deletions