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
3b30fd9d
Commit
3b30fd9d
authored
Nov 11, 2008
by
Christian Costa
Committed by
Alexandre Julliard
Nov 11, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3dxof: Increase max objects and check limit.
parent
ba11e60e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletion
+7
-1
d3dxof.c
dlls/d3dxof/d3dxof.c
+6
-0
d3dxof_private.h
dlls/d3dxof/d3dxof_private.h
+1
-1
No files found.
dlls/d3dxof/d3dxof.c
View file @
3b30fd9d
...
...
@@ -2077,6 +2077,12 @@ static HRESULT WINAPI IDirectXFileEnumObjectImpl_GetNextDataObject(IDirectXFileE
TRACE
(
"(%p/%p)->(%p)
\n
"
,
This
,
iface
,
ppDataObj
);
if
(
This
->
nb_xobjects
>=
MAX_OBJECTS
)
{
ERR
(
"Too many objects
\n
"
);
return
DXFILEERR_NOMOREOBJECTS
;
}
if
(
!
This
->
buf
.
rem_bytes
)
return
DXFILEERR_NOMOREOBJECTS
;
...
...
dlls/d3dxof/d3dxof_private.h
View file @
3b30fd9d
...
...
@@ -38,7 +38,7 @@
#define MAX_MEMBERS 50
#define MAX_CHILDS 20
#define MAX_TEMPLATES 200
#define MAX_OBJECTS
2
00
#define MAX_OBJECTS
5
00
#define MAX_SUBOBJECTS 120
#define MAX_STRINGS_BUFFER 200
...
...
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