From owner-cvs-ports@FreeBSD.ORG Fri Aug 19 21:48:15 2011 Return-Path: Delivered-To: cvs-ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 67702106566C; Fri, 19 Aug 2011 21:48:15 +0000 (UTC) (envelope-from skreuzer@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id EAF798FC15; Fri, 19 Aug 2011 21:48:14 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.4/8.14.4) with ESMTP id p7JLmEQ2040249; Fri, 19 Aug 2011 21:48:14 GMT (envelope-from skreuzer@repoman.freebsd.org) Received: (from skreuzer@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id p7JLmElu040248; Fri, 19 Aug 2011 21:48:14 GMT (envelope-from skreuzer) Message-Id: <201108192148.p7JLmElu040248@repoman.freebsd.org> From: Steven Kreuzer Date: Fri, 19 Aug 2011 21:48:14 +0000 (UTC) To: ports-committers@FreeBSD.org, cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: ports/security/p5-Crypt-RandPasswd Makefile ports/security/p5-Crypt-RandPasswd/files patch-lib-Crypt-RandPasswd.pm X-BeenThere: cvs-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Aug 2011 21:48:15 -0000 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 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)