From 73e3b495e0ee825380dbc2eedbdd670a31b1b973 Mon Sep 17 00:00:00 2001 From: Robert James Kaes Date: Mon, 13 May 2002 18:47:46 +0000 Subject: Fixed up a potential SEGFAULT if memory for an entry could not be allocated. Also, thanks to Justin Guyett for finding a problem the hashmap_remove() function. There was a problem where an entry's "prev" pointer could be pointing to freed memory. Finally, renamed all "maps" to bucket to make the source more understandable. --- ChangeLog | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index dbf5dbf..de65fbe 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2002-05-13 Robert James Kaes + + * src/hashmap.c (hashmap_insert): Fixed a potential SEGFAULT if + the memory for the new hashmap entry could not be allocated. + (hashmap_remove): Fixed a problem where an entry could have it's + "prev" pointer still pointing at freed memory. Thanks to Justin + Guyett for finding and fixing this problem. + 2002-05-10 Robert James Kaes * Makefile.am (install-data-local): Fixed up the tinyproxy.conf -- cgit v1.2.3