mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-17 20:28:08 +00:00
check for mistyped env vars
This commit is contained in:
@ -863,7 +863,7 @@ static void find_binary(u8* fname) {
|
||||
|
||||
/* Main entry point */
|
||||
|
||||
int main(int argc, char** argv) {
|
||||
int main(int argc, char** argv, char** envp) {
|
||||
|
||||
s32 opt;
|
||||
u8 mem_limit_given = 0, timeout_given = 0, unicorn_mode = 0, use_wine = 0;
|
||||
@ -985,6 +985,7 @@ int main(int argc, char** argv) {
|
||||
|
||||
use_hex_offsets = !!getenv("AFL_ANALYZE_HEX");
|
||||
|
||||
check_environment_vars(envp);
|
||||
setup_shm(0);
|
||||
atexit(at_exit_handler);
|
||||
setup_signal_handlers();
|
||||
|
Reference in New Issue
Block a user