bgarrels / textpattern

Automatically exported from code.google.com/p/textpattern
0 stars 0 forks source link

Overflow issue in generate_password #386

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The function may never meet the loop requirements in the given memory and 
runtime limitations, resulting in crash.

Todo;

* Give possibilities to mt_rand(), don't filter random values afterwards. Fixes 
the infinite loop.
* Allow any length of passwords. Store a pool, reset it when exhausted.

Original issue reported on code.google.com by jukka.m.svahn on 25 Jul 2013 at 9:21

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r5507.

Original comment by jukka.m.svahn on 25 Jul 2013 at 9:24