Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-bugs: [Wireshark-bugs] [Bug 9280] Wiretap netscaler trace format v3.0

Date: Mon, 28 Oct 2013 14:17:14 +0000

Comment # 15 on bug 9280 from
OK: Altho I haven't tested this, I expect the problem is that the following:

    #define nspr_pktracefull_v30_s  (sizeof(nspr_pktracefull_v30_t))

needs to be changed to 

    #define nspr_pktracefull_v30_s  (guint32)(sizeof(nspr_pktracefull_v30_t))


[Note other similar #defines in netscaler.c: e.g.,
#define nspr_pktracepart_v25_s    ((guint32)(sizeof(nspr_pktracepart_v25_t)
-4))
]


sizeof has type size_t which will have a size of 64 bits on a 64 bit system.
(I don't know why our Windows 7 64 buildbot  compiles this w/o error).


You are receiving this mail because:
  • You are watching all bug changes.