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
5cb0ac15
Commit
5cb0ac15
authored
Mar 31, 2018
by
Nikolay Sivov
Committed by
Alexandre Julliard
Apr 02, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shell32: Fix destination buffer size (Coverity).
Signed-off-by:
Nikolay Sivov
<
nsivov@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
79f93ecf
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
shell32_main.c
dlls/shell32/shell32_main.c
+1
-2
No files found.
dlls/shell32/shell32_main.c
View file @
5cb0ac15
...
...
@@ -1082,8 +1082,7 @@ static INT_PTR CALLBACK AboutDlgProc( HWND hWnd, UINT msg, WPARAM wParam,
SetWindowTextW
(
GetDlgItem
(
hWnd
,
IDC_ABOUT_STATIC_TEXT2
),
info
->
szOtherStuff
);
GetWindowTextW
(
GetDlgItem
(
hWnd
,
IDC_ABOUT_STATIC_TEXT3
),
template
,
ARRAY_SIZE
(
template
)
);
MultiByteToWideChar
(
CP_UTF8
,
0
,
wine_get_build_id
(),
-
1
,
version
,
ARRAY_SIZE
(
template
)
);
MultiByteToWideChar
(
CP_UTF8
,
0
,
wine_get_build_id
(),
-
1
,
version
,
ARRAY_SIZE
(
version
)
);
sprintfW
(
buffer
,
template
,
version
);
SetWindowTextW
(
GetDlgItem
(
hWnd
,
IDC_ABOUT_STATIC_TEXT3
),
buffer
);
hWndCtl
=
GetDlgItem
(
hWnd
,
IDC_ABOUT_LISTBOX
);
...
...
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