summaryrefslogtreecommitdiffstats
path: root/RPM4
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2017-10-05 14:26:04 +0200
committerThierry Vignaud <thierry.vignaud@gmail.com>2017-10-28 00:00:03 +0200
commitd7f3676003aa491952e9f963bc6104b9a29ba379 (patch)
treefa4499424bccf7a329b2f205739ec56b4b8025a8 /RPM4
parent42450dc258234628ece1e4f5354462571e43a6d6 (diff)
downloadperl-RPM4-d7f3676003aa491952e9f963bc6104b9a29ba379.tar
perl-RPM4-d7f3676003aa491952e9f963bc6104b9a29ba379.tar.gz
perl-RPM4-d7f3676003aa491952e9f963bc6104b9a29ba379.tar.bz2
perl-RPM4-d7f3676003aa491952e9f963bc6104b9a29ba379.tar.xz
perl-RPM4-d7f3676003aa491952e9f963bc6104b9a29ba379.zip
(transreset) fix a segfault
always set root to sg sensitive
Diffstat (limited to 'RPM4')
-rw-r--r--RPM4/NEWS1
-rw-r--r--RPM4/src/RPM4.xs1
2 files changed, 2 insertions, 0 deletions
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: