ports/security/gvmd/files/patch-src_manage_sql.c
Jose Alonso Cardenas Marquez dc5371babb security/gvm: Update to 21.4.0
The following ports part of security gvm were updated

security/gvmd: Update to 21.4.0
security/gvm-libs: Update to 21.4.0
security/openvas: Update to 21.4.0
security/py-ospd-openvas: Update to 21.4.0
security/py-ospd: Update to 21.4.0
security/greenbone-security-assistant: Update to 21.4.0
security/py-python-gvm: Update to 21.5.2
security/py-gvm-tools: Update to 21.6.0

Notable Changes in this Release

- All components and the feed support CVSSv3/CVSSv3.1
- GSA contains a new calculator for these CVSS versions
- Rework of the login page in GSA to have a better entry point into our software
- Dropped support for Internet Explorer
- Dropped support for Microsoft Edge <= 18
- Removed auto false positive feature
- Removed GMP scanner support
- Dropped dynamic severity classes
- Removed support for Python 3.5 and lower

PR:		254630 254632
Reported by:	Eirik Oeverby <ltning-freebsd at anduin.net>
2021-06-18 02:11:58 -05:00

28 lines
670 B
C

--- src/manage_sql.c 2021-04-16 02:27:18.000000000 -0500
+++ src/manage_sql.c 2021-06-14 19:33:56.599632000 -0500
@@ -52,7 +52,6 @@
#include <errno.h>
#include <glib/gstdio.h>
#include <gnutls/x509.h>
-#include <malloc.h>
#include <pwd.h>
#include <stdlib.h>
#include <sys/socket.h>
@@ -9075,7 +9074,7 @@
g_debug (" HTTP_GET %s", url);
cmd = (gchar **) g_malloc (5 * sizeof (gchar *));
- cmd[0] = g_strdup ("/usr/bin/wget");
+ cmd[0] = g_strdup ("%%LOCALBASE%%/bin/wget");
cmd[1] = g_strdup ("-O");
cmd[2] = g_strdup ("-");
cmd[3] = g_strdup (url);
@@ -15262,8 +15261,6 @@
}
cleanup_iterator (&nvts);
-
- malloc_trim (0);
}
/**