[Rpm-maint] [rpm-software-management/rpm] Avoid out-of-bounds pointer arithmetic in dataLength() (#1626)
Demi Marie Obenour
notifications at github.com
Mon Apr 12 13:20:40 UTC 2021
> @DemiMarie I've repeatedly asked you not to submit more pull-requests of this kind, because a large percentage of these "but in theory" patches have only introduced regressions despite hours and days wasted trying to review them. Rpm relies on this type of arithmetic in any number of places, and AIUI it mostly just means that rpm is not portable to some truly exotic hardware with segmented memory model.
It also can lead to miscompilations, which won’t be considered compiler bugs because this type of pointer arithmetic is undefined behavior.
--
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/pull/1626#issuecomment-817805708
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20210412/5eeb7e2f/attachment.html>
More information about the Rpm-maint
mailing list