Using an unmodified verion of wireshark 1.4.9 that I build from source I am getting the following error when I attempt to load a capture file with a proprietary protocol:
After this I get a MSVC error and wireshark closes. I get the same error when I run the same version of wireshark with a custom plug-in to decode the proprietary protocol. Any pointers on possible causes or where to begin troubleshooting? asked 19 Oct '11, 09:04 lanb edited 19 Oct '11, 10:09 multipleinte... |
One Answer:
I assume that you control the code that actually decodes your protocol (if not, there won't be much you can do other than contact the maintainer of the decoder). That said, my guess is that the dissector for your protocol is attempting to allocate a buffer for inflated/decrypted/etc data based on a size field that is not bounds-checked and either incorrectly extracted or incorrectly set in your capture file. Put differently, something like this is in the
Realistically, it is impossible to say what is causing the problem without seeing some dissector code, but I assume you have access to that. Since you can compile Wireshark yourself, the best thing to do will be to use the debugger to see what's going on. At the very least, a stacktrace will help you pinpoint the problem, even if it is ultimately out of your control. answered 19 Oct '11, 10:07 multipleinte... |
It may also help if you post the "MSVC error".