lib/package_unpack.c: zero out struct (CID 62755)

This commit is contained in:
Juan RP 2014-10-05 07:12:30 +02:00
parent 96a117c558
commit dd851f18a2

View File

@ -122,6 +122,8 @@ unpack_archive(struct xbps_handle *xhp,
xbps_dictionary_get_bool(pkg_repod, "skip-obsoletes", &skip_obsoletes);
xbps_dictionary_get_cstring_nocopy(pkg_repod, "transaction", &transact);
memset(&xucd, 0, sizeof(xucd));
euid = geteuid();
pkgname = xbps_pkg_name(pkgver);