In the algorithm for word and word3 when generating passwords which
include digits and symbols a divide by zero error occurs if $randword
contains no characters:
lines 141 and 189
$stripped =~ s/[\Q$signs\E]//g; # if $stripped consists only of
# characters in $signs then
# $stripped => "" and
# length($stripped) => 0
lines 165 and 211 fail:
redo if $sum/length$(stripped) < $avgfreq; # divide by zero
-----------
Seen on
Module version: 0.03
Perl versions: v5.8.8 built for MSWin32-x86-multi-thread, v5.8.8 built
for i386-linux-thread-multi
OS: Windows XP SP2, Linux 2.6.18-92.1.22.el5 i386 GNU/Linux (CentOS5.2)