mirror of
https://github.com/Mbed-TLS/mbedtls-framework.git
synced 2026-06-05 21:15:09 +00:00
a55f15580f
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>