bbusschots / hsxkpasswd

A Perl module and terminal command for generating secure memorable passwords inspired by the fabulous XKCD web comic and Steve Gibson's Password Hay Stacks. This is the library that powers www.xkpasswd.net
http://www.bartb.ie/xkpasswd
BSD 2-Clause "Simplified" License
278 stars 48 forks source link

Fix: Use of uninitialized value $word #2

Closed hortocam closed 10 years ago

hortocam commented 10 years ago

fix related to this issue: https://github.com/bbusschots/xkpasswd.pm/issues/1

Updated iterator to reduce the upper bound by 1. This results in correct behavior.

bbusschots commented 10 years ago

Thanks for finding and patching this - merging now.

Messing up an array index ... talk about a n00bie mistake on my part ... oh well, I guess we're never too old to do silly things :)