Red Hat Bugzilla – Bug 435519
[RHEL5] yp_order always returns order 0
Last modified: 2009-01-20 15:50:44 EST
Description of problem:
yp_order (const char *indomain, const char *inmap, unsigned int *outorder)
if (result == YPERR_SUCCESS) <========
*outorder = resp.ordernum;
xdr_free ((xdrproc_t) xdr_ypresp_order, (char *) &resp);
That test should be !=.
Version-Release number of selected component (if applicable):
Created attachment 296415 [details]
fix yp_order to actually return the order of the map
The patch was applied upstream.
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release. Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products. This request is not yet committed for inclusion in an Update
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.