Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 34363c05 authored by Jan Kara's avatar Jan Kara
Browse files

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: default avatarDavid Howells <dhowells@redhat.com>
Signed-off-by: default avatarJan Kara <jack@suse.cz>
parent fcea8aed
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment