diff options
author | Nick Mathewson <nickm@torproject.org> | 2012-09-10 10:35:18 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2012-09-10 10:35:18 -0400 |
commit | 8731a4e148e23d8edbb7f32bdfeee30c326f33cc (patch) | |
tree | 3dab2cef71b8bd6e2ddc28f2cdb39b69cfddf4f3 /changes | |
parent | 97dbff51e60273b29d7dc15e4106c600e8efa34e (diff) | |
download | tor-8731a4e148e23d8edbb7f32bdfeee30c326f33cc.tar.gz tor-8731a4e148e23d8edbb7f32bdfeee30c326f33cc.zip |
Avoid segfault when reading state file from ancient tor
If s_values is null in rep_hist_load_bwhist_state_section, we would
call smartlist_len() on it, and die.
Fixes bug 6801.
Diffstat (limited to 'changes')
-rw-r--r-- | changes/bug6801 | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/changes/bug6801 b/changes/bug6801 new file mode 100644 index 0000000000..ef21acc98f --- /dev/null +++ b/changes/bug6801 @@ -0,0 +1,5 @@ + o Minor bugfixes: + - Avoid segfault when starting up having run with an extremely old + version of Tor and parsing its state file. Fixes bug 6801; bugfix on + 0.2.2.23-alpha. + |