eclipse-cyclonedds / cyclonedds-python

Other
59 stars 47 forks source link

Fix key serialization for mutable structs with struct-type member #224

Closed dpotman closed 1 year ago

dpotman commented 1 year ago

This fixes the key serialization for a mutable struct that has a key member with a struct type that contains 1+ non-key members. The serialize_kind was not passed to the nested serialize call, which resulted in non-key members of the nested type being added to the key.

Additionally a few entries are added to the reserved name list in the random IDL generator. This solves some runtime errors in fuzzer runs (TypeError: 'list' object is not callable and expected identifier or '(' before 'static')