[Bug 192528] pwd_mkdb fails if /etc/shells contains duplicates

2018-02-26 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192528 Kyle Evans changed: What|Removed |Added Assignee|freebsd-bugs@FreeBSD.org|kev...@freebsd.org -- You are receiv

[Bug 192528] pwd_mkdb fails if /etc/shells contains duplicates

2017-05-15 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192528 Ed Maste changed: What|Removed |Added Status|New |In Progress Flags|

[Bug 192528] pwd_mkdb fails if /etc/shells contains duplicates

2017-05-15 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192528 --- Comment #8 from commit-h...@freebsd.org --- A commit references this bug: Author: emaste Date: Mon May 15 17:57:09 UTC 2017 New revision: 318304 URL: https://svnweb.freebsd.org/changeset/base/318304 Log: getusershell: don't write pas

[Bug 192528] pwd_mkdb fails if /etc/shells contains duplicates

2017-05-11 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192528 --- Comment #7 from Kyle Evans --- Hi, I've created the following review for this: https://reviews.freebsd.org/D10690 memset()'ing the line isn't necessary every iteration since fgets() should just overwrite as necessary and null-terminat

[Bug 192528] pwd_mkdb fails if /etc/shells contains duplicates

2017-05-11 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192528 --- Comment #6 from Kyle Evans --- Created attachment 182528 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=182528&action=edit Stripped down example of second failure case -- You are receiving this mail because: You are the ass

[Bug 192528] pwd_mkdb fails if /etc/shells contains duplicates

2017-05-11 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192528 Kyle Evans changed: What|Removed |Added CC||bsdpo...@kyle-evans.net --- Comment #

[Bug 192528] pwd_mkdb fails if /etc/shells contains duplicates

2015-05-22 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192528 --- Comment #4 from tmwalas...@gmail.com --- This bug also affects chpass, getent shells and /usr/libexec/ftpd. Generally everything that uses setusershell (which executes _local_initshells) with large /etc/shells is affected. -- You are r

[Bug 192528] pwd_mkdb fails if /etc/shells contains duplicates

2015-05-14 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192528 --- Comment #3 from tmwalas...@gmail.com --- Hi, Problem is in function _local_initshells in file lib/libc/gen/getusershell.c Function is reading /etc/shells and put every shell path to line[MAXPATHLEN + 1] It looks like this '/bin/csh\0/us

[Bug 192528] pwd_mkdb fails if /etc/shells contains duplicates

2015-05-14 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192528 tmwalas...@gmail.com changed: What|Removed |Added CC||tmwalas...@gmail.com --- Com

[Bug 192528] pwd_mkdb fails if /etc/shells contains duplicates

2014-08-09 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192528 --- Comment #1 from David --- Forum discussion: https://forums.freebsd.org/viewtopic.php?f=3&t=47546 Message list comment with solution: https://lists.freebsd.org/pipermail/freebsd-current/2010-November/021576.html -- You are receiving t