Package: libgraphics-colorobject-perl
Version: 0.5.0-5
Severity: normal

Actually the same bug as in #578938, but it doesn't look like it's
solved in version 0.5.0-5. The warnings still occurs:

  $ perl -MGraphics::ColorObject -we
'Graphics::ColorObject->new_RGBhex("#ff0000")'
  Use of uninitialized value within @_ in lc at
/usr/share/perl5/Graphics/ColorObject.pm line 1905.

When comparing the extracted version 0.5.0-4 and 0.5.0-5, there seems to
be no difference between the ColorObject.pm files.

Changing line 1905 of /usr/share/perl5/Graphics/ColorObject.pm to the
following should solve the problem:

  my $name = shift;
  return undef unless defined $name;
  $name = lc($name);

-- System Information:
Debian Release: 7.1
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-4-686-pae (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libgraphics-colorobject-perl depends on:
ii  libgraphics-colornames-perl  2.11-4
ii  perl                         5.14.2-21

libgraphics-colorobject-perl recommends no packages.

libgraphics-colorobject-perl suggests no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to