From owner-cvs-all@FreeBSD.ORG Mon Mar 29 10:37:37 2004 Return-Path: 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 DA17216A4CE; Mon, 29 Mar 2004 10:37:37 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id B2A7743D54; Mon, 29 Mar 2004 10:37:37 -0800 (PST) (envelope-from dfr@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.10/8.12.10) with ESMTP id i2TIbbGe027828; Mon, 29 Mar 2004 10:37:37 -0800 (PST) (envelope-from dfr@repoman.freebsd.org) Received: (from dfr@localhost) by repoman.freebsd.org (8.12.10/8.12.10/Submit) id i2TIbb9r027813; Mon, 29 Mar 2004 10:37:37 -0800 (PST) (envelope-from dfr) Message-Id: <200403291837.i2TIbb9r027813@repoman.freebsd.org> From: Doug Rabson Date: Mon, 29 Mar 2004 10:37:37 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/libexec/rtld-elf rtld.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 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: Mon, 29 Mar 2004 18:37:38 -0000 dfr 2004/03/29 10:37:37 PST FreeBSD src repository Modified files: libexec/rtld-elf rtld.c Log: If we change obj_rtld.path after initialising __progname, make sure we change __progname to point at the new storage otherwise it ends up pointing at freed memory which leads to confusing garbled error messages. Revision Changes Path 1.95 +1 -0 src/libexec/rtld-elf/rtld.c