summaryrefslogtreecommitdiffstats
path: root/fs/cifs/cifssmb.c
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2018-02-09 15:56:34 +0100
committerJan Kara <jack@suse.cz>2018-02-27 10:25:33 +0100
commit7b78fd02fb19530fd101ae137a1f46aa466d9bb6 (patch)
treec8483c52ffda1f31ca87078dd1b33c8d091bd58e /fs/cifs/cifssmb.c
parent18cf4781c9e5dc1067dd50a8f8f321c70142461f (diff)
downloadlinux-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 'fs/cifs/cifssmb.c')
0 files changed, 0 insertions, 0 deletions