summaryrefslogtreecommitdiff
path: root/package/snort/patches/patch-src_parser_IpAddrSet_c
diff options
context:
space:
mode:
Diffstat (limited to 'package/snort/patches/patch-src_parser_IpAddrSet_c')
-rw-r--r--package/snort/patches/patch-src_parser_IpAddrSet_c16
1 files changed, 0 insertions, 16 deletions
diff --git a/package/snort/patches/patch-src_parser_IpAddrSet_c b/package/snort/patches/patch-src_parser_IpAddrSet_c
deleted file mode 100644
index edb62126d..000000000
--- a/package/snort/patches/patch-src_parser_IpAddrSet_c
+++ /dev/null
@@ -1,16 +0,0 @@
---- snort-2.8.5.2.orig/src/parser/IpAddrSet.c 2009-07-07 17:37:07.000000000 +0200
-+++ snort-2.8.5.2/src/parser/IpAddrSet.c 2010-01-19 20:20:50.000000000 +0100
-@@ -388,11 +388,11 @@ int ParseIP(char *paddr, IpAddrSet *ias,
- /* protecting against malicious DNS servers */
- if(host_info->h_length <= (int)sizeof(sin.sin_addr))
- {
-- bcopy(host_info->h_addr, (char *) &sin.sin_addr, host_info->h_length);
-+ memcpy((char *) &sin.sin_addr, host_info->h_addr, host_info->h_length);
- }
- else
- {
-- bcopy(host_info->h_addr, (char *) &sin.sin_addr, sizeof(sin.sin_addr));
-+ memcpy((char *) &sin.sin_addr, host_info->h_addr, sizeof(sin.sin_addr));
- }
- }
- /* Using h_errno */