1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-12-26 00:18:36 +00:00
This commit is contained in:
jsteube 2017-10-18 17:02:39 +02:00
commit f84abdef1c

View File

@ -435,10 +435,10 @@ int potfile_remove_parse (hashcat_ctx_t *hashcat_ctx)
{ {
// we need *at most* one entry for every hash // we need *at most* one entry for every hash
// (if there are no hashes with the same keys (hash + salt), a counter example would be: same hash but different user name) // (if there are no hashes with the same keys (hash + salt), a counter example would be: same hash but different user name)
pot_tree_entry_t *tree_entry_cache = (pot_tree_entry_t *) hccalloc (hashes_cnt, sizeof (pot_tree_entry_t)); tree_entry_cache = (pot_tree_entry_t *) hccalloc (hashes_cnt, sizeof (pot_tree_entry_t));
// we need *always exactly* one linked list for every hash // we need *always exactly* one linked list for every hash
pot_hash_node_t *tree_nodes_cache = (pot_hash_node_t *) hccalloc (hashes_cnt, sizeof (pot_hash_node_t)); tree_nodes_cache = (pot_hash_node_t *) hccalloc (hashes_cnt, sizeof (pot_hash_node_t));
for (u32 hash_pos = 0; hash_pos < hashes_cnt; hash_pos++) for (u32 hash_pos = 0; hash_pos < hashes_cnt; hash_pos++)
{ {