pkg: fix reading of v3 package meta data

The adb object for apk_pkg_from_adb() was changed in commit 7d6de220
"database: support loading v3 indexes" which also addressed the broken
site in question but omitted updating the argument.

fixes #10783
cute-signatures
Timo Teräs 2021-11-11 11:41:29 +02:00
parent 97e3647e1d
commit 3e6261392f
1 changed files with 1 additions and 1 deletions

View File

@ -671,7 +671,7 @@ static int apk_pkg_v3meta(struct apk_extract_ctx *ectx, struct adb_obj *pkg)
if (!ri->v3ok) return -APKE_FORMAT_NOT_SUPPORTED;
adb_ro_obj(pkg, ADBI_PKG_PKGINFO, &pkginfo);
apk_pkg_from_adb(ri->db, ri->pkg, pkg);
apk_pkg_from_adb(ri->db, ri->pkg, &pkginfo);
return -ECANCELED;
}