summaryrefslogtreecommitdiff
path: root/changes
diff options
context:
space:
mode:
authorteor <teor2345@gmail.com>2017-12-24 22:36:52 +1100
committerNick Mathewson <nickm@torproject.org>2018-01-10 12:57:13 -0500
commit54899b404cbde5a24984e4865eed112f303398f6 (patch)
treebe390f047d447e139e659c43fbb05139e16e2faa /changes
parentf5d89fab2525fd8a105f9f0ea9258147bf16290e (diff)
downloadtor-54899b404cbde5a24984e4865eed112f303398f6.tar.gz
tor-54899b404cbde5a24984e4865eed112f303398f6.zip
Stop invoking undefined behaviour by using tor_free() on an unaligned pointer
... in get_interface_addresses_ioctl(). This pointer alignment issue exists on x86_64 macOS, but is unlikely to exist elsewhere. (i386 macOS only requires 4-byte alignment, and other OSs have 8-byte ints.) Fixes bug 24733; not in any released version of tor.
Diffstat (limited to 'changes')
-rw-r--r--changes/bug247336
1 files changed, 6 insertions, 0 deletions
diff --git a/changes/bug24733 b/changes/bug24733
new file mode 100644
index 0000000000..e333e4fa5d
--- /dev/null
+++ b/changes/bug24733
@@ -0,0 +1,6 @@
+ o Minor bugfixes (code correctness):
+ - Stop invoking undefined behaviour by using tor_free() on an unaligned
+ pointer in get_interface_addresses_ioctl(). This pointer alignment issue
+ exists on x86_64 macOS, but is unlikely to exist elsewhere.
+ Fixes bug 24733; bugfix on 0.3.0.0-alpha-dev;
+ not in any released version of tor.