httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rob Hartill <r...@imdb.com>
Subject Re: minor bug in dbmmanage.new program
Date Tue, 18 Feb 1997 17:33:25 GMT
On Tue, 18 Feb 1997, Vivek Khera wrote:

> You distribute my version of dbmmanage as dbmmanage.new with Apache (and
> Stronghold).
> 
> I just noticed an off-by-one bug in the randchar() function.  Below is the
> necessary patch.  Please include it in the next releases.  Thanks.

Will do. thanks.

cheers,
rob

> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> Vivek Khera, Ph.D.                Khera Communications, Inc.
> Internet: khera@kciLink.com       Rockville, MD       +1-301-258-8292
> PGP/MIME spoken here              http://www.kciLink.com/home/khera/
> 
> 
> *** dbmmanage.perl	1997/02/18 16:15:40	1.1
> --- dbmmanage.perl	1997/02/18 16:15:54
> ***************
> *** 74,80 ****
>       "./0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";
>     while ($count--) {
>       # 64 = length($enc) in call to rand() below
> !     $str .= substr($enc,int(rand(64))+1,1);
>     }
>     $str;
>   }
> --- 74,80 ----
>       "./0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";
>     while ($count--) {
>       # 64 = length($enc) in call to rand() below
> !     $str .= substr($enc,int(rand(64)),1);
>     }
>     $str;
>   }
> 
> 

_______________________________________________________________________
Rob Hartill.       Internet Movie Database Ltd.    http://www.imdb.com/
CGI ? how quaint.


Mime
View raw message