Skip to content

Commit

Permalink
Initialize the the kb to store results for openvas-nasl.
Browse files Browse the repository at this point in the history
(cherry picked from commit 3131846)
  • Loading branch information
jjnicola authored and mergify-bot committed May 17, 2021
1 parent 414e5a9 commit ea16cdf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,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

Expand Down
1 change: 1 addition & 0 deletions nasl/nasl.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"))
Expand Down

0 comments on commit ea16cdf

Please sign in to comment.