Package: libfile-mmagic-perl
Version: 1.28-1
Severity: serious

Hi!

Thank you for packaging File::MMagic for Debian.

The following testcase:

use strict;
use warnings;
use File::MMagic;
my $mm = new File::MMagic; # use internal magic file
open my $fh, '<', '/etc/debian_version';
my $data = <$fh>;
my $res = $mm->checktype_contents($data);

Triggers:

Deep recursion on subroutine "File::MMagic::checktype_contents" at
/usr/share/perl5/File/MMagic.pm line 633, <$fh> line 1.

Downgrading to 1.27-1 fixes the bug for me.

Cheers.



-- 
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