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
8a7d4c7f
Commit
8a7d4c7f
authored
Sep 22, 2014
by
André Hentschel
Committed by
Alexandre Julliard
Sep 22, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3d10core: Fix out of bounds access (Coverity).
parent
3fc386fc
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
async.c
dlls/d3d10core/async.c
+1
-1
No files found.
dlls/d3d10core/async.c
View file @
8a7d4c7f
...
...
@@ -196,7 +196,7 @@ HRESULT d3d10_query_init(struct d3d10_query *query, struct d3d10_device *device,
/* D3D10_QUERY_SO_OVERFLOW_PREDICATE */
WINED3D_QUERY_TYPE_SO_OVERFLOW
,
};
if
(
desc
->
Query
>
sizeof
(
query_type_map
)
/
sizeof
(
*
query_type_map
))
if
(
desc
->
Query
>
=
sizeof
(
query_type_map
)
/
sizeof
(
*
query_type_map
))
{
FIXME
(
"Unhandled query type %#x.
\n
"
,
desc
->
Query
);
return
E_INVALIDARG
;
...
...
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