Hello,
I have written a custom dissector on the latest version of the wireshark running on the Ubuntu linux OS. I can see the protocol being registered with the wireshark but have problem in capturing the packets for my protocol. In the plugin.c file for my plugin, the register_handoff is always NULL and when I assign to my protocol hand_off and build it and on running I am able to see my protocol being dissected for few seconds, after which the wireshark gets termninated with error: stack smashing detected *; <unknown> terminated.
When wireshark is build again, the register_handoff gets assigned to NULL again, after which I cannot capture packages. Now, this does overwrite does not happen when registering the protocol.
Please advice.