[Bug 197769] env cores for a pretty simple expression
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sun Mar 8 14:13:39 UTC 2015
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197769
--- Comment #2 from commit-hook at 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.
More information about the freebsd-bugs
mailing list