From c33c35f33aa776b80940d77da674d2167a45de1e Mon Sep 17 00:00:00 2001 From: Matt Mundell Date: Tue, 3 Mar 2020 17:47:13 +0200 Subject: [PATCH 1/2] Put 'lean' back to 0 for GET_RESULTS There's no lean flag for GET_RESULTS, so it's shouldn't return the lean version of a result. --- src/gmp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gmp.c b/src/gmp.c index 77446ea4e..80fb1ae21 100644 --- a/src/gmp.c +++ b/src/gmp.c @@ -15521,7 +15521,7 @@ handle_get_results (gmp_parser_t *gmp_parser, GError **error) NULL, 0, -1, - 1); /* Lean. */ + 0); /* Lean. */ SEND_TO_CLIENT_OR_FAIL (buffer->str); g_string_free (buffer, TRUE); count ++; From b429618fba7b7de0a010b1ca03a3e39b2b26a3ea Mon Sep 17 00:00:00 2001 From: Matt Mundell Date: Tue, 3 Mar 2020 17:51:15 +0200 Subject: [PATCH 2/2] Update changelog --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2cd37c5d2..2e2d3a38e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -79,6 +79,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). - Fix SCAP update not finishing when CPEs are older [#986](https://github.com/greenbone/gvmd/pull/986) - Move report format dirs when inheriting user [#989](https://github.com/greenbone/gvmd/pull/989) - Delete report format dirs when deleting user [#993](https://github.com/greenbone/gvmd/pull/993) +- Put 'lean' back to 0 for GET_RESULTS [#1001](https://github.com/greenbone/gvmd/pull/1001) ### Removed - Remove support for "All SecInfo": removal of "allinfo" for type in get_info [#790](https://github.com/greenbone/gvmd/pull/790)