diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2022-04-10 13:38:24 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2022-04-10 13:38:24 -0700 |
commit | 4e53bd43b19b08adb4148b5b2293ba2fd8c7e72a (patch) | |
tree | 5a4fb41cf47b2183e9974a3b5f589c6b65d7ce3e /dict-generate.cpp | |
parent | b34d774dc6543b90048e947ca25b3abbde179a90 (diff) | |
parent | ae6944468217b433a062bb493888d7e993bea96a (diff) | |
download | zxcvbn-c-4e53bd43b19b08adb4148b5b2293ba2fd8c7e72a.tar.gz |
Update to upstream 2.5+dfsg
[git-debrebase anchor: new upstream 2.5+dfsg, merge]
Diffstat (limited to 'dict-generate.cpp')
-rw-r--r-- | dict-generate.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dict-generate.cpp b/dict-generate.cpp index 711124d..9fcc95d 100644 --- a/dict-generate.cpp +++ b/dict-generate.cpp @@ -889,7 +889,7 @@ void CreateArrays(NodeSPtr Root, StringIntSet_t & StrSet, StringOfInts & ChildAd } if (x >= (1 << BITS_CHILD_MAP_INDEX)) { - char Tmp[20]; + char Tmp[24]; snprintf(Tmp, sizeof Tmp, "%lu", x); throw string("Not enough bits for child map index value of ") + Tmp + " for " + Its->s + " (BITS_CHILD_MAP_INDEX too small)"; |