diff options
author | Nick Mathewson <nickm@torproject.org> | 2017-08-08 20:07:39 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2017-08-08 20:08:43 -0400 |
commit | 72832086e2144158308b30133aa15b39f0d2eb5d (patch) | |
tree | 2bdb396011480bea194ed212c63227e773a60776 /changes | |
parent | a47b8fcf9295111339b80e5bc81c3de428241cad (diff) | |
download | tor-72832086e2144158308b30133aa15b39f0d2eb5d.tar.gz tor-72832086e2144158308b30133aa15b39f0d2eb5d.zip |
Use a single free-and-exit strategy in config_process_include.
This avoids a double-free when a pointer already freed with
tor_free(config_line) is freed again in the cleanup-and-exit code.
Fixes bug 23155.
Diffstat (limited to 'changes')
-rw-r--r-- | changes/bug23155 | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/changes/bug23155 b/changes/bug23155 new file mode 100644 index 0000000000..4c24ab136c --- /dev/null +++ b/changes/bug23155 @@ -0,0 +1,4 @@ + o Minor bugfixes (stability): + - Avoid crashing on double-free when unable to load or process + an included file. Fixes bug 23155; bugfix on 0.3.1.1-alpha. + Found with the clang static analyzer. |