]> git.ipfire.org Git - thirdparty/make.git/commit
Avoid crashes when SHELL=abcde is specified on the command line
authorEli Zaretskii <eliz@gnu.org>
Wed, 7 Jun 2017 05:32:35 +0000 (08:32 +0300)
committerEli Zaretskii <eliz@gnu.org>
Wed, 7 Jun 2017 05:32:35 +0000 (08:32 +0300)
commit66a9b5c3ba4f94342ed1c17cdeb0bbd9df88f72d
tree4159bc4bb8895253d6cdd01fbd3e7958af701966
parentb552b05251980f693c729e251f93f5225b400714
Avoid crashes when SHELL=abcde is specified on the command line

* variable.c (do_variable_definition): If $SHELL was not found,
process "SHELL=foo" as any other variable definition.  This avoids
segfaults when SHELL=foo is specified on the Make command line.
Reported by Orgad Shaneh <orgads@gmail.com>.
variable.c