From 31318461e7a57bf5378f768bd68f08a6c17aaeea Mon Sep 17 00:00:00 2001 From: Juan Jose Nicola Date: Mon, 17 May 2021 02:40:10 -0500 Subject: [PATCH] Initialize the the kb to store results for openvas-nasl. --- CHANGELOG.md | 1 + nasl/nasl.c | 1 + 2 files changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4d131292a..6c24e2888 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,6 +15,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). ### Fixed - Use host from the orignal hosts list when boreas is enabled. [#725](https://github.com/greenbone/openvas/pull/725) +- Initialize the the kb to store results for openvas-nasl [#735](https://github.com/greenbone/openvas/pull/735) ### Removed diff --git a/nasl/nasl.c b/nasl/nasl.c index f069434f3..5061f05e0 100644 --- a/nasl/nasl.c +++ b/nasl/nasl.c @@ -81,6 +81,7 @@ init (struct in6_addr *ip, GSList *vhosts, kb_t kb) infos->standalone = 1; infos->key = kb; + infos->results = kb; infos->ip = ip; infos->vhosts = vhosts; if (prefs_get_bool ("test_empty_vhost"))