bin/173005: PW(8) - 'pw usermod' causes Segmentation fault: 11 (core dumped)

Mark Johnston markjdb at gmail.com
Mon Oct 29 04:30:01 UTC 2012


The following reply was made to PR bin/173005; it has been noted by GNATS.

From: Mark Johnston <markjdb at gmail.com>
To: bug-followup at FreeBSD.org, jb.1234abcd at gmail.com
Cc:  
Subject: Re: bin/173005: PW(8) - 'pw usermod' causes Segmentation
 fault: 11 (core dumped)
Date: Mon, 29 Oct 2012 00:15:55 -0400

 The error messages aren't different by design though - the different
 behaviour for -g "" is a side-effect of the change I mentioned in the
 first email. There is no practical distinction between those two errors
 anyway - they come from two essentially identical checks at different points
 in the code.
 
 In fact, the "... is not defined" check is redundant and can be
 removed/simplified if my patch is applied. Specifically, that check only
 fails with -g "" in the unpatched pw(8).
 
 -Mark


More information about the freebsd-bugs mailing list