Skip Menu |

This queue is for tickets about the MP3-Tag CPAN distribution.

Report information
The Basics
Id: 6893
Status: open
Priority: 0/
Queue: MP3-Tag

People
Owner: Nobody in particular
Requestors: rtcpanorg [...] gjm.datadive.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.92
Fixed in: (no value)



Subject: Warnings in MP3::Tag::ID3v2.pm
When using the -w switch to perl, ID3v2.pm always produces the following warnings when writing a v2 tag to a mp3 file: Use of uninitialized value in substr at /usr/lib/perl5/site_perl/5.8.2/MP3/Tag/ID3v2.pm line 755. Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/site_perl/5.8.2/MP3/Tag/ID3v2.pm line 763. The version number is also incorrect in ID3v2.pm: it claims to be 0.91 but should be 0.92. (Environment: cygwin perl v5.8.2/windows xp, MP3-Tag v0.92)
Date: Thu, 8 Jul 2004 14:23:14 -0700
From: Ilya Zakharevich <ilya [...] Math.Berkeley.EDU>
To: Guest via RT <bug-MP3-Tag [...] rt.cpan.org>
Subject: Re: [cpan #6893] Warnings in MP3::Tag::ID3v2.pm
RT-Send-Cc:
On Thu, Jul 08, 2004 at 10:10:13AM -0400, Guest via RT wrote: Show quoted text
> When using the -w switch to perl, ID3v2.pm always produces the following warnings when writing a v2 tag to a mp3 file: > > Use of uninitialized value in substr at /usr/lib/perl5/site_perl/5.8.2/MP3/Tag/ID3v2.pm line 755. > Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/site_perl/5.8.2/MP3/Tag/ID3v2.pm line 763.
What is the first moment these messages come during make test ? Show quoted text
> The version number is also incorrect in ID3v2.pm: it claims to be > 0.91 but should be 0.92.
??? How do you know how the version should be named? Thanks, Ilya
Subject: [cpan #6893] Warnings in MP3::Tag::ID3v2.pm
Date: Sun, 28 Jan 2007 02:55:45 +0100
To: bug-MP3-Tag [...] rt.cpan.org
From: Andreas Hofmeister <andi [...] collax.com>
Hi, (hope this is attached to the correct ticket) it appears that the bug is in MP3::Tag::ID3v2, line 1695 in v0.9709 : if ($major >= $#supported_majors or $supported_majors[$major] == 0) { should be if ($major > $#supported_majors or $supported_majors[$major] == 0) { "@supported_majors" has five elements, so the maximum index is 4 ... Ciao Andreas Hofmeister