eclipse-cyclonedds / cyclonedds

Eclipse Cyclone DDS project
https://projects.eclipse.org/projects/iot.cyclonedds
Other
854 stars 352 forks source link

Fix serdata size in serdata_default_from_psmx #2047

Closed dpotman closed 3 months ago

dpotman commented 3 months ago

The size of a serdata should include the padding bytes. This fix adds these padding bytes from the PSMX meta-data in the call to serdata_default_new_size when receiving data from PSMX.