Files
mbedtls-framework/tests
Gilles Peskine a55f15580f Avoid a buffer overread if the child reports a wrong length
The child code isn't supposed to cause memory corruption, but if it does,
try to report a problem rather than mess up further.

Adapt the code to report the failure to the parent accordingly. In
particular, we need to make sure that the first byte written to the
reporting pipe is the result code in all cases, so don't jump over the
writing of the result code.

Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
2026-03-16 15:55:52 +01:00
..
2025-02-19 15:17:23 +00:00
2025-02-19 15:17:23 +00:00