summaryrefslogtreecommitdiff
path: root/net-analyzer/bigeye/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /net-analyzer/bigeye/files
reinit the tree, so we can have metadata
Diffstat (limited to 'net-analyzer/bigeye/files')
-rw-r--r--net-analyzer/bigeye/files/bigeye-0.3-overflow.patch11
1 files changed, 11 insertions, 0 deletions
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");