summaryrefslogtreecommitdiff
path: root/linkhash.h
diff options
context:
space:
mode:
authorMichael Clark <michael@metaparadigm.com>2014-04-09 13:48:21 +0800
committerMichael Clark <michael@metaparadigm.com>2014-04-09 13:48:21 +0800
commit64e36901a0614bf64a19bc3396469c66dcd0b015 (patch)
tree8a897e095b59db5c6e089866ba2b075cd0d3f60a /linkhash.h
parent784534a31f301466d9ab6f8d5b5ccd39a3b9f156 (diff)
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
Diffstat (limited to 'linkhash.h')
-rw-r--r--linkhash.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/linkhash.h b/linkhash.h
index 378de0b..950d09f 100644
--- a/linkhash.h
+++ b/linkhash.h
@@ -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