aboutsummaryrefslogtreecommitdiff
path: root/changes/ticket28881
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-12-17 09:38:42 -0500
committerNick Mathewson <nickm@torproject.org>2018-12-18 13:52:25 -0500
commit4894d44ab8beee587c99a1765236813d445b392e (patch)
treeda534fb505349ee831279e8fe23499b9e6011abf /changes/ticket28881
parent94a79981580d6260597f799bc1a163c8e6f07acd (diff)
downloadtor-4894d44ab8beee587c99a1765236813d445b392e.tar.gz
tor-4894d44ab8beee587c99a1765236813d445b392e.zip
Always initialize addr in parse_port_config()
It was always analyzed before use, but scan-build wasn't able to persuade itself of that. Closes ticket 28881.
Diffstat (limited to 'changes/ticket28881')
-rw-r--r--changes/ticket288814
1 files changed, 4 insertions, 0 deletions
diff --git a/changes/ticket28881 b/changes/ticket28881
new file mode 100644
index 0000000000..1b015a6c37
--- /dev/null
+++ b/changes/ticket28881
@@ -0,0 +1,4 @@
+ o Code simplification and refactoring:
+ - When parsing a port configuration, make it more
+ obvious to static analyzer tools that we will always initialize the
+ address. Closes ticket 28881.