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.
This commit is contained in:
Robert James Kaes committed 2002-05-13 18:47:46 +00:00
1 parent f0b0990612
commit 73e3b495e0
2 files changed
+43 -26

No files matched your search

+8
View File
@@ -1,3 +1,11 @@
2002-05-13 Robert James Kaes <rjkaes@flarenet.com>
* 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 <rjkaes@flarenet.com>
* Makefile.am (install-data-local): Fixed up the tinyproxy.conf