[Top][All Lists]

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

bug#28082: bash: /bin/rm: Argument list too long

From: Jonny Grant
Subject: bug#28082: bash: /bin/rm: Argument list too long
Date: Sat, 26 Aug 2017 10:39:00 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1

On 26/08/17 08:45, L A Walsh wrote:
Dmitry V. Levin wrote:
It's a security limit rather than a fixed buffer, see e.g.

Hmm,  original poster had about 2.3MB of data.
The patch referenced above says to limit arg stack usage to at
most 75% of _STK_LIM (6MB), or about 4.5MB.

Ah... also, 25% of your stack limit.  Mine's 8M, so that wouldn't allow
for 2.4MB of args.  You might get that specific case to pass
if you increased your stack limit(?), but it still would be
a problem in the general case.

I don't know if there is a way that Bash, could split up the long argument lists to workaround a known limit. eg using xargs

Regards, Jonny

reply via email to

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