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
d91eab24
Commit
d91eab24
authored
Dec 30, 2023
by
Zhiyi Zhang
Committed by
Alexandre Julliard
Jan 17, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
win32u: Fix a possible out-of-bounds write (Coverity).
parent
20b4cdde
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
sysparams.c
dlls/win32u/sysparams.c
+1
-1
No files found.
dlls/win32u/sysparams.c
View file @
d91eab24
...
...
@@ -6121,7 +6121,7 @@ BOOL WINAPI NtUserSetSysColors( INT count, const INT *colors, const COLORREF *va
if
(
IS_INTRESOURCE
(
colors
))
return
FALSE
;
/* stupid app passes a color instead of an array */
for
(
i
=
0
;
i
<
count
;
i
++
)
if
(
colors
[
i
]
>=
0
&&
colors
[
i
]
<
=
ARRAY_SIZE
(
system_colors
))
if
(
colors
[
i
]
>=
0
&&
colors
[
i
]
<
ARRAY_SIZE
(
system_colors
))
set_entry
(
&
system_colors
[
colors
[
i
]],
values
[
i
],
0
,
0
);
/* Send WM_SYSCOLORCHANGE message to all windows */
...
...
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