See rpmReadPackageFile() in lib/package.c for the replacement interface.
The code has been refactored to perform all I/O first and then load data
structures in order to interpose signature and digest checking on sections of a
package file before loading.
The original interface -- which had to run on i486 machines with limited memory
-- performed checks on the fly to avoid having header blobs coresident in
memory.
--
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/478#issuecomment-408448951
_______________________________________________
Rpm-maint mailing list
[email protected]
http://lists.rpm.org/mailman/listinfo/rpm-maint