tor/changes
Nick Mathewson 959da6b7f2 Use strlcpy in create_unix_sockaddr()
Using strncpy meant that if listenaddress were ever >=
sizeof(sockaddr_un.sun_path), we would fail to nul-terminate
sun_path.  This isn't a big deal: we never read sun_path, and the
kernel is smart enough to reject the sockaddr_un if it isn't
nul-terminated.  Nonetheless, it's a dumb failure mode.  Instead, we
should reject addresses that don't fit in sockaddr_un.sun_path.

Coverity found this; it's CID 428.  Bugfix on 0.2.0.3-alpha.
2011-07-01 12:54:24 -04:00
..
abandon-rend-circs-on-newnym Abandon rendezvous circuits on SIGNAL NEWNYM 2011-06-17 15:22:23 -04:00
bug2574 Fix typo in changes/bug2574. Thanks, rransom 2011-05-28 02:13:04 -04:00
bug3122_memcmp Add a data-independent variant of memcmp and a d-i memeq function. 2011-05-11 16:12:33 -04:00
bug3135 Fix crash when read_file_to_string() fails in SAVECONF 2011-05-11 22:05:41 -04:00
check-fetched-rend-desc-service-id Check fetched rendezvous descriptors' service IDs 2011-05-16 14:07:24 -04:00
check-public-key-exponents Require that certain public keys have public exponent 65537 2011-05-16 14:28:46 -04:00
cid_428 Use strlcpy in create_unix_sockaddr() 2011-07-01 12:54:24 -04:00
geoip-june2011 move to the june 1 2011 maxmind geoip db 2011-06-05 11:12:28 -04:00
geoip-may2011 Update to the May 1 2011 Maxmind GeoLite Country database 2011-05-10 23:04:11 -04:00