https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79647

--- Comment #4 from Bernd Edlinger <bernd.edlinger at hotmail dot de> ---
(In reply to Martin Sebor from comment #3)
> @@ -19021,6 +19021,13 @@
>          case OPT_ASYNCJOBS:
>  
>              async_jobs = atoi(opt_arg());
> +         if (async_jobs < 0) {
> +           BIO_printf(bio_err,
> +                      "%s: async_jobs must be non-negative\n",
> +                      prog);
> +           goto opterr;
> +         }
> +
>              if (!ASYNC_is_capable()) {
>                  BIO_printf(bio_err,
>                             "%s: async_jobs specified but async not

Thanks for your suggestion, I took it verbatim and made
a pull request: https://github.com/openssl/openssl/pull/2693

Reply via email to