Skip to content

Commit 8e6fb6d

Browse files
stridge-cruxmlradosroka
authored andcommitted
Reset the dpkg hash table before populating it again.
Fixes linux-application-whitelisting#259
1 parent 56d954d commit 8e6fb6d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/library/deb-backend.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,7 @@ static int deb_load_list(const conf_t *conf) {
237237
pkg_array_init_from_hash(&array);
238238

239239
msg(LOG_INFO, "Computing hashes for %d packages.", array.n_pkgs);
240+
fsys_hash_reset();
240241

241242
for (int i = 0; i < array.n_pkgs; i++) {
242243
struct pkginfo *package = array.pkgs[i];

0 commit comments

Comments
 (0)