Fixed a problem where a user's variable would be uninitialized if a DNS
lookup failed.
This commit is contained in:
1 parent
b40e382e5a
commit
ad743c1e41
2 files changed
+11
-1
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user