#2018 closed defect

gethostbyname_r() is broken

Reported by: Sebastian Huber Owned by: Sebastian Huber
Priority: normal Milestone: 4.9.5
Component: network/legacy Version: 4.9
Severity: normal Keywords:
Cc: Blocked By:
Blocking:

Description

The gethostbyname() call returns the right host entry, but the gethostbyname_r() fails in the DNS resolution. Tested on ARM EABI. The problem seems to be in the function dns_gethostbyx_r() which seems quite hard to debug.

Change History (4)

comment:1 Changed on 02/14/12 at 15:06:41 by Sebastian Huber

The gethostbyname() call returns the right host entry, but the gethostbyname_r() fails in the DNS resolution. Tested on ARM EABI. The problem seems to be in the function dns_gethostbyx_r() which seems quite hard to debug.

comment:2 Changed on 11/22/14 at 14:36:43 by Gedare Bloom

Milestone: 4.114.9.5
Owner: changed from Eric Norum to Sebastian Huber
Status: newassigned
Version: HEAD4.9

Provide link to commit or back-port to 4.10 and 4.9

comment:4 Changed on 11/24/14 at 12:50:47 by Amar Takhar

Example of using traclinks to get the changeset locally. It's better to link to source within trac rather than using git.rtems.org

Note: See TracTickets for help on using tickets.