[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
Mon Apr 19 14:19:53 UTC 2021


> Sure it is. As we recently documented, rpm generally isn't generally anywhere near to being thread-safe.
> With BDB gone, we could probably rip up a whole layer of signal related crud from rpm but it's pretty deeply woven...

Fixing this long-term will require rpm to use a subprocess for `chroot()`, but for now we can just rip out the `atexit()` handler.  PR coming.

-- 
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#issuecomment-822504184
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20210419/27be2e1c/attachment.html>


More information about the Rpm-maint mailing list