5.8. Crashes

5.8.1. [Critical] Security Plugins crashed when enabling pre-shared key protection after DomainParticipant creation *

The Builtin Security Plugins crashed if you tried to enable pre-shared key protection (setting the cryptography.rtps_protection_preshared_key property) in an already created DomainParticipant that had a Governance Document with rtps_preshared_secret_protection_kind equal to NONE. You would have seen a backtrace that included the RTI_Security_CryptographyPresharedKeyState_setIdAndString() function.

Enabling or disabling pre-shared key protection at runtime is not allowed. If you try to do so, the Builtin Security Plugins will now fail gracefully.

The issue only affected Security Plugins 7.2.0.

The Security Plugins 7.3.0 LTS removed the cryptography.rtps_protection_preshared_key property and introduced the dds.sec.crypto.rtps_psk_secret_passphrase property, defined in the OMG DDS Security specification, version 1.2. This release also renames the rtps_preshared_secret_protection_kind XML tag of the Governance Document to rtps_psk_protection_kind.

[RTI Issue ID SEC-2246]

5.8.2. [Critical] Segmentation fault when running out of memory while calling custom OpenSSL allocator function *

When setting authentication.enable_custom_allocators to TRUE, running out of memory while calling the custom OpenSSL realloc allocator function triggered a segmentation fault. This issue only affected Security Plugins 7.0.0 and above.

[RTI Issue ID SEC-2326]

5.8.3. [Critical] Crash when polling a file and changing QoS from file to string *

If you created a DomainParticipant with the properties dds.sec.auth.identity_certificate set to a filename and authentication.identity_certificate_file_poll_period.millisec set to a non-zero value, and then you changed the identity certificate from a value with the file: prefix to a value with the data:, prefix, you would have seen this error when using the debug libraries:

!precondition: "fileName == ((void *)0)"

When using the release libraries, this scenario caused a segmentation fault. There was a similar problem for the authentication.crl property.

Note: authentication.identity_certificate_file_poll_period.millisec has been replaced with files_poll_interval (see :ref:`section-SEC-2083`).

These problems only affected Security Plugins 7.2.0.

[RTI Issue ID SEC-2317]

5.8.4. [Critical] Segmentation fault when running out of memory during creation of local crypto tokens

Running out of memory during the creation of the local crypto tokens would later lead to a segmentation fault when destroying the endpoint.

The segmentation fault, which happened in the function PRESPsService_removeMatchSecurity(), called by PRESPsService_destroyLocalEndpointWithCursor(), will no longer occur.

[RTI Issue ID SEC-2303]



* This bug does not affect you if you are upgrading from 6.1.x or earlier.