From owner-freebsd-hackers Thu Dec 12 8:21:40 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 15EEE37B401 for ; Thu, 12 Dec 2002 08:21:39 -0800 (PST) Received: from fafoe.dyndns.org (chello212186121237.14.vie.surfer.at [212.186.121.237]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8454443ED1 for ; Thu, 12 Dec 2002 08:21:38 -0800 (PST) (envelope-from stefan@fafoe.dyndns.org) Received: from frog.fafoe (frog.fafoe [192.168.2.101]) by fafoe.dyndns.org (Postfix) with ESMTP id 6ABC24007; Thu, 12 Dec 2002 17:21:31 +0100 (CET) Received: by frog.fafoe (Postfix, from userid 1001) id E85E133F; Thu, 12 Dec 2002 17:21:30 +0100 (CET) Date: Thu, 12 Dec 2002 17:21:30 +0100 From: Stefan Farfeleder To: Fred Souza Cc: hackers@FreeBSD.ORG Subject: Re: libkvm breakage? Message-ID: <20021212162130.GB644@frog.fafoe> References: <20021212103236.GA19236@torment.storming.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021212103236.GA19236@torment.storming.org> User-Agent: Mutt/1.5.1i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, Dec 12, 2002 at 01:32:36PM +0300, Fred Souza wrote: > Can anyone else reproduce this? Or better yet, does anyone know what's > the problem and how to fix it? :-) 161: free(ep); ep points to some character of optarg if -g, -m or -o ist used... 231: if ((kp = kvm_getprocs(kd, KERN_PROC_TTY, fs->st_rdev, 232: &entries)) == 0) { *kd is uninitialized, your have to call kvm_open() instead of malloc(). Regards, Stefan Farfeleder To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message