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
b11d47fc
Commit
b11d47fc
authored
Mar 26, 2013
by
Jacek Caban
Committed by
Alexandre Julliard
Mar 26, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
jscript: Use jsstr_flatten to access string buffer in dispex.c.
parent
e3d94033
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
dispex.c
dlls/jscript/dispex.c
+8
-1
No files found.
dlls/jscript/dispex.c
View file @
b11d47fc
...
@@ -1524,8 +1524,15 @@ HRESULT disp_delete_name(script_ctx_t *ctx, IDispatch *disp, jsstr_t *name, BOOL
...
@@ -1524,8 +1524,15 @@ HRESULT disp_delete_name(script_ctx_t *ctx, IDispatch *disp, jsstr_t *name, BOOL
jsdisp
=
iface_to_jsdisp
((
IUnknown
*
)
disp
);
jsdisp
=
iface_to_jsdisp
((
IUnknown
*
)
disp
);
if
(
jsdisp
)
{
if
(
jsdisp
)
{
dispex_prop_t
*
prop
;
dispex_prop_t
*
prop
;
const
WCHAR
*
ptr
;
ptr
=
jsstr_flatten
(
name
);
if
(
!
ptr
)
{
jsdisp_release
(
jsdisp
);
return
E_OUTOFMEMORY
;
}
hres
=
find_prop_name
(
jsdisp
,
string_hash
(
name
->
str
),
name
->
s
tr
,
&
prop
);
hres
=
find_prop_name
(
jsdisp
,
string_hash
(
ptr
),
p
tr
,
&
prop
);
if
(
prop
)
{
if
(
prop
)
{
hres
=
delete_prop
(
prop
,
ret
);
hres
=
delete_prop
(
prop
,
ret
);
}
else
{
}
else
{
...
...
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