Hi Brian, On 05/07/2019 03:41 PM, Gix, Brian wrote: <snip>
+ if (asprintf(&cfg, "%s/%s/node.json", dir_name, + entry->d_name) < 0) + continue;With ELL, we do not use asprintf. Every dynamic allocation must map back to l_malloc, which performs an abort() if a memory allocation fails. So this should be re-coded as a malloc of the desired size, and then use snprintf, using the malloc'd length as N.
...or use l_strdup_printf. Which is actually asprintf underneath... ;) Regards, -Denis