code review request for my submit netifd patch

2021-12-07 Thread Junnan XU
Hi all Could someone help review the code and leave valuable comments? This is the first time I have submit a patch to openwrt, thank you very much. https://patchwork.ozlabs.org/project/openwrt/patch/2f18ab52-39b5-3546-45c1-10e5357b4...@163.com/ Best Regards Xu Junnan

[netifd] interface-ip:fix memory corruption bug when setting resolv.conf path

2021-12-06 Thread Junnan XU
From: Junnan XU The value of the resolv_conf variable can be specified by input parameters when netifd is started.So when the length of the resolv_conf variable value is less than "/tmp/resolv.conf-%s.d/resolv.conf.auto", the memory out-of-bounds operation