From owner-cvs-lib Sun Oct 26 02:40:03 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id CAA28991 for cvs-lib-outgoing; Sun, 26 Oct 1997 02:40:03 -0800 (PST) (envelope-from owner-cvs-lib) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id CAA28886; Sun, 26 Oct 1997 02:38:19 -0800 (PST) (envelope-from helbig@FreeBSD.org) From: Wolfgang Helbig Received: (from helbig@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id CAA08257; Sun, 26 Oct 1997 02:37:36 -0800 (PST) Date: Sun, 26 Oct 1997 02:37:36 -0800 (PST) Message-Id: <199710261037.CAA08257@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-lib@FreeBSD.ORG Subject: cvs commit: src/lib/libc/stdtime strftime.3 Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk helbig 1997/10/26 02:37:36 PST Modified files: lib/libc/stdtime strftime.3 Log: Typo. Revision Changes Path 1.12 +1 -1 src/lib/libc/stdtime/strftime.3 From owner-cvs-lib Sun Oct 26 10:50:43 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id KAA15555 for cvs-lib-outgoing; Sun, 26 Oct 1997 10:50:43 -0800 (PST) (envelope-from owner-cvs-lib) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id KAA15361; Sun, 26 Oct 1997 10:47:33 -0800 (PST) (envelope-from wpaul@FreeBSD.org) From: Bill Paul Received: (from wpaul@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id KAA00421; Sun, 26 Oct 1997 10:47:33 -0800 (PST) Date: Sun, 26 Oct 1997 10:47:33 -0800 (PST) Message-Id: <199710261847.KAA00421@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-lib@FreeBSD.ORG Subject: cvs commit: src/lib/libc/rpc clnt_udp.c Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk wpaul 1997/10/26 10:47:32 PST Modified files: lib/libc/rpc clnt_udp.c Log: In clntudp_call(), it is possible that xdr_replymsg() might fail partway through its attempt to decode the result structure sent by the server. If this happens, it can leave the result partially populated with dynamically allocated memory. In this event, the xdr_replymsg() failure is detected and RPC_CANTDECODERES is returned, but the memory in the partially populated result struct is not free()d. The end result is that memory is leaked when an RPC_CANTDECODERES error occurs. (This condition can occur if a CLIENT * handle is created using clntudp_bufcreate() with a receive buffer size that is too small to handle the result sent by the server.) Fixed by setting reply_xdrs.x_op to XDR_FREE and calling xdr_replymsg() again to free the memory if an RPC_CANTDECODERES error is detected. I suspect that the clnt_tcp.c, clnt_unix.c and clnt_raw.c modules may ha a similar problem, but I haven't duplicated the condition with those yet. Found by: dbmalloc Revision Changes Path 1.12 +14 -0 src/lib/libc/rpc/clnt_udp.c From owner-cvs-lib Sun Oct 26 14:50:31 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id OAA25190 for cvs-lib-outgoing; Sun, 26 Oct 1997 14:50:31 -0800 (PST) (envelope-from owner-cvs-lib) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id OAA24951; Sun, 26 Oct 1997 14:48:35 -0800 (PST) (envelope-from jkh@FreeBSD.org) From: "Jordan K. Hubbard" Received: (from jkh@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id OAA02121; Sun, 26 Oct 1997 14:48:33 -0800 (PST) Date: Sun, 26 Oct 1997 14:48:33 -0800 (PST) Message-Id: <199710262248.OAA02121@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-lib@FreeBSD.ORG Subject: cvs commit: src/lib/libpcap Makefile Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk jkh 1997/10/26 14:48:33 PST Modified files: (Branch: RELENG_2_2) lib/libpcap Makefile Log: MFC: parallelize Revision Changes Path 1.12.2.1 +2 -1 src/lib/libpcap/Makefile From owner-cvs-lib Mon Oct 27 23:48:27 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id XAA04834 for cvs-lib-outgoing; Mon, 27 Oct 1997 23:48:27 -0800 (PST) (envelope-from owner-cvs-lib) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id XAA04660; Mon, 27 Oct 1997 23:46:42 -0800 (PST) (envelope-from joerg@FreeBSD.org) From: Joerg Wunsch Received: (from joerg@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id XAA00217; Mon, 27 Oct 1997 23:46:30 -0800 (PST) Date: Mon, 27 Oct 1997 23:46:30 -0800 (PST) Message-Id: <199710280746.XAA00217@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-lib@FreeBSD.ORG Subject: cvs commit: src/lib/libncurses curs_border.3 Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk joerg 1997/10/27 23:46:29 PST Modified files: lib/libncurses curs_border.3 Log: Typo. Submitted by: peter@rhiannon.clari.net.au (Peter Hawkins) Revision Changes Path 1.4 +2 -2 src/lib/libncurses/curs_border.3 From owner-cvs-lib Mon Oct 27 23:49:38 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id XAA04934 for cvs-lib-outgoing; Mon, 27 Oct 1997 23:49:38 -0800 (PST) (envelope-from owner-cvs-lib) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id XAA04730; Mon, 27 Oct 1997 23:47:39 -0800 (PST) (envelope-from joerg@FreeBSD.org) From: Joerg Wunsch Received: (from joerg@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id XAA00263; Mon, 27 Oct 1997 23:47:26 -0800 (PST) Date: Mon, 27 Oct 1997 23:47:26 -0800 (PST) Message-Id: <199710280747.XAA00263@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-lib@FreeBSD.ORG Subject: cvs commit: src/lib/libncurses curs_border.3 Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk joerg 1997/10/27 23:47:26 PST Modified files: (Branch: RELENG_2_2) lib/libncurses curs_border.3 Log: MFC: typo fix Revision Changes Path 1.3.2.1 +2 -2 src/lib/libncurses/curs_border.3 From owner-cvs-lib Tue Oct 28 17:25:21 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id RAA07609 for cvs-lib-outgoing; Tue, 28 Oct 1997 17:25:21 -0800 (PST) (envelope-from owner-cvs-lib) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id RAA07429; Tue, 28 Oct 1997 17:23:35 -0800 (PST) (envelope-from asami@FreeBSD.org) From: Satoshi Asami Received: (from asami@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id RAA24762; Tue, 28 Oct 1997 17:23:17 -0800 (PST) Date: Tue, 28 Oct 1997 17:23:17 -0800 (PST) Message-Id: <199710290123.RAA24762@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-lib@FreeBSD.ORG Subject: cvs commit: src/lib/csu/i386 Makefile Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk asami 1997/10/28 17:23:16 PST Modified files: (Branch: RELENG_2_2) lib/csu/i386 Makefile Log: Merge 1.32 (pmake cleanness). Revision Changes Path 1.25.2.4 +6 -11 src/lib/csu/i386/Makefile