raven-rhel6/rpm/rpm-4.8.0-sigcompare-fix.patch
2024-02-21 20:14:44 +06:00

15 lines
455 B
Diff

--- rpm-4.8.0/lib/rpmchecksig.c.orig 2011-08-14 18:01:44.543660008 +0200
+++ rpm-4.8.0/lib/rpmchecksig.c 2011-08-14 18:07:07.198765842 +0200
@@ -333,6 +333,11 @@
rpm);
/* Identical signature is not an error */
res = 0;
+
+ /* Clean up intermediate target */
+ xx = unlink(sigtarget);
+ sigtarget = _free(sigtarget);
+ continue;
}
goto exit;
}