Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

plugin.c: register_handoff gets overwritten to NULL for custom plugin

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.

plugin.c: register_handoff gets overwritten to NULL for custom plugin

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. advice.

plugin.c: register_handoff gets overwritten to NULL for custom plugin

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 overwrite does not happen when registering the protocol. Happens only for the reg_handoff part.

Please advice.

plugin.c: register_handoff gets overwritten to NULL for custom plugin

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 overwrite does not happen when registering the protocol. Happens only for the reg_handoff part.

Please advice.

click to hide/show revision 5
None

plugin.c: register_handoff gets overwritten to NULL for custom plugin

Hello,

I have written a custom dissector on the latest version of the wireshark Wireshark running on the Ubuntu linux GNU/Linux OS. I can see the protocol being registered with the wireshark Wireshark but have a problem in capturing with dissecting 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 a few seconds, after which the wireshark Wireshark gets termninated terminated with error: stack smashing detected *; ***; <unknown> terminated.

When wireshark Wireshark is build again, the register_handoff gets assigned to NULL again, after which I cannot capture packages. dissect packets. Now, this overwrite does not happen when registering the protocol. Happens only for the reg_handoff part.

Please advice.