jhelovuo / RustDDS

Rust implementation of Data Distribution Service
Apache License 2.0
319 stars 65 forks source link

thread 'RustDDS Participant 0 event loop' panicked at 'split_to out of bounds: 28 <= 24' #280

Closed squizz617 closed 1 year ago

squizz617 commented 1 year ago

Panic case 4 out of 5! This and the next panic happens in bytes-1.4.0 crate, which is unhandled and crashes RustDDS. Specifically, submessages_left.split_to in message.rs is invoked with an insufficient length, causing oob error.



Thank you.
jhelovuo commented 1 year ago

Again a good find, thank you!

This is now fixed in the latest master commit. Also added your test message as a unit test case.