Fixed a xbps_pkgpattern_name() crash and a test to reproduce it (found by Gottox).

This commit is contained in:
Juan RP
2014-02-15 01:26:42 +01:00
parent 596a8c199f
commit 2fa0d56658
3 changed files with 9 additions and 2 deletions

3
NEWS
View File

@@ -1,5 +1,8 @@
xbps-0.32 (???):
* Fixed a bug in xbps_pkgpattern_name() where a string with some special
chars would result in a crash (reported by Gottox).
* Do the package removal in two phases: the first phase checks the
user has write permission to the entries being removed, if this
succeeds then the package removal is performed.