Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Xin Wang
codes-dev
Commits
4b2353a1
Commit
4b2353a1
authored
Feb 27, 2015
by
Jonathan Jenkins
Browse files
use 32-bit hash to avoid overread of input
parent
3b69ea1e
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/network-workload/codes-dumpi-trace-nw-wrkld.c
View file @
4b2353a1
...
...
@@ -516,7 +516,7 @@ int dumpi_trace_nw_workload_load(const char* params, int rank)
if
(
!
rank_tbl
)
{
rank_tbl
=
qhash_init
(
hash_rank_compare
,
quickhash_
64
bit_hash
,
RANK_HASH_TABLE_SIZE
);
rank_tbl
=
qhash_init
(
hash_rank_compare
,
quickhash_
32
bit_hash
,
RANK_HASH_TABLE_SIZE
);
if
(
!
rank_tbl
)
return
-
1
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment