Malformed SIP/SDP messages: components are not decoded properly
I noticed that Wireshark is unable to decode some SIP messages, the SDP part seems to be problematic. Wireshark indicate these errors as “Malformed Packet”. Mostly SIP INVITE and 200 OK messages have erroneous SDP sections. I attach an example packet, where the decoder is not able to decode the SDP part of the 200 OK message. On the right side of the screen, in the bytes view you can see, that the packet has more data, which is not decoded.
The issue is specific to the version of Wireshark. It is erroneous in Wireshark 4.2.0, but it works well in 4.0.11 - both installed and portable versions are affected.
What is the expected correct behavior?
SIP packet section is opened correctly as with previous versions.
Sample capture file
example_packet.pcap example_packet.pcap
Build information
Originally found in Version 4.2.0 (v4.2.0-0-g54eedfc6)