إرسال #864875: GitHub wondertrader 0.9.9 Use of Uninitialized Variableالمعلومات

عنوانGitHub wondertrader 0.9.9 Use of Uninitialized Variable
الوصفWonderTrader’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.
المصدر⚠️ https://my.feishu.cn/wiki/PyAuwg8Bwit3TBk5DgLc14Ghnkb?from=from_copylink
المستخدم
 sannomiya (UID 98147)
ارسال21/06/2026 03:23 PM (2 أشهر منذ)
الاعتدال07/08/2026 10:39 AM (2 months later)
الحالةتمت الموافقة
إدخال VulDB386957 [WonderTrader حتى 0.9.9 TraderATP Cash Trade Conversion WTSTradeDef.hpp m_offsetType الحرمان من الخدمة]
النقاط20

Do you need the next level of professionalism?

Upgrade your account now!