Created attachment 170339 [details] patch to fix use-after-free error in nscd Coverity flagged a use-after-free error in the nscd cache_read function. It noticed that find_res->value is getting freed before it gets passed to memcpy(). It looks like the problem is a missing return (-1) inside the if (find_res->fifo_policy_item->last_request_time.tv_sec - find_res->fifo_policy_item->creation_time.tv_sec common_entry->common_params.max_lifetime.tv_sec) { block.
Does nscd(8) still work correctly after you add the missing return?
I don't use nscd ...