[Rpm-maint] [rpm-software-management/rpm] Document trailer invariants (#1481)

Demi Marie Obenour notifications at github.com
Sat Jan 9 20:51:45 UTC 2021


When working on #1471 I found that the invariants of the trailer are not documented anywhere I could find.  I expected them to be as follows:

- The trailer must come after the last index entry in the contiguous region.
- The trailer must not overlap with any other header entry, whether in the region or otherwise.
- The trailer must come before any data not in the region.

These should be documented so that code in librpm knows what it can rely on.

-- 
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/issues/1481
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20210109/6e3d32d1/attachment.html>


More information about the Rpm-maint mailing list