mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-14 02:58:08 +00:00
fix early return in AFL_TARGET_ENV
This commit is contained in:
@ -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);
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user