aboutsummaryrefslogtreecommitdiff
path: root/security/openvas/files
diff options
context:
space:
mode:
authorJose Alonso Cardenas Marquez <acm@FreeBSD.org>2021-02-18 21:00:12 +0000
committerJose Alonso Cardenas Marquez <acm@FreeBSD.org>2021-02-18 21:00:12 +0000
commit2ff4121c61f4c84a2f9fc70fe64d20dc3f5bce1a (patch)
tree483b9935ac5cf73a9033728b932c62d49fe37543 /security/openvas/files
parentfc4b536df13194c4fca4e5999bfda024fa903696 (diff)
downloadports-2ff4121c61f4c84a2f9fc70fe64d20dc3f5bce1a.tar.gz
ports-2ff4121c61f4c84a2f9fc70fe64d20dc3f5bce1a.zip
- Update gvm ports to 20.8.1
Notes
Notes: svn path=/head/; revision=565985
Diffstat (limited to 'security/openvas/files')
-rw-r--r--security/openvas/files/patch-nasl_nasl_packet_forgery.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/security/openvas/files/patch-nasl_nasl_packet_forgery.c b/security/openvas/files/patch-nasl_nasl_packet_forgery.c
index 3debccd20910..92e982031a74 100644
--- a/security/openvas/files/patch-nasl_nasl_packet_forgery.c
+++ b/security/openvas/files/patch-nasl_nasl_packet_forgery.c
@@ -1,5 +1,5 @@
---- nasl/nasl_packet_forgery.c 2020-08-11 07:00:25.000000000 -0500
-+++ nasl/nasl_packet_forgery.c 2021-01-04 17:38:44.560650000 -0500
+--- nasl/nasl_packet_forgery.c 2021-02-18 13:56:34.845872000 -0500
++++ nasl/nasl_packet_forgery.c 2021-02-18 14:01:16.510985000 -0500
@@ -33,6 +33,8 @@
#include "nasl_tree.h"
#include "nasl_var.h"
@@ -9,7 +9,7 @@
#include <arpa/inet.h> /* for inet_aton */
#include <ctype.h> /* for isprint */
#include <errno.h> /* for errno */
-@@ -136,7 +138,7 @@
+@@ -163,7 +165,7 @@
if (s != NULL)
inet_aton (s, &pkt->ip_dst);
else
@@ -18,7 +18,7 @@
if (data != NULL)
{
-@@ -1283,7 +1285,7 @@
+@@ -1541,7 +1543,7 @@
if (dst == NULL || (IN6_IS_ADDR_V4MAPPED (dst) != 1))
return NULL;
@@ -27,7 +27,7 @@
for (i = 0; i < sizeof (sports) / sizeof (int); i++)
{
if (sports[i] == 0)
-@@ -1301,7 +1303,7 @@
+@@ -1559,7 +1561,7 @@
port = plug_get_host_open_port (script_infos);
if (islocalhost (&inaddr) > 0)
@@ -36,7 +36,7 @@
else
{
bzero (&src, sizeof (src));
-@@ -1411,7 +1413,7 @@
+@@ -1684,7 +1686,7 @@
if (dstip == NULL || (IN6_IS_ADDR_V4MAPPED (dstip) != 1))
return NULL;
@@ -45,16 +45,16 @@
soc = socket (AF_INET, SOCK_RAW, IPPROTO_RAW);
if (soc < 0)
return NULL;
-@@ -1540,7 +1542,7 @@
+@@ -1824,7 +1826,7 @@
{
struct in_addr src;
bzero (&src, sizeof (src));
- inaddr.s_addr = dst->s6_addr32[3];
-+ memcpy(&inaddr.s_addr, &dst->s6_addr[12], 4);
++ memcpy(&inaddr.s_addr, &dst->s6_addr[12], 4);
interface = routethrough (&inaddr, &src);
}
else
-@@ -1680,7 +1682,7 @@
+@@ -1973,7 +1975,7 @@
{
struct in_addr src;
bzero (&src, sizeof (src));