diff options
author | Nick Mathewson <nickm@torproject.org> | 2019-09-10 11:07:25 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2019-09-10 11:07:25 -0400 |
commit | 97f7efa9e3316e4e8970a87a1ee53fd4fd0075d8 (patch) | |
tree | 452a8a39dba1beda29c5511db22321d5c252edaa /changes | |
parent | 51475aee57523318d0b0a9e47dedad89ef1b578c (diff) | |
download | tor-97f7efa9e3316e4e8970a87a1ee53fd4fd0075d8.tar.gz tor-97f7efa9e3316e4e8970a87a1ee53fd4fd0075d8.zip |
pf: when extracting an IPv6 address, make sure we got an IPv6 address
Our code assumes that when we're configured to get IPv6 addresses
out of a TRANS_PF transparent proxy connection, we actually will.
But we didn't check that, and so FreeBSD started warning us about a
potential NULL pointer dereference.
Fixes part of bug 31687; bugfix on 0.2.3.4-alpha when this code was
added.
Diffstat (limited to 'changes')
-rw-r--r-- | changes/ticket31687_2 | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/changes/ticket31687_2 b/changes/ticket31687_2 new file mode 100644 index 0000000000..eadc698275 --- /dev/null +++ b/changes/ticket31687_2 @@ -0,0 +1,5 @@ + o Minor bugfixes (FreeBSD, PF-based proxy, IPv6): + - When extracting an IPv6 address from a PF-based proxy, verify + that we are actually configured to receive an IPv6 address, + and log an internal error if not. Fixes part of bug 31687; + bugfix on 0.2.3.4-alpha. |