-
Notifications
You must be signed in to change notification settings - Fork 791
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Incorrect ReaderProxyData object serialization code #5566
Comments
@i-and Would be nice if you open a PR with the proposed changes and a regression test |
These suggestions appeared based on the results of code analysis of the
|
Is there an already existing issue for this?
Expected behavior
The calculated size of the
ReaderProxyData
object is correct.Current behavior
The calculated size of the
ReaderProxyData
object is not correct.Steps to reproduce
See code fragment
Fast DDS version/commit
master
Platform/Architecture
Ubuntu Focal 20.04 amd64
Transport layer
UDPv4
Additional context
ReaderProxyData::get_serialized_size()
method, objectsm_type_information
andm_qos.type_consistency
are counted twice.ReaderProxyData::writeToCDRMessage()
method, objectm_type_information
is serialized when objectm_type_id
exists.Proposed changes:
XML configuration file
No response
Relevant log output
No response
Network traffic capture
No response
The text was updated successfully, but these errors were encountered: