diff options
author | Caio Marcelo de Oliveira Filho <[email protected]> | 2019-06-10 12:10:54 -0700 |
---|---|---|
committer | Caio Marcelo de Oliveira Filho <[email protected]> | 2019-06-12 15:57:16 -0700 |
commit | eb41ce1b012f24fc7cba664dcc12129342e26843 (patch) | |
tree | f4115acb7fb1da2c84d759bd2919ac2892cd4d0f /src/util/set.c | |
parent | c129cb38613be79198ff57987d5b419f8b04973d (diff) |
util/hash_table: Properly handle the NULL key in hash_table_u64
The hash_table_u64 should support any uint64_t as input. It does
special handling for the "deleted" key, storing the data in the table
itself; do the same for the "freed" key.
Fixes: b38dab101ca "util/hash_table: Assert that keys are not reserved pointers"
Reviewed-by: Lionel Landwerlin <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/util/set.c')
0 files changed, 0 insertions, 0 deletions