summaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorRobert James Kaes <rjkaes@users.sourceforge.net>2001-10-22 15:56:11 +0000
committerRobert James Kaes <rjkaes@users.sourceforge.net>2001-10-22 15:56:11 +0000
commitad743c1e41635a903aed50935afcb411f8388408 (patch)
tree44b444136690abad33ddd088b2c51e3d8a53636c /ChangeLog
parentb40e382e5a40ce8ccf980d693e92a38e3d32b75b (diff)
downloadtinyproxy-ad743c1e41635a903aed50935afcb411f8388408.tar.gz
tinyproxy-ad743c1e41635a903aed50935afcb411f8388408.zip
Fixed a problem where a user's variable would be uninitialized if a DNS
lookup failed.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog8
1 files changed, 8 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 4c9cbeb..2570a1e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2001-10-22 Robert James Kaes <rjkaes@flarenet.com>
+
+ * src/sock.c (getpeer_string):
+ * src/sock.c (getpeer_ip): When the DNS lookup fails, we need to
+ initialized the user's buffer to an empty string; otherwise, the
+ user's buffer will contain garbage and cause a SEGFAULT. Thanks to
+ Jeffrey Wheelhouse for finding this bug.
+
2001-10-18 Robert James Kaes <rjkaes@flarenet.com>
* src/reqs.c (connect_to_upstream): Moved the code needed to