Hello all, i just updated a custom plugin to wireshark version 1.12. This plugin worked fine until version 1.11. So I compiled wireshark version 1.12 and used the new sources to build the plugin. But when I try to start Wireshark with this plugin, it always crashes at startup. It seems to be a problem with proto_register_field_array. When I remove this function from the code, wireshark starts. The code looks like that:
I am using Windows 7 64-bit. Do I have to use another function instead of proto_register_field_array? Or maybe is there a known bug with this function? Best regards asked 04 Sep ‘14, 00:24 dranigl edited 04 Sep ‘14, 06:29 JeffMorriss ♦ |
Try replacing the empty string "" with null.
You might also want to try running tools/checkhf.pl and tools/checkAPIs.pl on your code: they might point out what’s wrong with your hf array.