[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[tyndur-devel] [PATCH] ! ausgabe fuer gethostbyname gefixt
---
src/modules/tcpip/lostio_if.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/src/modules/tcpip/lostio_if.c b/src/modules/tcpip/lostio_if.c
index e55bce4..a068fba 100644
--- a/src/modules/tcpip/lostio_if.c
+++ b/src/modules/tcpip/lostio_if.c
@@ -180,8 +180,9 @@ bool lostio_tcp_not_found(char** path, byte flags, pid_t pid, io_resource_t* ps)
int i=0;
for(;i < result->ip_count;i++) {
- strcat(data,ip_to_string(result->ip_address[i]));
+ memcpy((char*)(data+(i*16)),ip_to_string(result->ip_address[i]),16);
}
+
// Das Resultat wieder freigeben
dns_free_result(result);
--
1.6.0.4