Gửi #864856: GitHub wondertrader 0.9.9 Incorrect Comparisonthông tin

tiêu đềGitHub wondertrader 0.9.9 Incorrect Comparison
Mô tảWonderTrader’s TraderDD queryTrades() path incorrectly uses strncpy(buf, "1", 1) == 0 to classify DD broker trade records as open or close. Because strncpy() returns the destination pointer rather than a comparison result, trades with FID_JYLB=1 are misclassified as WOT_CLOSE instead of WOT_OPEN. During startup or reconnect trade replay, this undercounts daily opened volume in _stat_map, allowing configured ActionPolicy open-volume limits to be bypassed and enabling oversized positions.
Nguồn⚠️ https://my.feishu.cn/wiki/BMjWwb5c3iEkgIkwi3wcOAKjnpc
Người dùng
 sannomiya (UID 98147)
Đệ trình21/06/2026 14:54 (cách đây 2 các tháng)
Kiểm duyệt07/08/2026 10:31 (2 months later)
Trạng tháiđược chấp nhận
Mục VulDB386953 [WonderTrader đến 0.9.9 TraderDD.cpp TraderDD::queryTrades FID_JYLB nâng cao đặc quyền]
điểm20

Might our Artificial Intelligence support you?

Check our Alexa App!