diff options
author | Nicholas Tay <nick@windblume.net> | 2021-12-02 18:44:22 +1100 |
---|---|---|
committer | Nicholas Tay <nick@windblume.net> | 2021-12-02 18:44:22 +1100 |
commit | d6ab9640056af4dbf9a27f18a9291426b20b7eb9 (patch) | |
tree | a55790bec807289672700d2a8c252441ab253556 /build_msvc.bat | |
parent | 53346266b603caa37a2d516d13697867e04767d6 (diff) | |
download | passgen-d6ab9640056af4dbf9a27f18a9291426b20b7eb9.tar.gz passgen-d6ab9640056af4dbf9a27f18a9291426b20b7eb9.tar.bz2 passgen-d6ab9640056af4dbf9a27f18a9291426b20b7eb9.zip |
Dynamically allocate password instead of using VLA
This allows the code to compile with `cl` (MS Windows).
Additionally allows massive passwords to be made more easily I suppose,
as we aren't allocating (potentially dangerously) on the stack anymore.
But, generation may be slightly slower due to allocation of memory. We
could possibly have some statically allocated memory (e.g. 20 bytes) and
if we go over then malloc().
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions