eProsima / Fast-DDS

The most complete DDS - Proven: Plenty of success cases. Looking for commercial support? Contact info@eprosima.com
https://eprosima.com
Apache License 2.0
2.04k stars 730 forks source link

[21153, 21154] Address XMLDynamicParser Fuzzer regressions #4939

Closed Mario-DL closed 3 weeks ago

Mario-DL commented 3 weeks ago

Description

This PR addresses some XML fuzzer regressions that affects DynamicTypes Parsing. It is for that reason that there are no backports. In summary, it was a non-captured std::out_of_range exception and a nullptr check missing. I tried also protecting analogous code snippets within the file.

Contributor Checklist

Reviewer Checklist