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

2024-12-01 Thread Dmitry Goncharov
Follow-up Comment #4, bug #66499 (group make): Patch sv66499.diff in the attachment sets the write side of the pipe to non blocking mode and keeps writing until EAGAIN. Tested on linux 64 bit. i am going to test on solaris and report later. (file #56663) _

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

2024-12-01 Thread Paul Smith
On Sun, 2024-12-01 at 17:12 +0100, Henrik Carlqvist wrote: > On Sun,  1 Dec 2024 09:10:04 -0500 (EST) > "Paul D. Smith" 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

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

2024-12-01 Thread Henrik Carlqvist
On Sun, 1 Dec 2024 09:10:04 -0500 (EST) "Paul D. Smith" 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

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

2024-12-01 Thread Paul D. Smith
Follow-up Comment #3, bug #66499 (group make): F_GETPIPE_SZ will work on Linux but it's not portable (not part of POSIX fcntl) ___ Reply to this item at: __