Bug#561970: libdate-manip-perl: cannot be used in taint (-T) mode

Helmut Grohne helmut at subdivi.de
Thu Sep 20 10:40:47 UTC 2012


Control: found 561970 libdate-manip-perl/6.32-1
Control: notfound 561970 libdate-manip-perl/6.34-1

Thanks for pinging me on this issue.

On Wed, Sep 19, 2012 at 06:34:27PM +0200, gregor herrmann wrote:
> On Thu, 12 Apr 2012 17:05:27 +0200, Helmut Grohne wrote:
> 
> > $ perl -T -e 'use Date::Manip; print Date::Manip::ParseDateString("10:20");'
> > Undefined subroutine &Date::Manip::ParseDateString called at -e line 1, <DATA> line 429.
> > $ perl -e 'use Date::Manip; print Date::Manip::ParseDateString("10:20");'
> > 2012041210:20:00$
> 
> Works for me (with 6.32-1):
> 
> % perl -T -e 'use Date::Manip; print Date::Manip::ParseDateString("10:20");'
> 2012091910:20:00
> % perl -e 'use Date::Manip; print Date::Manip::ParseDateString("10:20");'
> 2012091910:20:00

Interesting. For me 6.32-1 is still broken. However I cannot reproduce
it with 6.34-1. I really have no clue what could make up the difference
between our 6.32 versions.

> > This issue shows up with munin as entries in /var/log/apache2/error.log:
> > 
> > [Thu Apr 12 15:56:01 2012] munin-cgi-graph: Undefined subroutine &Date::Manip::ParseDateString called at /usr/lib/cgi-bin/munin-cgi-graph line 407.
> 
> And I also don't have entries like this (hm, maybe because I'm not
> using the cgi version in munin).
> 
> Can somebody reproduce the bug?

Probably not. Or at least anyone who can, can reproduce the oneliner as
well.

Helmut



More information about the pkg-perl-maintainers mailing list