diff options
author | skreuzer <skreuzer@FreeBSD.org> | 2011-08-20 05:48:14 +0800 |
---|---|---|
committer | skreuzer <skreuzer@FreeBSD.org> | 2011-08-20 05:48:14 +0800 |
commit | dbcacad2ae8199d9700673a137b4b01c42fa76f6 (patch) | |
tree | b40dfbf10bfdd1dcac9c3987201fa4f6696b7204 /security/klamav | |
parent | fc20fd6e553c85878c7ba63a2652cceadf458b16 (diff) | |
download | freebsd-ports-gnome-dbcacad2ae8199d9700673a137b4b01c42fa76f6.tar.gz freebsd-ports-gnome-dbcacad2ae8199d9700673a137b4b01c42fa76f6.tar.zst freebsd-ports-gnome-dbcacad2ae8199d9700673a137b4b01c42fa76f6.zip |
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>
Diffstat (limited to 'security/klamav')
0 files changed, 0 insertions, 0 deletions