Re: [External Mail]Re: [PATCH] erofs-utils: avoid allocating large arrays on the stack

2024-10-24 Thread Huang Jianan via Linux-erofs
On 2024/10/25 0:48, Sandeep Dhavale wrote: > > Hi Jianan, > > On Thu, Oct 24, 2024 at 2:49 AM Jianan Huang via Linux-erofs > wrote: >> >> The default pthread stack size of bionic is 1M. Use malloc to avoid >> stack overflow. >> >> Signed-off-by: Jianan Huang >> --- >> lib/compress.c | 31

Re: [PATCH] erofs-utils: avoid allocating large arrays on the stack

2024-10-24 Thread Sandeep Dhavale via Linux-erofs
Hi Jianan, On Thu, Oct 24, 2024 at 2:49 AM Jianan Huang via Linux-erofs wrote: > > The default pthread stack size of bionic is 1M. Use malloc to avoid > stack overflow. > > Signed-off-by: Jianan Huang > --- > lib/compress.c | 31 +-- > 1 file changed, 21 insertions(+