[Bug 54489] New: vbscript Abs on BSTR returns invalid value
https://bugs.winehq.org/show_bug.cgi?id=54489 Bug ID: 54489 Summary: vbscript Abs on BSTR returns invalid value Product: Wine Version: 7.21 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: vbscript Assignee: wine-bugs(a)winehq.org Reporter: jsm174(a)gmail.com Distribution: --- While porting Visual Pinball to cross platform, I found some code where Abs was returning an invalid value when the source value was a string: Dim x x = "30000" Debug.Print "x" & "=" & abs(x) Outputs: Script.Print 'x=3.08221696253945E-314' After further research, it turns out the issue is in VarAbs in oleaut32.c: I've submitted an MR to handle this: https://gitlab.winehq.org/wine/wine/-/merge_requests/2175 -- 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.
https://bugs.winehq.org/show_bug.cgi?id=54489 Nikolay Sivov <bunglehead(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|vbscript Abs on BSTR |VarAbs() does not handle |returns invalid value |BSTR arguments correctly Component|vbscript |oleaut32 -- 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.
https://bugs.winehq.org/show_bug.cgi?id=54489 --- Comment #1 from Nikolay Sivov <bunglehead(a)gmail.com> --- Is this now fixed after https://source.winehq.org/git/wine.git/commit/72b86f967e0282be60b3507194ba01... -- 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.
https://bugs.winehq.org/show_bug.cgi?id=54489 Robert Wilhelm <sloper42(a)yahoo.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED CC| |sloper42(a)yahoo.com Fixed by SHA1| |72b86f967e0282be60b3507194b | |a01a7e1cf66b5 Resolution|--- |FIXED --- Comment #2 from Robert Wilhelm <sloper42(a)yahoo.com> --- This is fixed now by Jason's MR. Thanks! -- 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.
https://bugs.winehq.org/show_bug.cgi?id=54489 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #3 from Alexandre Julliard <julliard(a)winehq.org> --- Closing bugs fixed in 8.2. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=54489 Michael Stefaniuc <mstefani(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |8.0.x -- 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.
https://bugs.winehq.org/show_bug.cgi?id=54489 Michael Stefaniuc <mstefani(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|8.0.x |--- --- Comment #4 from Michael Stefaniuc <mstefani(a)winehq.org> --- Removing the 8.0.x milestone from bug fixes included in 8.0.1. -- 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.
participants (1)
-
WineHQ Bugzilla