#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 Feb 14, 2012 at 3:06:41 PM 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 Nov 22, 2014 at 2:36:43 PM 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 Nov 24, 2014 at 12:50:47 PM 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.