mirror of
https://git.savannah.gnu.org/git/make.git
synced 2025-01-12 08:40:55 +00:00
* src/main.c (main): [SV 59601] Check for malformed env. variables
This commit is contained in:
parent
58a37927e6
commit
950f3d305f
1 changed files with 1 additions and 1 deletions
|
@ -1364,7 +1364,7 @@ main (int argc, char **argv, char **envp)
|
|||
enum variable_export export = v_export;
|
||||
size_t len;
|
||||
|
||||
while (! STOP_SET (*ep, MAP_EQUALS))
|
||||
while (! STOP_SET (*ep, MAP_EQUALS|MAP_NUL))
|
||||
++ep;
|
||||
|
||||
/* If there's no equals sign it's a malformed environment. Ignore. */
|
||||
|
|
Loading…
Reference in a new issue