We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents edafafd + d721d36 commit 4bf44f6Copy full SHA for 4bf44f6
getid3/module.tag.id3v1.php
@@ -29,6 +29,9 @@ public function Analyze() {
29
if (!getid3_lib::intValueSupported($info['filesize'])) {
30
$this->warning('Unable to check for ID3v1 because file is larger than '.round(PHP_INT_MAX / 1073741824).'GB');
31
return false;
32
+ } elseif ($info['filesize'] < 128) {
33
+ $this->warning('Unable to check for ID3v1 because file is too small');
34
+ return false;
35
}
36
37
if($info['filesize'] < 256) {
0 commit comments