From: Ulrich Drepper Date: Fri, 25 Nov 2005 16:05:57 +0000 (+0000) Subject: [BZ #1925] X-Git-Tag: cvs/fedora-glibc-20051219T1003~81 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=85f90d22b6efe2e3b14708556047cc09e7de7a7c;p=thirdparty%2Fglibc.git [BZ #1925] 2005-11-25 Ulrich Drepper [BZ #1925] * nis/ypclnt.c (yp_order): Correct test for invalid parameter. --- diff --git a/ChangeLog b/ChangeLog index 2adef782c8f..a9fb1926954 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2005-11-25 Ulrich Drepper + + [BZ #1925] + * nis/ypclnt.c (yp_order): Correct test for invalid parameter. + 2005-11-24 Ulrich Drepper * scripts/check-c++-types.sh: Improve comments. diff --git a/nis/ypclnt.c b/nis/ypclnt.c index 6230cb84dcb..df0e7830cb5 100644 --- a/nis/ypclnt.c +++ b/nis/ypclnt.c @@ -593,7 +593,7 @@ yp_order (const char *indomain, const char *inmap, unsigned int *outorder) enum clnt_stat result; if (indomain == NULL || indomain[0] == '\0' || - inmap == NULL || inmap == '\0') + inmap == NULL || inmap[0] == '\0') return YPERR_BADARGS; req.domain = (char *) indomain;