Remove spurious logs (#3246)

This commit is contained in:
lazymio 2025-05-19 17:29:06 +08:00 committed by GitHub
parent 73cc2f5b9c
commit 90223028fd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -396,12 +396,6 @@ impl Forkserver {
));
};
if env::var(AFL_MAP_SIZE_ENV_VAR).is_err() {
log::warn!(
"{AFL_MAP_SIZE_ENV_VAR} not set. If it is unset, the forkserver may fail to start up"
);
}
if env::var(SHM_ENV_VAR).is_err() {
return Err(Error::unknown("__AFL_SHM_ID not set. It is necessary to set this env, otherwise the forkserver cannot communicate with the fuzzer".to_string()));
}