From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- net-analyzer/bigeye/files/bigeye-0.3-overflow.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 net-analyzer/bigeye/files/bigeye-0.3-overflow.patch (limited to 'net-analyzer/bigeye/files') diff --git a/net-analyzer/bigeye/files/bigeye-0.3-overflow.patch b/net-analyzer/bigeye/files/bigeye-0.3-overflow.patch new file mode 100644 index 000000000000..1ca159a65b79 --- /dev/null +++ b/net-analyzer/bigeye/files/bigeye-0.3-overflow.patch @@ -0,0 +1,11 @@ +--- a/src/bigeye.c ++++ b/src/bigeye.c +@@ -787,7 +787,7 @@ + local.sin_family = AF_INET; + local.sin_port = htons(porta); + local.sin_addr.s_addr = INADDR_ANY; +- bzero(&(local.sin_zero),sizeof(local)); ++ memset(&(local.sin_zero), "\0", sizeof(local.sin_zero)); + + if(setsockopt(sock_a, SOL_SOCKET, SO_REUSEADDR, &on, sizeof(on)) < 0) { + perror("setsockopt"); -- cgit v1.2.3