Submeter #864875: GitHub wondertrader 0.9.9 Use of Uninitialized Variableinformação

TítuloGitHub wondertrader 0.9.9 Use of Uninitialized Variable
DescriçãoWonderTrader’s TraderATP cash trade conversion creates WTSTradeInfo records without setting offsetType, while WTSTradeInfo does not initialize m_offsetType in its constructor. As a result, ATP cash trade reports can inherit stale open/close state from reused object-pool memory. A cash sell report may therefore be interpreted by the core as WDT_SHORT + WOT_OPEN and recorded as short-open volume instead of the expected long-close volume, corrupting trade statistics, position semantics, and downstream strategy or risk-control decisions.
Fonte⚠️ https://my.feishu.cn/wiki/PyAuwg8Bwit3TBk5DgLc14Ghnkb?from=from_copylink
Utilizador
 sannomiya (UID 98147)
Submissão21/06/2026 15h23 (há 2 meses)
Moderação07/08/2026 10h39 (2 months later)
EstadoAceite
Entrada VulDB386957 [WonderTrader até 0.9.9 TraderATP Cash Trade Conversion WTSTradeDef.hpp m_offsetType Negação de Serviço]
Pontos20

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!