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
ad6b12c6
Commit
ad6b12c6
authored
Sep 02, 2004
by
Rein Klazes
Committed by
Alexandre Julliard
Sep 02, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix a heap corruption in MIX_Init ( sizeof() != strlen() ).
parent
72d1eb47
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
mixer.c
dlls/winmm/wineoss/mixer.c
+1
-1
No files found.
dlls/winmm/wineoss/mixer.c
View file @
ad6b12c6
...
...
@@ -1445,7 +1445,7 @@ static DWORD MIX_Init(void)
mixer_info
info
;
if
(
ioctl
(
mixer
,
SOUND_MIXER_INFO
,
&
info
)
>=
0
)
{
MIX_Mixers
[
i
].
name
=
HeapAlloc
(
GetProcessHeap
(),
0
,
strlen
(
info
.
name
)
+
1
);
str
ncpy
(
MIX_Mixers
[
i
].
name
,
info
.
name
,
sizeof
(
info
.
name
)
);
str
cpy
(
MIX_Mixers
[
i
].
name
,
info
.
name
);
}
else
{
/* FreeBSD up to at least 5.2 provides this ioctl, but does not
* implement it properly, and there are probably similar issues
...
...
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