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
e42d7f95
Commit
e42d7f95
authored
Jun 05, 2009
by
Paul Vriens
Committed by
Alexandre Julliard
Jun 05, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msctf: Fix a possible NULL dereference (Coverity).
parent
b3e4155a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
range.c
dlls/msctf/range.c
+3
-1
No files found.
dlls/msctf/range.c
View file @
e42d7f95
...
@@ -349,11 +349,13 @@ HRESULT Range_Constructor(ITfContext *context, ITextStoreACP *textstore, DWORD l
...
@@ -349,11 +349,13 @@ HRESULT Range_Constructor(ITfContext *context, ITextStoreACP *textstore, DWORD l
HRESULT
TF_SELECTION_to_TS_SELECTION_ACP
(
const
TF_SELECTION
*
tf
,
TS_SELECTION_ACP
*
tsAcp
)
HRESULT
TF_SELECTION_to_TS_SELECTION_ACP
(
const
TF_SELECTION
*
tf
,
TS_SELECTION_ACP
*
tsAcp
)
{
{
Range
*
This
=
(
Range
*
)
tf
->
range
;
Range
*
This
;
if
(
!
tf
||
!
tsAcp
||
!
tf
->
range
)
if
(
!
tf
||
!
tsAcp
||
!
tf
->
range
)
return
E_INVALIDARG
;
return
E_INVALIDARG
;
This
=
(
Range
*
)
tf
->
range
;
tsAcp
->
acpStart
=
This
->
anchorStart
;
tsAcp
->
acpStart
=
This
->
anchorStart
;
tsAcp
->
acpEnd
=
This
->
anchorEnd
;
tsAcp
->
acpEnd
=
This
->
anchorEnd
;
tsAcp
->
style
.
ase
=
tf
->
style
.
ase
;
tsAcp
->
style
.
ase
=
tf
->
style
.
ase
;
...
...
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