[bug #66499] Parameter for option -j seems not to be validated and can cause hangs

"Paul D. Smith" <[email protected]>
Newsgroups gmane.comp.gnu.make.bugs
Message-ID <[email protected]>
Update of bug #66499 (group make):

                  Status:                    None => Fixed
             Open/Closed:                    Open => Closed
           Fixed Release:                    None => SCM
           Triage Status:                    None => Medium Effort

    _______________________________________________________

Follow-up Comment #7:

Thanks for the patch Dmitry.

I decided to modify it to be a fatal error if the requested number of job
slots was too large, rather than a warning and reducing the size.  I just
think that if we can't satisfy the user's request it should be an error rather
than continuing to run with a different level.

I applied your patch with these changes.


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?66499>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc (application/pgp-signature, 228 B)
-----BEGIN PGP SIGNATURE-----

iHUEABYIAB0WIQQk97aszIMMAvLLwm6qLAuaBUf3TgUCZ1ZzvgAKCRCqLAuaBUf3
Tp/eAP0d7/8YAoIINAAEjiCPRjAZd1+WBOFd0bYuhveTWbnIPgD9E1buzAZqGnXv
ic/x4A6gsAoaDc50qBuqzqLodtgU6wU=
=Nudu
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.