summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorroot <root>2009-01-02 23:23:32 +0000
committerroot <root>2009-01-02 23:23:32 +0000
commit4de130b558e134f93b57b90b988193b2b32d0792 (patch)
tree99f43f0051750c5b3c1047e29f4f1302b0812587
parentd78604c0330aba8e5c3def727686c2c9e88b7f62 (diff)
*** empty log message ***
-rw-r--r--Changes4
-rw-r--r--ev_win32.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/Changes b/Changes
index eac9d3f..4088981 100644
--- a/Changes
+++ b/Changes
@@ -3,8 +3,8 @@ Revision history for libev, a high-performance and full-featured event loop.
- actually verify that local and remote port are matching in
libev's socketpair emulation, which makes denial-of-service
attacks harder (but not impossible - it's windows). Make sure
- it even works under vista, which thinks that getpeername should
- return some fantasy port number.
+ it even works under vista, which thinks that getpeer/sockname
+ should return fantasy port numbers.
3.51 Wed Dec 24 23:00:11 CET 2008
- fix a bug where an inotify watcher was added twice, causing
diff --git a/ev_win32.c b/ev_win32.c
index c85c1ad..fbc8a5f 100644
--- a/ev_win32.c
+++ b/ev_win32.c
@@ -84,7 +84,7 @@ ev_pipe (int filedes [2])
if ((sock [1] = accept (listener, 0, 0)) < 0)
goto fail;
- /* windows vista returns fantasy port numbers for getpeername.
+ /* windows vista returns fantasy port numbers for sockets:
* example for two interconnected tcp sockets:
*
* (Socket::unpack_sockaddr_in getsockname $sock0)[0] == 53364