From owner-cvs-lib Thu Nov 7 17:42:20 1996 Return-Path: owner-cvs-lib Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id RAA26106 for cvs-lib-outgoing; Thu, 7 Nov 1996 17:42:20 -0800 (PST) Received: (from wpaul@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id RAA26085; Thu, 7 Nov 1996 17:42:06 -0800 (PST) Date: Thu, 7 Nov 1996 17:42:06 -0800 (PST) From: Bill Paul Message-Id: <199611080142.RAA26085@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-lib Subject: cvs commit: src/lib/libc/yp yplib.c Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk wpaul 96/11/07 17:42:05 Modified: lib/libc/yp yplib.c Log: - Avoid possible SEGVs: never call clnt_destroy() without checking for NULL RPC client handles. This should hopefully fix the problems Satoshi reported on -current. - Add socket descriptor sanity checks to _yp_unbind(). - Fix yp_order() so that it handles the RPC_PROCUNAVAIL error gracefully. NIS+ in YP compat mode doesn't support the YPPROC_ORDER procedure. This is a 2.2 candidate with bells on. Revision Changes Path 1.25 +36 -8 src/lib/libc/yp/yplib.c