[Rpm-maint] [rpm-software-management/rpm] librpm’s atexit() memory can free memory other threads are still using (#1645)

Demi Marie Obenour notifications at github.com
Sun Apr 18 19:30:18 UTC 2021


librpm installs an `atexit()` handler to clean up resources, but there is no protection against other threads that are still using those resources.  The result is undefined behavior.  According to [this comment by Rich Feckler](https://github.com/rust-lang/rust/issues/83994#issuecomment-820572419) (maintainer of musl libc) this is a bug in librpm.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/1645
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20210418/44d93dad/attachment.html>


More information about the Rpm-maint mailing list