lib/package_unpack.c: zero out struct (CID 62755)
This commit is contained in:
parent
96a117c558
commit
dd851f18a2
@ -122,6 +122,8 @@ unpack_archive(struct xbps_handle *xhp,
|
|||||||
xbps_dictionary_get_bool(pkg_repod, "skip-obsoletes", &skip_obsoletes);
|
xbps_dictionary_get_bool(pkg_repod, "skip-obsoletes", &skip_obsoletes);
|
||||||
xbps_dictionary_get_cstring_nocopy(pkg_repod, "transaction", &transact);
|
xbps_dictionary_get_cstring_nocopy(pkg_repod, "transaction", &transact);
|
||||||
|
|
||||||
|
memset(&xucd, 0, sizeof(xucd));
|
||||||
|
|
||||||
euid = geteuid();
|
euid = geteuid();
|
||||||
|
|
||||||
pkgname = xbps_pkg_name(pkgver);
|
pkgname = xbps_pkg_name(pkgver);
|
||||||
|
Loading…
Reference in New Issue
Block a user