]> git.feebdaed.xyz Git - 0xmirror/SOEM.git/commit
FoE: Fix invalid access of MbxOut after FOE_BUSY (#929) master
authorMarcOhlf <ohlf@mkt-sys.de>
Fri, 15 Aug 2025 13:58:17 +0000 (15:58 +0200)
committerGitHub <noreply@github.com>
Fri, 15 Aug 2025 13:58:17 +0000 (15:58 +0200)
commita7c74cea13786426929ae71e94195fa91c4b9faf
tree1baf2dd14b5648287a5d7bea8e9d9256a0909dbd
parent304d1c05eab77dc0d426f1a5cf09c8cc7dc03713
FoE: Fix invalid access of MbxOut after FOE_BUSY (#929)

Mailbox (via FOEp) was written to after dropped back to pool and
MbxOut was NULL when calling ecx_mbxsend.

* obtain a new mailbox from the pool before filling it again.
* fix invalid pointer cast in ecx_mbxsend.
src/ec_foe.c