Closed Danielius1922 closed 6 months ago
The updates involve enhancing functionality and security across various components. A notable change is the introduction of oc_set_introspection_data_v1
for better error handling and reporting. The client and server certification tests have been refactored to improve the management of introspection data, including reading from files and setting it for devices. Additionally, there's a shift towards safer string operations and more precise input handling in the cloud certification tests, enhancing the overall robustness and reliability of the system.
Files | Change Summary |
---|---|
api/oc_introspection.c |
Introduced oc_set_introspection_data_v1 for enhanced error handling; original function now wraps this. |
apps/client_certification_tests.c apps/server_certification_tests.c |
Refactored introspection data handling; improved error processing and reading from files. |
apps/cloud_certification_tests.c |
Shifted from SCANF to SCANF_INT for better input handling; adjusted macro usage. |
security/oc_obt.c |
Replaced strcpy with strncpy for safer string operations, adding null terminators. |
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
:tada: Thank you for your code contribution! To guarantee the change/addition is conformant to the OCF Specification, we would like to ask you to execute OCF Conformance Testing of your change :point_up: when your work is ready to be reviewed.
:information_source: To verify your latest change (6fdfa7e4417f1780bc54aecd43673e097e271beb), label this PR with OCF Conformance Testing
.
:warning: Label is removed with every code change.
@coderabbitai review
Failed conditions
51.9% Coverage on New Code (required ≥ 80%)
Summary by CodeRabbit
New Features
Refactor
Bug Fixes