https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79647
--- Comment #5 from Bernd Edlinger <bernd.edlinger at hotmail dot de> ---
When I tried to limit the memory allocation to reasonable size,
I triggered the warning again, with this modified check:
@@ -1393,6 +1393,12 @@ int speed_main(int argc, char **argv)
prog);
goto opterr;
}
+ if (async_jobs < 0 || async_jobs > 99999) {
+ BIO_printf(bio_err,
+ "%s: too many async_jobs\n",
+ prog);
+ goto opterr;
+ }
#endif
break;
case OPT_MISALIGN:
Why is it not clear that async_jobs can't be negative?