diff options
author | Robert Swiecki <swiecki@google.com> | 2016-09-13 19:09:11 +0200 |
---|---|---|
committer | Robert Swiecki <swiecki@google.com> | 2016-09-13 19:09:11 +0200 |
commit | f7316426c02fe8ee1acaed7e3c335f29c458e874 (patch) | |
tree | 6945c0ef71a6f3abab44bfa0c969496935f5126c /files.c | |
parent | 531438a12e882693eae5812268ba71973369596a (diff) | |
download | honggfuzz-f7316426c02fe8ee1acaed7e3c335f29c458e874.tar.gz |
Actually insert word into dictionary
Diffstat (limited to 'files.c')
-rw-r--r-- | files.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -287,6 +287,7 @@ bool files_parseDictionary(honggfuzz_t * hfuzz) struct strings_t *str = (struct strings_t *)util_Malloc(sizeof(struct strings_t)); str->s = util_decodeCString(lineptr); hfuzz->dictionaryCnt += 1; + TAILQ_INSERT_TAIL(&hfuzz->dictionaryq, str, pointers); LOG_D("Dictionary: loaded word: '%s' (len=%zu)", str->s, strlen(str->s)); } |