This commit is contained in:
Dongjia "toka" Zhang 2023-02-16 10:29:24 +09:00 committed by GitHub
parent e7ef6ae8b7
commit 8bffd28b4c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -735,7 +735,7 @@ impl<'a, SP> ForkserverExecutorBuilder<'a, SP> {
}
log::info!("All right - fork server is up.");
if status & FS_OPT_MAPSIZE == FS_OPT_MAPSIZE {
if status & FS_OPT_ENABLED == FS_OPT_ENABLED && status & FS_OPT_MAPSIZE == FS_OPT_MAPSIZE {
let mut map_size = fs_opt_get_mapsize(status);
// When 0, we assume that map_size was filled by the user or const
/* TODO autofill map size from the observer