Changeset 284

Show
Ignore:
Timestamp:
07/12/12 09:37:35 (11 months ago)
Author:
knok
Message:

Fix infinity loop

Location:
MMagic/trunk
Files:
1 added
2 modified

Legend:

Unmodified
Added
Removed
  • MMagic/trunk/ChangeLog

    r283 r284  
     12012-07-12  NOKUBI Takatsugu  <knok@daionet.gr.jp> 
     2 
     3        * MMagic.pm (checktype_contents): Fix infinity loop bug. 
     4        Reported by NMOLDAV@cpan.org (#77836) 
     5 
    162012-06-29  NOKUBI Takatsugu  <knok@daionet.gr.jp> 
    27 
  • MMagic/trunk/MMagic.pm

    r283 r284  
    631631    return 'application/octet-stream' if (length($data) <= 0); 
    632632 
    633     $mtype = checktype_contents($self, $data); 
     633    $mtype = checktype_container($self, $data); 
    634634    return $mtype unless $mtype eq ""; 
    635635