bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug #66499] Parameter for option -j seems not to be validated and c


From: Henrik Carlqvist
Subject: Re: [bug #66499] Parameter for option -j seems not to be validated and can cause hangs
Date: Sun, 1 Dec 2024 17:12:12 +0100

On Sun,  1 Dec 2024 09:10:04 -0500 (EST)
"Paul D. Smith" <INVALID.NOREPLY@gnu.org> wrote:
> F_GETPIPE_SZ will work on Linux but it's not portable (not part of POSIX
> fcntl)

Suggestion: Use F_GETPIPE_SZ as a limit when it does exist, if not, use some
arbitrary big value which usually will be "big enough with a margin". I did
use 10000 for a similar arbitrary value in my patch at
https://savannah.gnu.org/bugs/?51200

regards Henrik



reply via email to

[Prev in Thread] Current Thread [Next in Thread]