archive/iso9660: fix unaligned reads

Oh the horror!  This plugin cannot possibly ever have worked.  It was
broken from the start, when it was added in commit 37796699cf nearly
twelve (!) years ago.

The plugin would always read at sector boundaries, so it could only
ever work at multiples of 2 kB.
This commit is contained in:
Max Kellermann
2020-09-07 13:12:08 +02:00
parent 1a5e0ef7c9
commit 17dd21ac7f
2 changed files with 88 additions and 22 deletions

1
NEWS
View File

@@ -5,6 +5,7 @@ ver 0.21.26 (not yet released)
* archive
- bzip2: fix crash on corrupt bzip2 file
- bzip2: flush output at end of input file
- iso9660: fix unaligned reads
- zzip: fix crash on corrupt ZIP file
* decoder
- sndfile: fix lost samples at end of file