]> git.ipfire.org Git - thirdparty/tor.git/commit
Avoid undefined behaviour in ifreq_to_smartlist
authorSebastian Hahn <sebastian@torproject.org>
Thu, 12 Feb 2015 13:56:47 +0000 (14:56 +0100)
committerSebastian Hahn <sebastian@torproject.org>
Thu, 12 Feb 2015 13:56:47 +0000 (14:56 +0100)
commitc8ce973dc7787b5fcf3fbe4527a45575b2fdf5d6
tree141dc44e481839377204b299e36fb85cc528e8a4
parent87a95b02363508dd6d9ce4094801c55d3b364ebf
Avoid undefined behaviour in ifreq_to_smartlist

This could trigger where _SIZEOF_ADDR_IFREQ() might not return a
multiple of sizeof(void *). Fixes bug 14875; not in any released version
of Tor.
src/common/address.c