From 8731a4e148e23d8edbb7f32bdfeee30c326f33cc Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Mon, 10 Sep 2012 10:35:18 -0400 Subject: 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. --- changes/bug6801 | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 changes/bug6801 (limited to 'changes') 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. + -- cgit v1.2.3-54-g00ecf