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
f88d7bc8
Commit
f88d7bc8
authored
Jan 02, 2011
by
Nikolay Sivov
Committed by
Alexandre Julliard
Jan 03, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
oleview: Fix some crashes on unnamed methods/arguments.
parent
64bf7ca8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
typelib.c
programs/oleview/typelib.c
+6
-3
No files found.
programs/oleview/typelib.c
View file @
f88d7bc8
...
@@ -631,7 +631,7 @@ static int EnumFuncs(ITypeInfo *pTypeInfo, TYPEATTR *pTypeAttr, HTREEITEM hParen
...
@@ -631,7 +631,7 @@ static int EnumFuncs(ITypeInfo *pTypeInfo, TYPEATTR *pTypeAttr, HTREEITEM hParen
AddToTLDataStrW
(
tld
,
wszStdCall
);
AddToTLDataStrW
(
tld
,
wszStdCall
);
AddToTLDataStrW
(
tld
,
wszSpace
);
AddToTLDataStrW
(
tld
,
wszSpace
);
}
}
AddToTLDataStrW
(
tld
,
bstrName
);
if
(
bstrName
)
AddToTLDataStrW
(
tld
,
bstrName
);
AddToTLDataStrW
(
tld
,
wszOpenBrackets2
);
AddToTLDataStrW
(
tld
,
wszOpenBrackets2
);
for
(
j
=
0
;
j
<
pFuncDesc
->
cParams
;
j
++
)
for
(
j
=
0
;
j
<
pFuncDesc
->
cParams
;
j
++
)
...
@@ -701,8 +701,11 @@ static int EnumFuncs(ITypeInfo *pTypeInfo, TYPEATTR *pTypeAttr, HTREEITEM hParen
...
@@ -701,8 +701,11 @@ static int EnumFuncs(ITypeInfo *pTypeInfo, TYPEATTR *pTypeAttr, HTREEITEM hParen
AddToTLDataStrW
(
tld
,
wszAfter
);
AddToTLDataStrW
(
tld
,
wszAfter
);
AddToTLDataStrW
(
tld
,
wszSpace
);
AddToTLDataStrW
(
tld
,
wszSpace
);
if
(
j
+
1
<
namesNo
)
{
if
(
j
+
1
<
namesNo
)
{
AddToTLDataStrW
(
tld
,
bstrParamNames
[
j
+
1
]);
if
(
bstrParamNames
[
j
+
1
])
SysFreeString
(
bstrParamNames
[
j
+
1
]);
{
AddToTLDataStrW
(
tld
,
bstrParamNames
[
j
+
1
]);
SysFreeString
(
bstrParamNames
[
j
+
1
]);
}
}
else
{
}
else
{
AddToTLDataStrW
(
tld
,
szRhs
);
AddToTLDataStrW
(
tld
,
szRhs
);
}
}
...
...
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