Skip to content

Commit

Permalink
Merge pull request #1666 from jhelmold/cpe_shows_severity_of_na
Browse files Browse the repository at this point in the history
Adjusted the lack of the severities in the display of applications.
  • Loading branch information
timopollmeier authored Aug 30, 2021
2 parents 2aaade3 + 3123dc6 commit 1073e42
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
* Remove BID from GMP documentation [#1673](https://github.com/greenbone/gvmd/pull/1673)

### Fixed
- Fixed the lack of the severities in the display of the applications [#1666](https://github.com/greenbone/gvmd/pull/1666)

[20.8.4]: https://github.com/greenbone/gvmd/compare/v20.8.3...gvmd-20.08

Expand Down
2 changes: 1 addition & 1 deletion src/gmp.c
Original file line number Diff line number Diff line change
Expand Up @@ -18372,7 +18372,7 @@ gmp_xml_handle_result ()
detail->ip = g_strdup (result->host);
detail->name = g_strconcat ("detected_by@", detection->location, NULL);
detail->source_desc = g_strdup ("create_report_import");
detail->source_name = g_strdup (detection->source_oid);
detail->source_name = g_strdup (result->nvt_oid);
detail->source_type = g_strdup ("create_report_import");
detail->value = g_strdup (detection->source_oid);
array_add (create_report_data->details, detail);
Expand Down
1 change: 1 addition & 0 deletions src/manage_sql.c
Original file line number Diff line number Diff line change
Expand Up @@ -19601,6 +19601,7 @@ result_detection_reference (result_t result, report_t report,
" OR port LIKE '%%%s%%');",
report, quoted_host, *oid, quoted_location,
quoted_location);

if (*ref == NULL)
goto detect_cleanup;

Expand Down

0 comments on commit 1073e42

Please sign in to comment.