[Bug 51452] New: oleaut32:varformat fails in Wine when the currency sign has two characters or more
WineHQ Bugzilla
wine-bugs at winehq.org
Sun Jul 11 14:54:29 CDT 2021
https://bugs.winehq.org/show_bug.cgi?id=51452
Bug ID: 51452
Summary: oleaut32:varformat fails in Wine when the currency
sign has two characters or more
Product: Wine
Version: 6.10
Hardware: x86-64
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: oleaut32
Assignee: wine-bugs at winehq.org
Reporter: fgouget at codeweavers.com
Distribution: ---
oleaut32:varformat fails in Wine when the currency sign has two characters or
more:
https://test.winehq.org/data/patterns.html#oleaut32:varformat
varformat.c:641: str=L"\062f.\0645.\200f 0.000"
varformat.c:643: Test failed: Unexpected hr 0x80020005.
In Morocco the currency sign has 5 characters. This is simply not supported by
VarParseNumFromStr().
But even the currency sign is only two characters VarParseNumFromStr() fails
because it advances a pointer by one character only. For instance with Polish:
varformat.c:641: str=L"0,000 z\0142"
varformat.c:643: Test failed: Unexpected hr 0x80020005.
Note that the w10pro64 TestBot Windows VMs have an incorrect UserDefaultLCID so
that these issues are not actually tested (see bug 51451). The w7u VMs are more
correct in this regard but only test simple European cases (€).
--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.
More information about the wine-bugs
mailing list