aboutsummaryrefslogtreecommitdiff
path: root/changes
diff options
context:
space:
mode:
authorteor <teor2345@gmail.com>2014-09-29 10:08:37 +1000
committerNick Mathewson <nickm@torproject.org>2014-09-28 20:51:23 -0400
commitff8fe38a2fac97d34bba4d46edabb4dd1bbe6d90 (patch)
tree78e3a12160d7455de69adb257aed0bdc281f3f72 /changes
parent5190ec0bc4c22d7bab756e21db6e357ba07379c4 (diff)
downloadtor-ff8fe38a2fac97d34bba4d46edabb4dd1bbe6d90.tar.gz
tor-ff8fe38a2fac97d34bba4d46edabb4dd1bbe6d90.zip
Stop spurious clang shallow analysis null pointer errors
Avoid 4 null pointer errors under clang shallow analysis (the default when building under Xcode) by using tor_assert() to prove that the pointers aren't null. Resolves issue 13284 via minor code refactoring.
Diffstat (limited to 'changes')
-rw-r--r--changes/issue13284-spurious-clang-shallow-analyze-errors3
1 files changed, 3 insertions, 0 deletions
diff --git a/changes/issue13284-spurious-clang-shallow-analyze-errors b/changes/issue13284-spurious-clang-shallow-analyze-errors
new file mode 100644
index 0000000000..c08fa1f1b0
--- /dev/null
+++ b/changes/issue13284-spurious-clang-shallow-analyze-errors
@@ -0,0 +1,3 @@
+ o Minor bugfixes:
+ - Avoid 4 null pointer errors under clang shallow analysis by using
+ tor_assert() to prove that the pointers aren't null. Fixes bug 13284.