Re: text similar to JSON can cause memory of bash to become abnormally large

2023-05-25 Thread Chet Ramey
On 5/24/23 9:39 PM, wang yuhang via Bug reports for the GNU Bourne Again SHell wrote: hi I accidentally copied a section of JSON text to the terminal and executed it, which resulted in a system crash.Bash version is 5.1.8. Later, I reproduced it and found that when I executed the following

text similar to JSON can cause memory of bash to become abnormally large

2023-05-24 Thread wang yuhang
hi I accidentally copied a section of JSON text to the terminal and executed it, which resulted in a system crash.Bash version is 5.1.8. Later, I reproduced it and found that when I executed the following command, the memory usage of bash became very large. $ [{"key":"1","key":"1","key"