Re: Cap command size passed to subshell



Hello Pavel,

On Thu, 2004-11-25 at 11:51, Pavel Tsekov wrote:
> Why is this patch necessary ? Besides the comment in the source code do
> you have any proof (testcase) that long commands cause breakage ?

I haven't actually tried to crash mc with a long command, but the
comment clearly indicates mc "goes comma" (sic) with large command
lines, so I don't doubt that comment.

Since I haven't tested this the size cap of 4k is a bit arbitrary, but
it seems a reasonable size and is well below the indicated estimated 8k
size limit.

Of course this is open for discussion and investigation.

Leonard.

-- 
mount -t life -o ro /dev/dna /genetic/research





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