Bug 1377729 - nss_wins has incorrect function definitions for gethostbyname*
Summary: nss_wins has incorrect function definitions for gethostbyname*
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: samba
Version: 7.3
Hardware: Unspecified
OS: Unspecified
high
unspecified
Target Milestone: rc
: ---
Assignee: Andreas Schneider
QA Contact: Robin Hack
URL:
Whiteboard:
Depends On:
Blocks: 1393051
TreeView+ depends on / blocked
 
Reported: 2016-09-20 13:20 UTC by Robin Hack
Modified: 2017-08-01 18:19 UTC (History)
4 users (show)

Fixed In Version: samba-4.4.4-10.el7
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1393051 (view as bug list)
Environment:
Last Closed: 2017-08-01 18:19:59 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2017:1950 0 normal SHIPPED_LIVE Low: samba security, bug fix, and enhancement update 2017-08-01 18:09:24 UTC
Samba Project 12269 0 None None None 2016-09-20 13:21:13 UTC

Description Robin Hack 2016-09-20 13:20:17 UTC
Description of problem:
From nsswitch/wins.c:

NSS_STATUS _nss_wins_gethostbyname_r(const char *hostname, struct hostent *he,
                          char *buffer, size_t buflen, int *h_errnop);
NSS_STATUS _nss_wins_gethostbyname2_r(const char *name, int af, struct hostent *he,
                           char *buffer, size_t buflen, int *h_errnop);

These prototypes miss the int *errnop argument.

This was originally reported as a glibc bug:

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 6 errata-xmlrpc 2017-08-01 18:19:59 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2017:1950


Note You need to log in before you can comment on or make changes to this bug.