Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
32f47b06
Commit
32f47b06
authored
Oct 06, 2003
by
Uwe Bonnes
Committed by
Alexandre Julliard
Oct 06, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MSVCRT___RTDynamicCast: Reject a NULL cppobj.
parent
bdcc0e36
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
cpp.c
dlls/msvcrt/cpp.c
+4
-2
No files found.
dlls/msvcrt/cpp.c
View file @
32f47b06
...
...
@@ -1150,11 +1150,13 @@ void* MSVCRT___RTDynamicCast(type_info *cppobj, int unknown,
type_info
*
src
,
type_info
*
dst
,
int
do_throw
)
{
const
rtti_object_locator
*
obj_locator
=
RTTI_GetObjectLocator
(
cppobj
)
;
const
rtti_object_locator
*
obj_locator
;
/* Note: cppobj _isn't_ a type_info, we use that struct for its vtable ptr */
TRACE
(
"(%p,%d,%p,%p,%d)
\n
"
,
cppobj
,
unknown
,
src
,
dst
,
do_throw
);
if
(
!
cppobj
)
return
0
;
obj_locator
=
RTTI_GetObjectLocator
(
cppobj
);
if
(
unknown
)
FIXME
(
"Unknown parameter is non-zero: please report
\n
"
);
...
...
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