cvs commit: ports/security/p5-Crypt-RandPasswd Makefile ports/security/p5-Crypt-RandPasswd/files patch-lib-Crypt-RandPasswd.pm

Steven Kreuzer skreuzer at FreeBSD.org
Fri Aug 19 21:48:15 UTC 2011


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 at 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)


More information about the cvs-all mailing list