[Rpm-maint] [rpm-software-management/rpm] Use unsigned integers everywhere in header code (Issue #2385)
Panu Matilainen
notifications at github.com
Tue Feb 7 14:38:10 UTC 2023
First round of this work happened way back in 2008 for rpm 4.6.0, addressing the public API facing stuff mostly. The more recent header/package overhaul in 2018 consolidated much of the remaining mess, but what remains to be done is fixing the mishmash of integer types used in the internals.
All numeric data in headers (except for one) is unsigned, and so should be the types. This will also improve security as there are fewer things to get wrong wrt range checking, overflow/wraparound behavior is sane etc.
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/2385
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/issues/2385 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20230207/ee6700bd/attachment.html>
More information about the Rpm-maint
mailing list