mirror of
https://github.com/json-c/json-c.git
synced 2026-03-31 10:59:06 +08:00
Patch to address the following issues:
* CVE-2013-6371: hash collision denial of service * CVE-2013-6370: buffer overflow if size_t is larger than int
This commit is contained in:
@@ -246,7 +246,7 @@ extern struct lh_entry* lh_table_lookup_entry(struct lh_table *t, const void *k)
|
||||
* @return a pointer to the found value or NULL if it does not exist.
|
||||
* @deprecated Use lh_table_lookup_ex instead.
|
||||
*/
|
||||
extern const void* lh_table_lookup(struct lh_table *t, const void *k);
|
||||
THIS_FUNCTION_IS_DEPRECATED(extern const void* lh_table_lookup(struct lh_table *t, const void *k));
|
||||
|
||||
/**
|
||||
* Lookup a record in the table
|
||||
|
||||
Reference in New Issue
Block a user