summaryrefslogtreecommitdiff
path: root/changes
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@ev0ke.net>2015-06-03 13:56:01 -0400
committerNick Mathewson <nickm@torproject.org>2015-06-25 11:30:47 -0400
commit699acd8d54bd685b135d3a8e758d05dd0802b820 (patch)
tree6be18bc59cf99c0b73095097c4849f679ad063a7 /changes
parent64bdf040f021ca3ccb661c4056ee857e2ed44a4e (diff)
downloadtor-699acd8d54bd685b135d3a8e758d05dd0802b820.tar.gz
tor-699acd8d54bd685b135d3a8e758d05dd0802b820.zip
Validate the open file limit when creating a socket
Fixes #16288 Signed-off-by: David Goulet <dgoulet@ev0ke.net>
Diffstat (limited to 'changes')
-rw-r--r--changes/bug162886
1 files changed, 6 insertions, 0 deletions
diff --git a/changes/bug16288 b/changes/bug16288
new file mode 100644
index 0000000000..7ddf615d5a
--- /dev/null
+++ b/changes/bug16288
@@ -0,0 +1,6 @@
+ o Major bugfixes (open file limit):
+ - The max open file limit wasn't checked before calling
+ tor_accept_socket_nonblocking() which made tor go beyond the open
+ file limit set previously. With this fix, before opening a new socket,
+ tor validates the open file limit just before and if the max has been
+ reached, return EMFILE.; Fixes #16288; bugfix on tor-0.1.1.1-alpha~74.