Fix for bug 1541. Adjust offset for long longs by 8, not by 4.
authorjake <jake@f5534014-38df-0310-8fa8-9805f1628bb7>
Sun, 22 Apr 2007 10:29:47 +0000 (10:29 +0000)
committerjake <jake@f5534014-38df-0310-8fa8-9805f1628bb7>
Sun, 22 Apr 2007 10:29:47 +0000 (10:29 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21496 f5534014-38df-0310-8fa8-9805f1628bb7

epan/dissectors/packet-giop.c

index 79d8b0b7e1482384d2ab6c33653813dca4687d92..1a0275124b8a6ad4b9a23051625194790913c82c 100644 (file)
@@ -2287,7 +2287,7 @@ gint64 get_CDR_long_long(tvbuff_t *tvb, int *offset, gboolean stream_is_big_endi
   val = (stream_is_big_endian) ? tvb_get_ntoh64 (tvb, *offset) :
                                  tvb_get_letoh64 (tvb, *offset);
 
-  *offset += 4;
+  *offset += 8;
   return val;
 }