Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
cd1b13fb
Commit
cd1b13fb
authored
Nov 05, 2005
by
Dimi Paun
Committed by
Alexandre Julliard
Nov 05, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Validate the column index passed in by the caller.
parent
7e08a24f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
listview.c
dlls/comctl32/listview.c
+4
-1
No files found.
dlls/comctl32/listview.c
View file @
cd1b13fb
...
...
@@ -5613,6 +5613,7 @@ static BOOL LISTVIEW_GetSubItemRect(LISTVIEW_INFO *infoPtr, INT nItem, LPRECT lp
{
POINT
Position
;
LVITEMW
lvItem
;
INT
nColumn
=
lprc
->
top
;
if
(
!
lprc
)
return
FALSE
;
...
...
@@ -5625,9 +5626,11 @@ static BOOL LISTVIEW_GetSubItemRect(LISTVIEW_INFO *infoPtr, INT nItem, LPRECT lp
if
(
!
LISTVIEW_GetItemPosition
(
infoPtr
,
nItem
,
&
Position
))
return
FALSE
;
if
(
nColumn
<
0
||
nColumn
>=
DPA_GetPtrCount
(
infoPtr
->
hdpaColumns
))
return
FALSE
;
lvItem
.
mask
=
0
;
lvItem
.
iItem
=
nItem
;
lvItem
.
iSubItem
=
lprc
->
top
;
lvItem
.
iSubItem
=
nColumn
;
if
(
lvItem
.
mask
&&
!
LISTVIEW_GetItemW
(
infoPtr
,
&
lvItem
))
return
FALSE
;
switch
(
lprc
->
left
)
...
...
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