diff options
author | vanhauser-thc <vh@thc.org> | 2022-06-18 09:14:44 +0200 |
---|---|---|
committer | vanhauser-thc <vh@thc.org> | 2022-06-18 09:14:44 +0200 |
commit | 605f2bf96936efd6c5193d106a32fcf893c26b56 (patch) | |
tree | c3ac1c99a4be6855bbcda866df2a3aff36f0ada2 /custom_mutators/gramatron/hashmap.c | |
parent | dc3e2e8200037b4f7d14a15459ed7fa6fa3260a2 (diff) | |
download | afl++-605f2bf96936efd6c5193d106a32fcf893c26b56.tar.gz |
code format
Diffstat (limited to 'custom_mutators/gramatron/hashmap.c')
-rw-r--r-- | custom_mutators/gramatron/hashmap.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/custom_mutators/gramatron/hashmap.c b/custom_mutators/gramatron/hashmap.c index 4f97e085..db4f9f98 100644 --- a/custom_mutators/gramatron/hashmap.c +++ b/custom_mutators/gramatron/hashmap.c @@ -171,6 +171,7 @@ unsigned long custom_crc32(const unsigned char *s, unsigned int len) { * Hashing function for a string */ unsigned int hashmap_hash_int(hashmap_map *m, char *keystring) { + unsigned int keystring_len = strlen(keystring); unsigned long key = custom_crc32((unsigned char *)(keystring), keystring_len); |