Re: [PATCH] Fix overflow in jobs

2017-12-08 Thread Chet Ramey
On 12/7/17 5:36 PM, Natanael Copa wrote: > This fixes an issue with bash hanging if user process rlimit is too > high. Thanks for the report. -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, UTech, CWRUc...@c

Re: Bash leaks memory when doing function calls while reading from subshell as stdin

2017-12-08 Thread Chet Ramey
On 12/7/17 7:41 AM, Øyvind Hvidsten wrote: > Bash Version: 4.4 > Patch Level: 12 > Release Status: release > > Description: > Somehow the included script causes a memory leak. Memory usage will > grow huge over a very short timeframe. Thanks for the report. It's the return in f2 that causes