From d7f3676003aa491952e9f963bc6104b9a29ba379 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Thu, 5 Oct 2017 14:26:04 +0200 Subject: (transreset) fix a segfault always set root to sg sensitive --- RPM4/NEWS | 1 + RPM4/src/RPM4.xs | 1 + 2 files changed, 2 insertions(+) diff --git a/RPM4/NEWS b/RPM4/NEWS index 1be37a9..3dd8682 100644 --- a/RPM4/NEWS +++ b/RPM4/NEWS @@ -1,5 +1,6 @@ - fix running rpm_produced - improve doc +- fix a segfault - testsuite: o disable tests that involve a pasphrase diff --git a/RPM4/src/RPM4.xs b/RPM4/src/RPM4.xs index 659f496..04c65ee 100644 --- a/RPM4/src/RPM4.xs +++ b/RPM4/src/RPM4.xs @@ -1818,6 +1818,7 @@ Ts_transreset(ts) rpmts ts PPCODE: rpmtsEmpty(ts); + rpmtsSetRootDir(ts, "/"); # Remaping function: -- cgit v1.2.1