जमा करें #864856: GitHub wondertrader 0.9.9 Incorrect Comparisonजानकारी

शीर्षकGitHub wondertrader 0.9.9 Incorrect Comparison
विवरण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.
स्रोत⚠️ https://my.feishu.cn/wiki/BMjWwb5c3iEkgIkwi3wcOAKjnpc
उपयोगकर्ता
 sannomiya (UID 98147)
सबमिशन21/06/2026 02:54 PM (2 महीनों पहले)
संयम07/08/2026 10:31 AM (2 months later)
स्थितिस्वीकृत
VulDB प्रविष्टि386953 [WonderTrader तक 0.9.9 TraderDD.cpp TraderDD::queryTrades FID_JYLB अधिकार वृद्धि]
अंक20

Interested in the pricing of exploits?

See the underground prices here!