Re: Class::DBI::Untaint bug: '0' does not untaint as an integer

[prev] [thread] [next] [Date index for 2005/04/20]

From: Thomas Klausner
Subject: Re: Class::DBI::Untaint bug: '0' does not untaint as an integer
Date: 10:07 on 20 Apr 2005
Hi!

On Wed, Apr 20, 2005 at 10:33:56AM +0100, Tony Bowden wrote:

> > I seem to forget whether you (Tony) perfere patches via RT or via the list,
> > so I'll send it to the list too:
> 
> Class::DBI patches via the list. Other modules via RT.

ok.

> > diff -r Class-DBI-Untaint-0.01/lib/Class/DBI/Untaint.pm domm_Class-DBI-Untaint-0.01/lib/Class/DBI/Untaint.pm
> 
> and 'diff -Bub' is my preferred format...

ok. (If anybody knows a good intro/howto to diff/patch, I'd appreciate a
link. I always feel very dumb when trying to apply a patch...)

> I'm skeptical of this patch being enough, but can't think of a
> counter-example yet. Leave it with me...

Well, it works (for me). I don't think it's perfect, either, but I was/am
to short on time to look for a proper solution.

        -- 
        #!/usr/bin/perl                               http://domm.zsi.at
for(ref bless{},just'another'perl'hacker){s-:+-$"-g&&print$_.$/}

Re: Class::DBI::Untaint bug: '0' does not untaint as an integer
Thomas Klausner 10:07 on 20 Apr 2005

Generated at 09:29 on 27 Apr 2005 by mariachi v0.52