On Thu, Apr 22, 2010 at 3:37 PM, Colin Watson <[email protected]> wrote:
> Without this, _rmescapes sometimes returns random garbage while
> performing parameter expansions such as ${foo#bar}, in the event that
> the allocation of r happens to need to reallocate the stack and hence
> invalidate str and p.  I'd love to provide a test case but unfortunately
> it's dependent on exact stack layout, so I don't have anything simpler
> than the situation described in
> https://bugs.launchpad.net/ubuntu/+source/partman-base/+bug/527401/comments/23
> which involved a sequence of foo="${foo#*, }" expansions on a long
> string inside our RAID configuration tool.

Please post this case anyway.
-- 
vda
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to