aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeff Morriss <jeff.morriss@ulticom.com>2012-03-13 15:43:41 +0000
committerJeff Morriss <jeff.morriss@ulticom.com>2012-03-13 15:43:41 +0000
commit7ca19c7df7b3da5814110e51c5c8ebbe2ffe94ad (patch)
tree42f763cdfa9cfebf9f5081d3fa5b98e477950028
parentba7c0cb1b969ba5b162b5bfe34f0cba0240b763d (diff)
Fix https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6947 :
Don't leave a space at the end of the MSISDN string. svn path=/trunk/; revision=41536
-rw-r--r--epan/dissectors/packet-gtp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-gtp.c b/epan/dissectors/packet-gtp.c
index 69d4979dd5..9a62b95621 100644
--- a/epan/dissectors/packet-gtp.c
+++ b/epan/dissectors/packet-gtp.c
@@ -1924,7 +1924,7 @@ msisdn_to_str(tvbuff_t *tvb, gint offset, int len)
else
j++;
}
- str[j] = '\0';
+ str[j-1] = '\0';
return str;
}