tor/src
Nick Mathewson 685d450ab3 scan-build: avoid undef behaior in tor_inet_pton
If we had an address of the form "1.2.3.4" and we tried to pass it to
tor_inet_pton with AF_INET6, it was possible for our 'eow' pointer to
briefly move backwards to the point before the start of the string,
before we moved it right back to the start of the string.  C doesn't
allow that, and though we haven't yet hit a compiler that decided to
nuke us in response, it's best to fix.

So, be more explicit about requiring there to be a : before any IPv4
address part of the IPv6 address.  We would have rejected addresses
without a : for not being IPv6 later on anyway.
2014-04-19 13:14:33 -04:00
..
common scan-build: avoid undef behaior in tor_inet_pton 2014-04-19 13:14:33 -04:00
config Merge remote-tracking branch 'karsten/geoip2regcountry' 2014-02-25 10:04:37 -05:00
ext scan-build: truncate tinytest hexified outputs to 1024 bytes. 2014-04-19 12:47:51 -04:00
or scan-build: sizeof(ptr*) in a debugging log in ext_orport.c 2014-04-19 12:53:57 -04:00
test scan-build: avoid undef behaior in tor_inet_pton 2014-04-19 13:14:33 -04:00
tools scan-build: close stdio FILEs on error in tor-gencert 2014-04-19 12:47:58 -04:00
win32 bump to 0.2.5.3-alpha-dev 2014-03-23 00:15:25 -04:00
include.am Move all externally maintained source files into src/ext 2012-10-11 17:22:03 -04:00