[Rpm-maint] [rpm-software-management/rpm] syslog plugin (and maybe others) segfaults in tsm_pre when rpmtsRootDir() is NULL (Issue #4320)
Daniel Alley
notifications at github.com
Tue Sep 1 12:56:43 UTC 2026
dralley left a comment (rpm-software-management/rpm#4320)
Yes I saw the note, but as mentioned one of these outcomes would still be preferable:
* The uninitialized value is caught earlier with an appropriate error, rather than failing downstream in unexpected places (i.e. plugins that may or may not be installed) with a segfault
* A reasonable default value is set, rather than completely uninitialized
The Python bindings take the 2nd approach, is that something I could reasonably and safely adopt in the Rust bindings?
https://github.com/rpm-software-management/rpm/blob/master/python/rpmts-py.c#L927-L935
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/4320#issuecomment-5494274743
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/issues/4320/5494274743 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20260901/2da5670e/attachment.htm>
More information about the Rpm-maint
mailing list