Date: Fri, 19 Aug 2011 21:48:14 +0000 (UTC) From: Steven Kreuzer <skreuzer@FreeBSD.org> To: ports-committers@FreeBSD.org, cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: ports/security/p5-Crypt-RandPasswd Makefile ports/security/p5-Crypt-RandPasswd/files patch-lib-Crypt-RandPasswd.pm Message-ID: <201108192148.p7JLmElu040248@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
skreuzer 2011-08-19 21:48:14 UTC
FreeBSD ports repository
Modified files:
security/p5-Crypt-RandPasswd Makefile
Added files:
security/p5-Crypt-RandPasswd/files
patch-lib-Crypt-RandPasswd.pm
Log:
Fix isse where if an external caller invokes the the method
Crypt::RandPasswd->random_chars_in_range(), Perl prepends the object
name to the function's argument list. This causes the local variables
$minlen, $maxlen, $lo_char, and $hi_char to be set incorrectly ($minlen
is set to the object name, $maxlen is set to what should have been the
minimum length, $lo_char is set to what should have been the maximum
length, and $hi_char is set to what should have been the first character
in the given range), so that the method returns an incorrect result.
PR: ports/154207
Submitted by: Matthew X. Economou <xenophon+fbsdports@irtnog.org>
Revision Changes Path
1.12 +1 -0 ports/security/p5-Crypt-RandPasswd/Makefile
1.1 +10 -0 ports/security/p5-Crypt-RandPasswd/files/patch-lib-Crypt-RandPasswd.pm (new)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201108192148.p7JLmElu040248>
