nbutton23 / zxcvbn-go

zxcvbn password complexity algorithm in golang
MIT License
379 stars 49 forks source link

infinite recursion in getAllPermutationsOfLeetSubstitutions #16

Closed ryanking closed 7 years ago

ryanking commented 8 years ago

I haven't been able to get a fix yet, but I have a reproduction case. The string:

%6|a(+|<91%{s91![go0li0soe||

...will produce infinite recursion in that function.

nbutton23 commented 8 years ago

This is the same issue as #15. The Python code doesn't seem to have this issue so that is were I plan on starting.