From owner-cvs-all@FreeBSD.ORG Wed Aug 16 12:58:42 2006 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5765B16A4DA; Wed, 16 Aug 2006 12:58:42 +0000 (UTC) (envelope-from thomas@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1340B43D72; Wed, 16 Aug 2006 12:58:42 +0000 (GMT) (envelope-from thomas@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id k7GCwf16066633; Wed, 16 Aug 2006 12:58:41 GMT (envelope-from thomas@repoman.freebsd.org) Received: (from thomas@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id k7GCwfED066632; Wed, 16 Aug 2006 12:58:41 GMT (envelope-from thomas) Message-Id: <200608161258.k7GCwfED066632@repoman.freebsd.org> From: Thomas Quinot Date: Wed, 16 Aug 2006 12:58:41 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/usr.sbin/yppush yppush_main.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Aug 2006 12:58:42 -0000 thomas 2006-08-16 12:58:41 UTC FreeBSD src repository Modified files: usr.sbin/yppush yppush_main.c Log: Remove unsafe use of asynchronous I/O (the SIGIO handler could cause incorrect reentrant calls to the libc memory manager). Add missing error handling: * for an incoming response with an incorrect tid; * for a failure to register the response RPC program, Fix error handling for failure to malloc job descriptor (this needs to be done before the transient RPC program is registered). PR: bin/102143 MFC after: 2 weeks Revision Changes Path 1.22 +46 -118 src/usr.sbin/yppush/yppush_main.c