jhelovuo / RustDDS

Rust implementation of Data Distribution Service
Apache License 2.0
330 stars 66 forks source link

thread 'RustDDS discovery thread' panicked at 'range end index 2 out of range for slice of length 1' #279

Closed squizz617 closed 1 year ago

squizz617 commented 1 year ago

Sorry for flooding your inbox. This is the third issue (out of five), and I'm creating separate threads for them since their root causes differ.

In this case, BuiltinDataDeserializer::read_parameter_id is invoked on a DATA submessage that does not have any inlineQoS parameter, and panics.



Thank you.
jhelovuo commented 1 year ago

Yes, this is again a genuine bug in 0.8.2. Thank you.

This panics 0.8.2, but latest master commit gives an error.

Resolving similarly to #278.