Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Mar 1997 16:07:24 +0100 (MET)
From:      Christoph Kukulies <kuku@gilberto.physik.rwth-aachen.de>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   bin/3141: passwd or passwd -y SEGV's
Message-ID:  <199703291507.QAA04606@gilberto.physik.rwth-aachen.de>
Resent-Message-ID: <199703291500.HAA29364@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         3141
>Category:       bin
>Synopsis:       passwd or passwd -y SEGV's
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Mar 29 07:00:01 PST 1997
>Last-Modified:
>Originator:     Christoph Kukulies
>Organization:
I.Physikalisches Institut RWTH Aachen
>Release:        FreeBSD 3.0-CURRENT i386
>Environment:

	2.2.1-RELEASE (reportedly) and 3.0-current

>Description:

	passwd -y <user> on the NIS server crashes

>How-To-Repeat:

	on a FreeBSD 2.2.1 or 3.0-current NIS server, with
        linux clients (reportedly)
        type
               passwd <user>  or  passwd -y <user>
        
>Fix:
        /usr/src/usr.sbin/passwd/yp_passwd: line 104
        pw->pw_class is passed to strdup as a NULL pointer.
        Check for 0 and pass an empty string "" in that case.
	
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199703291507.QAA04606>