diff options
author | teor <teor2345@gmail.com> | 2017-12-24 22:36:52 +1100 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-01-10 12:57:13 -0500 |
commit | 54899b404cbde5a24984e4865eed112f303398f6 (patch) | |
tree | be390f047d447e139e659c43fbb05139e16e2faa /changes | |
parent | f5d89fab2525fd8a105f9f0ea9258147bf16290e (diff) | |
download | tor-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/bug24733 | 6 |
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. |