fix buffer overflow seg fault when using cache

This commit is contained in:
William Bell
2025-09-02 18:35:43 +01:00
parent 571efe46b7
commit c2e0cdc6d6
8 changed files with 75 additions and 49 deletions

View File

@@ -48,10 +48,10 @@ typedef struct {
} Translated;
struct string_struct {
char *data;
uint64_t prehash;
uint64_t hash;
bool hash_computed;
char *data;
size_t length;
};