Improve robustness of mbedtls_test_fork_run_child #295

Open
opened 2026-03-31 10:47:06 -05:00 by gilles-peskine-arm · 0 comments
gilles-peskine-arm commented 2026-03-31 10:47:06 -05:00 (Migrated from github.com)

mbedtls_test_fork_run_child() was added as part of a security fix in the 1.1.0 release. We rushed that part of the test code a little.

The goal of this issue is to do the robustness improvements discussed during the private review:

  • Documentation improvements 1 2
  • Code cleanup 1
  • Improve error reporting for unexpected events.
  • Add metatests.
`mbedtls_test_fork_run_child()` was added as part of a security fix in the 1.1.0 release. We rushed that part of the test code a little. The goal of this issue is to do the robustness improvements discussed during the [private review](https://github.com/Mbed-TLS/mbedtls-framework-restricted/pull/11): * Documentation improvements [1](https://github.com/Mbed-TLS/mbedtls-framework-restricted/pull/11#discussion_r2945173619) [2](https://github.com/Mbed-TLS/mbedtls-framework-restricted/pull/11#discussion_r2945221381) * Code cleanup [1](https://github.com/Mbed-TLS/mbedtls-framework-restricted/pull/11#discussion_r2945718493) * Improve error reporting for unexpected events. * Add metatests.
Sign in to join this conversation.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
gh-Mbed-TLS/mbedtls-framework#295
No description provided.