[Rpm-maint] [rpm-software-management/rpm] Fail to check signature (#270)

Jeff Johnson notifications at github.com
Sat Jul 22 12:37:51 UTC 2017

btw, this command is sufficient to identify the rpm version that built the package:
`rpm -qp --qf '%{rpm version}\n' intel-aero-repo-1.4-r0.corei7_64.rpm`

It looks the  arguments passed used in the exact_size check are incorrect (the "ril" and "rdl" values in the error message seem wrong).

Commenting out this code permits reading the package:
--- a/lib/header.c
+++ b/lib/header.c
@@ -1840,7 +1840,9 @@ static rpmRC hdrblobVerifyRegion(rpmTagVal regionTag, int 
                _("region %d: tag number mismatch %d ril %d dl %d rdl %d\n"),
                regionTag, blob->il, blob->ril, blob->dl, blob->rdl);
+#ifdef HACK
        goto exit;
     blob->regionTag = regionTag;

The real fix is somewhere else, in the value passed to the exact_size boolean argument, but will have the same effect of not checking the index/data length of a signature header immutable region.

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20170722/d13c8a01/attachment.html>

More information about the Rpm-maint mailing list