bug-coreutils
[Top][All Lists]
Advanced

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

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


From: L A Walsh
Subject: bug#28082: bash: /bin/rm: Argument list too long
Date: Fri, 25 Aug 2017 22:45:51 -0700
User-agent: Thunderbird

Dmitry V. Levin wrote:
It's a security limit rather than a fixed buffer, see e.g.
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=da029c11e6b12f321f36dac8771e833b65cec962


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.













reply via email to

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