[OpenWrt-Devel] Memory leak in ash with script using "local" incorrectly

Rafał Miłecki zajec5 at gmail.com
Fri Oct 30 02:08:16 EDT 2015

On 29 October 2015 at 16:36, Ron Yorston <rmy at pobox.com> wrote:
> Bastian Bittorf wrote:
>>i just tested v1.24.1 on OpenWrt[1] and there is *no* leak.
> I think this is due to
>   <0a0acb5> 2015-04-18 [Denys Vlasenko] ash: fix handling of duplicate "local"
> which is included in 1.24 but not 1.23.  This patch detects if a local
> variable is being declared more than once.  If it's a duplicate it
> doesn't allocate any additional space.

Thanks for your testing Bastian and thanks for pointing this commit
Ron. Nice someone already caught this problem :)

openwrt-devel mailing list
openwrt-devel at lists.openwrt.org

More information about the openwrt-devel mailing list