Re: bin/173005: PW(8) - 'pw usermod' causes Segmentation

看板FB_bugs作者時間13年前 (2012/10/29 12:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串5/6 (看更多)
The following reply was made to PR bin/173005; it has been noted by GNATS. From: Mark Johnston <markjdb@gmail.com> To: bug-followup@FreeBSD.org, jb.1234abcd@gmail.com Cc: Subject: Re: bin/173005: PW(8) - &#39;pw usermod&#39; 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 _______________________________________________ freebsd-bugs@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscribe@freebsd.org"
文章代碼(AID): #1GZWR2go (FB_bugs)
討論串 (同標題文章)
文章代碼(AID): #1GZWR2go (FB_bugs)