Fix(context): clear dataContext in reset_app_context()
tokenContext_t (plugin name, contract address, method selector, pluginChainId, pluginStatus, token lookups) was never zeroed between signing sessions, allowing stale plugin/token state from a previous transaction to bleed into the next one. Add memset(&dataContext) alongside the existing clears of tmpCtx, txContext and tmpContent. (cherry picked from commit 68224b24cc3cdaedfa2104e495be9baf52e66b7f)
C
Charles-Edouard de la Vergne committed
48c8331cbaf2c1ee51f7647e0b2345efd25cdaf4
Parent: 15ece95
Committed by Alexandre Paillier <alexandre.paillier@ledger.fr>
on 8/25/2026, 3:25:35 PM