From 63b67577d6df1080e0bca89d66a2e1550da6265d Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Mon, 11 Mar 2013 20:58:28 -0400 Subject: Check return values from fcntl and setsockopt (Based on a patch from flupzor; bug #8206) --- changes/bug6206 | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 changes/bug6206 (limited to 'changes/bug6206') diff --git a/changes/bug6206 b/changes/bug6206 new file mode 100644 index 000000000..61a16d291 --- /dev/null +++ b/changes/bug6206 @@ -0,0 +1,6 @@ + o Minor bugfixes: + - Always check the return values of functions fcntl() and + setsockopt(). We don't believe these are ever actually failing in + practice, but better safe than sorry. Also, checking these return + values should please some analysis tools (like Coverity). Patch + from 'flupzor'. Fix for bug 8206; bugfix on all versions of Tor. -- cgit v1.2.3