NetBSD Problem Report #32319
From lloyd@must-have-coffee.gen.nz Fri Dec 16 22:32:13 2005
Return-Path: <lloyd@must-have-coffee.gen.nz>
Received: from blaze.must-have-coffee.gen.nz (203-97-164-191.cable.paradise.net.nz [203.97.164.191])
by narn.netbsd.org (Postfix) with ESMTP id 5CDA463B88D
for <gnats-bugs@gnats.NetBSD.org>; Fri, 16 Dec 2005 22:32:12 +0000 (UTC)
Message-Id: <43A34068.3090009@must-have-coffee.gen.nz>
Date: Sat, 17 Dec 2005 11:32:08 +1300
From: Lloyd Parkes <lloyd@must-have-coffee.gen.nz>
Reply-To:
To: gnats-bugs@netbsd.org
Subject: free() problem in login with Kerberos
>Number: 32319
>Category: bin
>Synopsis: free() problem in login with Kerberos
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: bin-bug-people
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Dec 16 22:35:00 +0000 2005
>Closed-Date: Tue Jun 19 21:21:23 +0000 2018
>Last-Modified: Tue Jun 19 21:21:23 +0000 2018
>Originator: Lloyd Parkes
>Release: NetBSD 3.0_RC6 (from 200512090458Z)
>Organization:
Must Have Coffee
>Environment:
System: NetBSD thallid 3.0_RC6 NetBSD 3.0_RC6 (GENERIC) #0: Fri Dec 9 09:39:00 UTC 2005
riz@faith.netbsd.org:/home/builds/ab/netbsd-3-0-RC6/i386/200512090458Z-obj/home/builds/ab/netbsd-3-0-RC6/src/sys/arch/i386/compile/GENERIC i386
Architecture: i386
Machine: i386
>Description:
There appears to be a double free in login(1). If I have an /etc/krb5.conf
file, then login prints out "login in free(): warning: chunk is already
free."
after I type in my user name.
This doesn't seem to affect my ability to login.
I create a dummy krb5.conf file because that's how I switched on Kerberos
in NetBSD 2. I haven't looked too closely at PAM support for Kerberos in
NetBSD 3 yet. It could easily be that I'm not enabling Kerberos correctly,
but that shouldn't make login(1) double free memory.
>How-To-Repeat:
Do a fresh install from CD. I installed everything. Set a hostname and
set dhclient=YES in rc.conf. This might not be required, but I have it set.
Run the command 'echo "[libdefaults]" > /etc/krb5.conf' to create an empty
config file.
Now log out and log back in.
login: lloyd
login in free(): warning: chunk is already free.
Now log out and log back in.
login: lloyd
login in free(): warning: chunk is already free.
Password:
Last login: Sun Dec 18 00:18:06 2005 from
gamer.must-have-coffee.gen.nz
on ttyp0
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003,
2004, 2005
The NetBSD Foundation, Inc. All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California. All rights
reserved.
NetBSD 3.0_RC6 (GENERIC) #0: Fri Dec 9 09:39:00 UTC 2005
Welcome to NetBSD!
...
>Fix:
Not known.
--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.371 / Virus Database: 267.14.1/206 - Release Date: 16/12/2005
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: gnats-admin->bin-bug-people
Responsible-Changed-By: spz@netbsd.org
Responsible-Changed-When: Wed, 27 Sep 2006 18:23:54 +0000
Responsible-Changed-Why:
ancient 'pending' PR dug out and fixed up
State-Changed-From-To: open->closed
State-Changed-By: kamil@NetBSD.org
State-Changed-When: Tue, 19 Jun 2018 23:21:23 +0200
State-Changed-Why:
The original problem is no longer reproducible on 8.99.19 running with MKSANITZIER=yes USE_SANITIZER=address.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.43 2018/01/16 07:36:43 maya Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.