diff options
author | Robert James Kaes <rjkaes@users.sourceforge.net> | 2001-10-22 15:56:11 +0000 |
---|---|---|
committer | Robert James Kaes <rjkaes@users.sourceforge.net> | 2001-10-22 15:56:11 +0000 |
commit | ad743c1e41635a903aed50935afcb411f8388408 (patch) | |
tree | 44b444136690abad33ddd088b2c51e3d8a53636c /ChangeLog | |
parent | b40e382e5a40ce8ccf980d693e92a38e3d32b75b (diff) | |
download | tinyproxy-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-- | ChangeLog | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -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 |