Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
06dfe8fc
Commit
06dfe8fc
authored
May 23, 2015
by
Thomas Faller
Committed by
Alexandre Julliard
May 26, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vbscript: Fix for unchecked memory access.
parent
38f69193
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
global.c
dlls/vbscript/global.c
+1
-1
No files found.
dlls/vbscript/global.c
View file @
06dfe8fc
...
@@ -1827,7 +1827,7 @@ static HRESULT Global_InStrRev(vbdisp_t *This, VARIANT *args, unsigned args_cnt,
...
@@ -1827,7 +1827,7 @@ static HRESULT Global_InStrRev(vbdisp_t *This, VARIANT *args, unsigned args_cnt,
assert
(
2
<=
args_cnt
&&
args_cnt
<=
4
);
assert
(
2
<=
args_cnt
&&
args_cnt
<=
4
);
if
(
V_VT
(
args
)
==
VT_NULL
||
V_VT
(
args
+
1
)
==
VT_NULL
||
V_VT
(
args
+
2
)
==
VT_NULL
)
if
(
V_VT
(
args
)
==
VT_NULL
||
V_VT
(
args
+
1
)
==
VT_NULL
||
(
args_cnt
>
2
&&
V_VT
(
args
+
2
)
==
VT_NULL
)
)
return
MAKE_VBSERROR
(
VBSE_ILLEGAL_NULL_USE
);
return
MAKE_VBSERROR
(
VBSE_ILLEGAL_NULL_USE
);
hres
=
to_string
(
args
,
&
str1
);
hres
=
to_string
(
args
,
&
str1
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment