Closed hugbug closed 4 years ago
Thanks @hugbug Do you have the bytes that make up the message with the empty journalSection? (I'll put it in the test script, see /test folder - Ethernet.h)
Here is the packet:
I can also provide a full Wireshark capture file if you like.
@hugbug thanks for the Wireshark packet 👍
Thank you @hugbug for spotting the bug!
When journal section is present but has no entries the data pointer isn't advanced. That causes the next parsing to attempt to analyse the wrong data which of course fail.
This small PR fixes the issue.
It's also possible that
_journalSectionComplete
should be also set:I'm not sure about that, please add if necessary.