On Mon, 2019-06-17 at 01:39 -0700, Zhixiong Chi wrote: > Since snprintf doesn't support the same src and dst address, it will get > the wrong result. > In the sink second recursive call env, the argv and the namebuf will point > the same address, after free operation for namebuf. > So the last change for this is wrong, now we just drop the free function > in the recursive loop to get the correct path of file and directory. > Even though there will be memory leak, the allocated static area memory > will be released after process exited.
Has this been submitted upstream? This looks like the kind of issues which would be best fixed upstream rather than us just carrying a patch... Cheers, Richard -- _______________________________________________ Openembedded-core mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-core
