[Rpm-maint] [rpm-software-management/rpm] rpmkeys exit code can wrap around and return success on failure (Issue #4176)
Panu Matilainen
notifications at github.com
Thu Apr 9 09:27:04 UTC 2026
pmatilai created an issue (rpm-software-management/rpm#4176)
Discovered while working on https://github.com/rpm-software-management/rpm/pull/4170 : if the number of failures is dividible by 256 then the final exit code wraps around, returning zero despite failures.
Our other commands have protection against this, but rpmkeys which is arguably the most critical of them, does not 🤦
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/4176
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/issues/4176 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20260409/8670c28a/attachment-0001.htm>
More information about the Rpm-maint
mailing list