[tor-bugs] #18454 [Tor]: tor_addr_is_internal_(): Bug: tor_addr_is_internal() called from src/common/address.c:1668 with a non-IP address of type 11829
Tor Bug Tracker & Wiki
blackhole at torproject.org
Tue Mar 1 18:57:21 UTC 2016
#18454: tor_addr_is_internal_(): Bug: tor_addr_is_internal() called from
src/common/address.c:1668 with a non-IP address of type 11829
-------------------------------+------------------------------------
Reporter: toralf | Owner:
Type: defect | Status: new
Priority: Very High | Milestone: Tor: 0.2.8.x-final
Component: Tor | Version: Tor: 0.2.8.1-alpha
Severity: Normal | Resolution:
Keywords: memory-corruption | Actual Points:
Parent ID: | Points:
Sponsor: |
-------------------------------+------------------------------------
Comment (by cypherpunks):
> get_interface_addresses_ioctl
{{{
struct ifconf ifc;
}}}
{{{
fd = socket(family, SOCK_DGRAM, 0);
if (fd < 0) {
tor_log(severity, LD_NET, "socket failed: %s", strerror(errno));
goto done;
}
}}}
{{{
done:
if (fd >= 0)
close(fd);
tor_free(ifc.ifc_buf);
}}}
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/18454#comment:4>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list