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/usr/local/bin/zsh\0/usr/local/bin/bash', it does not clean this array (and not set pointer at the beggining) on every iteration so if we have many lines in /etc/shells it will overflow. Simple patch is in the attachment. Works for me ;) -- You are receiving this mail because: You are the assignee for the bug. _______________________________________________ freebsd-bugs@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"