diff options
Diffstat (limited to 'net-libs/libprotoident')
-rw-r--r-- | net-libs/libprotoident/files/libprotoident-9999-lpi_find_unknown-snprintf.patch | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/net-libs/libprotoident/files/libprotoident-9999-lpi_find_unknown-snprintf.patch b/net-libs/libprotoident/files/libprotoident-9999-lpi_find_unknown-snprintf.patch deleted file mode 100644 index 2378c37b9b99..000000000000 --- a/net-libs/libprotoident/files/libprotoident-9999-lpi_find_unknown-snprintf.patch +++ /dev/null @@ -1,22 +0,0 @@ ---- a/tools/find_unknown/lpi_find_unknown.cc -+++ b/tools/find_unknown/lpi_find_unknown.cc -@@ -219,7 +219,7 @@ - dump_payload(ident->lpi, 0, pload_out, 500); - dump_payload(ident->lpi, 1, pload_in, 500); - str = (char *)malloc(750); -- snprintf(str, 1000, "%s %s %u %u %u %.3f %.3f %" PRIu64 " %" PRIu64 " %s %s\n", -+ snprintf(str, 750, "%s %s %u %u %u %.3f %.3f %" PRIu64 " %" PRIu64 " %s %s\n", - s_ip, c_ip, - f->id.get_server_port(), f->id.get_client_port(), - f->id.get_protocol(), ident->start_ts, ---- a/tools/protoident/lpi_protoident.cc -+++ b/tools/protoident/lpi_protoident.cc -@@ -214,7 +214,7 @@ - dump_payload(ident->lpi, 0, pload_out, 500); - dump_payload(ident->lpi, 1, pload_in, 500); - str = (char *)malloc(750); -- snprintf(str, 1000, "%s %s %s %u %u %u %.3f %.3f %" PRIu64 " %" PRIu64 " %s %s\n", -+ snprintf(str, 750, "%s %s %s %u %u %u %.3f %.3f %" PRIu64 " %" PRIu64 " %s %s\n", - proto->name, s_ip, c_ip, - f->id.get_server_port(), f->id.get_client_port(), - f->id.get_protocol(), ident->start_ts, |