[Bug 49172] Always true condition `code > 0xffff` in vbscript/global.c
WineHQ Bugzilla
wine-bugs at winehq.org
Fri Sep 25 03:43:26 CDT 2020
https://bugs.winehq.org/show_bug.cgi?id=49172
Robert Wilhelm <sloper42 at yahoo.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |sloper42 at yahoo.com
--- Comment #1 from Robert Wilhelm <sloper42 at yahoo.com> ---
Tests show that err.raise should set err.number to 5 (=invalid argument) when
parameter is 0 or >0xffff.
Therefore I think it should read:
if(code == 0 || code > 0xffff)
return E_INVALIDARG;
I send a patch to wine-devel.
--
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