Summary: | erroneous data in master.passwd or group cause pw -V command to segfault | ||
---|---|---|---|
Product: | Base System | Reporter: | diaren <fbsd> |
Component: | bin | Assignee: | Baptiste Daroussin <bapt> |
Status: | Closed FIXED | ||
Severity: | Affects Only Me | CC: | bapt, re |
Priority: | --- | Keywords: | patch |
Version: | 10.1-STABLE | ||
Hardware: | amd64 | ||
OS: | Any |
Description
diaren
2015-03-13 00:24:18 UTC
Baptiste, since you touched pw(8) last, would you mind looking at this? A commit references this bug: Author: bapt Date: Tue Jul 7 21:05:22 UTC 2015 New revision: 285256 URL: https://svnweb.freebsd.org/changeset/base/285256 Log: pw: fail if an invalid entry is found while parsing master.passwd and group PR: 198554 Reported by: diaran <fbsd@centraltech.co.uk> MFC after: 2 days Changes: head/usr.sbin/pw/pw_vpw.c head/usr.sbin/pw/tests/pw_useradd.sh I have preferred to fail rather than ignoring, IMHO such issue is important a deserves the user to double check Thanks for reporting |