problem of memory leak in re-direction (shell/ash.c: expredir)

shengyong shengyong1 at huawei.com
Mon Dec 15 06:55:41 UTC 2014


hi, all
I meet the memory leak problem when use re-direction in a reading-loop, like:

	while true
	do
		while true
		do
			break
		done < /dev/null
	done

There is some discussion on this issue:
* http://lists.busybox.net/pipermail/busybox/2012-December/078738.html
* https://bugs.busybox.net/show_bug.cgi?id=5822

But it is still not fixed in the later versions?

thanks & regards



More information about the busybox mailing list