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
cdc377c1
Commit
cdc377c1
authored
Nov 24, 2008
by
Maarten Lankhorst
Committed by
Alexandre Julliard
Nov 26, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msacm: Fix pointer truncation.
parent
2233f1eb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
driver.c
dlls/msacm32/driver.c
+2
-2
No files found.
dlls/msacm32/driver.c
View file @
cdc377c1
...
@@ -548,7 +548,7 @@ MMRESULT WINAPI acmDriverOpen(PHACMDRIVER phad, HACMDRIVERID hadid, DWORD fdwOpe
...
@@ -548,7 +548,7 @@ MMRESULT WINAPI acmDriverOpen(PHACMDRIVER phad, HACMDRIVERID hadid, DWORD fdwOpe
adod
.
pszAliasName
=
padid
->
pszDriverAlias
;
adod
.
pszAliasName
=
padid
->
pszDriverAlias
;
adod
.
dnDevNode
=
0
;
adod
.
dnDevNode
=
0
;
pad
->
hDrvr
=
OpenDriver
(
padid
->
pszDriverAlias
,
NULL
,
(
DWORD
)
&
adod
);
pad
->
hDrvr
=
OpenDriver
(
padid
->
pszDriverAlias
,
NULL
,
(
DWORD
_PTR
)
&
adod
);
HeapFree
(
MSACM_hHeap
,
0
,
section_name
);
HeapFree
(
MSACM_hHeap
,
0
,
section_name
);
if
(
!
pad
->
hDrvr
)
if
(
!
pad
->
hDrvr
)
...
@@ -573,7 +573,7 @@ MMRESULT WINAPI acmDriverOpen(PHACMDRIVER phad, HACMDRIVERID hadid, DWORD fdwOpe
...
@@ -573,7 +573,7 @@ MMRESULT WINAPI acmDriverOpen(PHACMDRIVER phad, HACMDRIVERID hadid, DWORD fdwOpe
adod
.
pszAliasName
=
NULL
;
adod
.
pszAliasName
=
NULL
;
adod
.
dnDevNode
=
0
;
adod
.
dnDevNode
=
0
;
pad
->
pLocalDrvrInst
=
MSACM_OpenLocalDriver
(
padid
->
pLocalDriver
,
(
DWORD
)
&
adod
);
pad
->
pLocalDrvrInst
=
MSACM_OpenLocalDriver
(
padid
->
pLocalDriver
,
(
DWORD
_PTR
)
&
adod
);
if
(
!
pad
->
pLocalDrvrInst
)
if
(
!
pad
->
pLocalDrvrInst
)
{
{
ret
=
adod
.
dwError
;
ret
=
adod
.
dwError
;
...
...
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