diff options
| author | Jan Kara <jack@suse.cz> | 2017-07-18 13:27:56 +0300 |
|---|---|---|
| committer | Jan Kara <jack@suse.cz> | 2017-07-18 13:33:16 +0300 |
| commit | 34363c057b368114d8b93376ec6b65ef5f36a55b (patch) | |
| tree | 7108d5e9650581495e1733188f453cec9711aa71 /scripts/patch-kernel | |
| parent | fcea8aed91f53b51f9b943dc01f12d8aa666c720 (diff) | |
| download | linux-34363c057b368114d8b93376ec6b65ef5f36a55b.tar.xz | |
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 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions
