Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/torvalds/linux.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2017-07-18 13:27:56 +0300
committerJan Kara <jack@suse.cz>2017-07-18 13:33:16 +0300
commit34363c057b368114d8b93376ec6b65ef5f36a55b (patch)
tree7108d5e9650581495e1733188f453cec9711aa71 /fs/hfsplus
parentfcea8aed91f53b51f9b943dc01f12d8aa666c720 (diff)
isofs: Fix off-by-one in 'session' mount option parsing
According to ECMA-130 standard maximum valid track number is 99. Since 'session' mount option starts indexing at 0 (and we add 1 to the passed number), we should refuse value 99. Also the condition in isofs_get_last_session() unnecessarily repeats the check - remove it. Reported-by: David Howells <dhowells@redhat.com> Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'fs/hfsplus')
0 files changed, 0 insertions, 0 deletions