rpmdb.c's rpmdbRebuild() function contains this:
```
            if (headerIsEntry(h, RPMTAG_HEADERIMAGE)) {
                Header nh = headerReload(headerCopy(h), RPMTAG_HEADERIMAGE);
                rc = rpmdbAdd(newdb, h);
                headerFree(nh);
            } else {
 ```

I guess that the code should read `c = rpmdbAdd(newdb, nh);` instead. (The 
commit in question
is 27ea3f8624560bd158fc7bc801639310a0ffab10, which moved the headerReload() 
call out of headerCopy().)

-- 
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/1017
_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint

Reply via email to