CroatiaControlLtd/asterix

Unexpected SIGSEGV (segmentation fault) signal on message parse.

zbigniewKosinski opened this issue · 1 comments

During parse message unexpected SIGSEGV signal occurs.

Screenshot with stacktrace:
segfault1

The message that caused the exception;
input_message.txt

@zbigniewKosinski Thanks for you input data.
Direct cause of the crash is the fact that your data contains one data block that should be 1039 bytes long (0x04 0x09), but you have only 1022 bytes in your data.
Unfortunatelly asterix parser doesn't handle properly that situation. I will work on it and try to fix it.
For now, please try to provide long enough data packet for now.