[OpenWrt-Devel] rpcd memory leaks [Was: Re: OpenWrt 19.07 release schedule ?]

Petr Štetiar ynezz at true.cz
Sat Oct 19 01:01:49 EDT 2019


Yousong Zhou <yszhou4tech at gmail.com> [2019-10-19 12:11:08]:

Hi,

> > * rpcd leaks memory
> 
> I will give this a try and see how many leaks I can uncover in the weekend.

great! BTW that release blocking one might be already fixed, just guessing from this IRC discussion:

 < jow> Hauke: the leak in rpcd can be easily provoked by running something like   while true; do ubus call iwinfo info '{ "device": "radio0" }'; done
 < jow> Hauke: it has been (inadvertently) fixed by https://git.openwrt.org/?p=project/iwinfo.git;a=commitdiff;h=a29b7d4e26a8d97e48c2a899dda3665d385b95db
 < jow> Hauke: didn't yet check if 18.06 is affected

Nonetheless scan-build from clang version 9 reports some issues[1], as there
are no valgrind CI tests yet, I'm unsure if those are false positives.

1. https://ynezz.gitlab.io/-/openwrt-rpcd/-/jobs/323420230/artifacts/build/scan/2019-10-17-075741-163-1/index.html

-- ynezz

_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list