From owner-cvs-all Thu Sep 26 0:55:20 2002 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 9A70F37B401; Thu, 26 Sep 2002 00:55:19 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4CC8C43E6A; Thu, 26 Sep 2002 00:55:19 -0700 (PDT) (envelope-from tjr@FreeBSD.org) Received: from freefall.freebsd.org (tjr@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id g8Q7tJCo033442; Thu, 26 Sep 2002 00:55:19 -0700 (PDT) (envelope-from tjr@freefall.freebsd.org) Received: (from tjr@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id g8Q7tJJM033441; Thu, 26 Sep 2002 00:55:19 -0700 (PDT) Message-Id: <200209260755.g8Q7tJJM033441@freefall.freebsd.org> From: "Tim J. Robbins" Date: Thu, 26 Sep 2002 00:55:19 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libc/stdio asprintf.c vasprintf.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG tjr 2002/09/26 00:55:18 PDT Modified files: lib/libc/stdio asprintf.c vasprintf.c Log: Sync with OpenBSD: avoid memory leak when __vfprintf() fails because it runs out of memory, always call va_end. Revision Changes Path 1.12 +20 -12 src/lib/libc/stdio/asprintf.c 1.17 +19 -12 src/lib/libc/stdio/vasprintf.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message