[Rpm-maint] [rpm-software-management/rpm] Reduce undefined pointer arithmetic (#1710)
Panu Matilainen
notifications at github.com
Mon Jun 21 08:47:23 UTC 2021
Like noted elsewhere, I'm reluctant to change code that's been working for years just because some paper somewhere says its undefined behavior, but when said change actually makes code more obvious and readable, it's an entirely different matter. The existing practice in the codebase isn't by any conscious decision, it's just the way it's been written once upon a time and copied in the new code to in the name of consistency. And if we do this, then I suppose we better get on with it for the rest of similar cases in the PGP parser as well.
--
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/1710#issuecomment-864852484
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20210621/80437862/attachment.html>
More information about the Rpm-maint
mailing list