Subject: | get_mp3info goes into infinite loop if no 0xFF byte in file |
(excuse the version # change in the patch file, please)
distribution: MP3-Info-1.13
perl: v5.8.7 built for cygwin-thread-multi-64int
(but also tested on perl v5.8.4 built for i386-linux-thread-multi
If $MP3::Info::try_harder is set, and the byte 0xFF is not contained in a file, the until ($is_mp3) loop will never exit. seek seems to happily let the user seek beyond the bounds of the file without causing a die() or warn().
Suggested patch attached.
Message body not shown because it is not plain text.