xbps_get_pkg_plist_from_binpkg: fix a double free, found by Gottox.

xbps-query -Rf foo without network was enough to trigger it.
This commit is contained in:
Juan RP
2014-08-19 10:45:46 +02:00
parent fbf4ed4d2a
commit 3cc8929ce1
2 changed files with 3 additions and 1 deletions

3
NEWS
View File

@@ -1,5 +1,8 @@
xbps-0.38 (???):
* xbps-query(8): fix a segfault with -Rf when there's no network connectivity.
Reported by Gottox.
* xbps-uchroot(8): do not remount / unnecessarily; just mount it as private
and nosuid once; this is enough for our use cases.