libfetch: fix races in the cache connection code.

Tested by @Gottox.
This commit is contained in:
Juan RP
2014-12-23 10:52:54 +01:00
parent 6a985190aa
commit 4ee6f943dd
3 changed files with 11 additions and 16 deletions

4
NEWS
View File

@@ -1,8 +1,6 @@
xbps-0.43 (???):
* libxbps: xbps_archive_fetch_xxx() are now protected with a mutex to avoid
data races with 8 threads or more. Reproducable by @chneukirchen on a
8 core machine.
* libfetch: fix races in the cache connection code.
xbps-0.42 (2014-12-22):