_PMX Chunks behave poorly and will throw out of range
Closed this issue · 2 comments
The issue is related to mono/taglib-sharp#76, with a proposed fix in mono/taglib-sharp#101. Basically, this chunk will lie about its size and not include a NUL character in its count. I'm assuming as part of the spec, all chunks are aligned to word size, so thus the iterator should probably snap to the next word boundary if it determines the chunk size. I haven't yet run into any other tags which have caused the file read to misalign, but if I do, I'll report the issue.
Attached is an example waveform with a _PMX chunk that will cause the current Load
routine to crash.
poit.zip
Tentative fix is in, still needs testing. My suite of baseline test files is in an archive somewhere and I need to dust that off. Once it's verified fixed and still working with everything else I'll draw up another release.
Fixed in v1.1.2