ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
July 17th, 2024 | 10:00am-11:55am SGT (UTC+8) | Online

Wireshark-dev: Re: [Wireshark-dev] Segmentation fault in dissector

From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Thu, 5 Apr 2007 15:24:03 -0700

On Apr 5, 2007, at 3:19 AM, durgabhavani.uppuluru@xxxxxxxxx wrote:

The problem has been resolved with the inclusion of the <epan/ emem.h> for 64 bit environment.

Code should *always* include the appropriate headers for any functions it calls, to import the proper declarations for those functions; otherwise, you will see problems such as this. Make sure you're including all the necessary header files.