[Bug 57563] New: vbscript: mid() throws when passed VT_EMPTY instead of returning empty string
https://bugs.winehq.org/show_bug.cgi?id=57563 Bug ID: 57563 Summary: vbscript: mid() throws when passed VT_EMPTY instead of returning empty string Product: Wine Version: 9.4 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: vbscript Assignee: wine-bugs(a)winehq.org Reporter: francisdb(a)gmail.com Distribution: --- Dim Uninitialized(1) Wscript.Echo "Uninitialized(0) = " & Uninitialized(0) Wscript.Echo "TypeName(Uninitialized(0)) = " & TypeName(Uninitialized(0)) Dim t: t = mid(Uninitialized(0),1,2) Wscript.Echo "t = " & t Wscript.Echo "TypeName(t) = " & TypeName(t) Wine /opt/wine-devel/bin/wine cscript test.vbs Uninitialized(0) = TypeName(Uninitialized(0)) = Empty 0120:fixme:wscript:ActiveScriptSite_OnScriptError () Windows cscript //Nologo test2.vbs Uninitialized(0) = TypeName(Uninitialized(0)) = Empty t = TypeName(t) = String [Done] exited with code=0 in 0.061 seconds Related code: https://gitlab.winehq.org/wine/wine/-/blob/master/dlls/vbscript/global.c?ref... -- 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=57563 --- Comment #1 from francisdb <francisdb(a)gmail.com> --- https://gitlab.winehq.org/wine/wine/-/merge_requests/7049 -- 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=57563 Robert Wilhelm <sloper42(a)yahoo.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sloper42(a)yahoo.com -- 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=57563 --- Comment #2 from Nikolay Sivov <bunglehead(a)gmail.com> --- MR was merged. Is this fixed now? -- 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=57563 francisdb <francisdb(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |d40555b815ddffbbe79fd82b8b9 | |09d009b845b3a Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED --- Comment #3 from francisdb <francisdb(a)gmail.com> --- Yes, 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=57563 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #4 from Alexandre Julliard <julliard(a)winehq.org> --- Closing bugs fixed in 10.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