Files
ports/security/gvmd/files/patch-src_manage_sql.c
T
Jose Alonso Cardenas Marquez fd51b85ebf security/gvm: Update to 26.31.1
- databases/pg-gvm: Update to 22.6.17
- security/gsa: Update to 27.4.1 (Only amd64 and aarch64)
- security/gsa: Remove DEPRECATED. Now it uses www/npm-node24
- security/gsad: Update to 26.4.0
- security/openvas: Update to 23.46.3
- security/openvas: Improve getinterfaces function [1]
- security/gvmd: Update to 26.31.1
- security/gvm-libs: 23.7.0
- security/py-greenbone-feed-sync: Update to 25.3.0
- security/py-gvm-tools: Update to 26.0.6
- security/py-python-gvm: Update to 27.4.0

PR:		295199
Reported by:	 jward __at_ ehprivacy.com [1]
2026-06-23 19:00:54 -07:00

34 lines
725 B
C

--- src/manage_sql.c.orig 2026-06-22 01:59:08.000000000 -0700
+++ src/manage_sql.c 2026-06-22 23:13:07.804612000 -0700
@@ -85,7 +85,6 @@
#include <errno.h>
#include <glib/gstdio.h>
#include <gnutls/x509.h>
-#include <malloc.h>
#include <stdlib.h>
#include <sys/socket.h>
#include <sys/stat.h>
@@ -97,12 +96,12 @@
#include <gpgme.h>
#include <stdlib.h>
#include <string.h>
+#include <unistd.h>
#include <gvm/base/gvm_sentry.h>
#include <gvm/base/hosts.h>
#include <gvm/base/pwpolicy.h>
#include <gvm/base/logging.h>
-#include <bsd/unistd.h>
#if ENABLE_JWT_AUTH
#include <gvm/auth/gvm_auth.h>
@@ -3361,8 +3360,6 @@
cleanup_iterator (&nvts);
cleanup_iterator (&prefs);
-
- malloc_trim (0);
}
/**