Date: Sun, 08 Mar 2015 14:13:39 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 197769] env cores for a pretty simple expression Message-ID: <bug-197769-8-YfbxsZYwrP@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-197769-8@https.bugs.freebsd.org/bugzilla/> References: <bug-197769-8@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197769 --- Comment #2 from commit-hook@freebsd.org --- A commit references this bug: Author: jilles Date: Sun Mar 8 14:12:45 UTC 2015 New revision: 279779 URL: https://svnweb.freebsd.org/changeset/base/279779 Log: env: Fix crash when -S string is not empty but no operand follows. split_spaces() set argc in main() incorrectly, which caused trouble for getopt(). Examples: env -S '\c' env -S -i PR: 197769 MFC after: 1 week Changes: head/tools/regression/usr.bin/env/regress-env.rgdata head/tools/regression/usr.bin/env/regress-sb.rb head/usr.bin/env/envopts.c -- You are receiving this mail because: You are the assignee for the bug.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-197769-8-YfbxsZYwrP>