[Rpm-maint] [rpm-software-management/rpm] Make user/group lookup caching thread-safe (PR #2843)

Panu Matilainen notifications at github.com
Tue Jan 16 11:58:36 UTC 2024


Oh, except that rpmugGname() and rpmugUname() additionally rely on central storage of the returned values so simple mutex locking doesn't work for those. So those would have to be changed to return malloced data for a simple fix (it wont break any users because there aren't any, at the moment).

-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/2843#issuecomment-1893599960
You are receiving this because you are subscribed to this thread.

Message ID: <rpm-software-management/rpm/pull/2843/c1893599960 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20240116/35b19286/attachment.html>


More information about the Rpm-maint mailing list