Opened on 02/14/12 at 15:06:41
Closed on 11/24/14 at 08:18:48
#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
comment:2 Changed on 11/22/14 at 14:36:43 by Gedare Bloom
Milestone: | 4.11 → 4.9.5 |
---|---|
Owner: | changed from Eric Norum to Sebastian Huber |
Status: | new → assigned |
Version: | HEAD → 4.9 |
Provide link to commit or back-port to 4.10 and 4.9
comment:3 Changed on 11/24/14 at 08:18:48 by Sebastian Huber
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:4 Changed on 11/24/14 at 12:50:47 by Amar Takhar
- HEAD: [8c85ca3f/rtems]
- 4.10: [0444c031/rtems]
- 4.9: [8553d649/rtems]
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.
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.