Skip to content

Commit 676a03c

Browse files
committed
fix potential hash overwrite bug
1 parent 0174aa3 commit 676a03c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

PretextMap.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1017,7 +1017,7 @@ FinishProcessingHeader()
10171017
}
10181018

10191019
Contig_Hash_Table = PushArray(Working_Set, contig_hash_table_node*, Contig_Hash_Table_Size);
1020-
u32 *tmpHashes = PushArray(Working_Set, u32, Number_of_Contigs);
1020+
u32 *tmpHashes = PushArray(Working_Set, u32, 3 * Number_of_Contigs);
10211021
ForLoop(Number_of_Contigs)
10221022
{
10231023
tmpHashes[index] = hashes[index];

meson.build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
project('PretextMap', ['c', 'cpp'],
22
license: 'MIT',
33
meson_version: '>=0.57.1',
4-
version: '0.1.6'
4+
version: '0.1.7'
55
)
66

77
deps = [dependency('threads')]

0 commit comments

Comments
 (0)