fix early return in AFL_TARGET_ENV

This commit is contained in:
fuzzah
2022-03-21 22:58:17 +03:00
parent 13c8a27faa
commit c2ae24ab96

View File

@ -805,10 +805,7 @@ bool extract_and_set_env(u8 *env_str) {
*rest = '\0'; // done with variable value
rest += 1;
if (rest < end && *rest != ' ') { goto free_and_return; }
num_pairs++;
setenv(key, val, 1);
}