Blame SOURCES/mtr-crash-in-xml-mode.patch

e38f15
From 9b5df3b69d2ded1a81627a1619e4ce03ca906367 Mon Sep 17 00:00:00 2001
e38f15
From: Jan Gorig <jgorig@redhat.com>
e38f15
Date: Mon, 25 Oct 2010 12:53:16 +0200
e38f15
Subject: [PATCH 1/3] Crash in XML mode
e38f15
e38f15
---
e38f15
 report.c |    2 +-
e38f15
 1 files changed, 1 insertions(+), 1 deletions(-)
e38f15
e38f15
diff --git a/report.c b/report.c
e38f15
index 34ea114..49dfcfb 100644
e38f15
--- a/report.c
e38f15
+++ b/report.c
e38f15
@@ -220,7 +220,7 @@ void xml_close(void)
e38f15
     printf("    <HUB COUNT=%d HOST=%s>\n", at+1, name);
e38f15
     for( i=0; i
e38f15
       j = fld_index[fld_active[i]];
e38f15
-      if (j < 0) continue;
e38f15
+      if (j <= 0) continue;
e38f15
 
e38f15
       strcpy(name, "        <%s>");
e38f15
       strcat(name, data_fields[j].format);
e38f15
-- 
e38f15
1.7.3.1
e38f15