Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
wine
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Fotios Valasiadis
wine
Commits
58711741
Commit
58711741
authored
22 years ago
by
Eric Pouech
Committed by
Alexandre Julliard
22 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Fixed read-overflow spotted by valgrind.
parent
a969416c
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
server/console.c
+1
-1
1 addition, 1 deletion
server/console.c
with
1 addition
and
1 deletion
server/console.c
+
1
−
1
View file @
58711741
...
...
@@ -612,7 +612,7 @@ static int set_console_input_info( const struct set_console_input_info_request *
WCHAR
*
new_title
=
mem_alloc
(
len
+
sizeof
(
WCHAR
)
);
if
(
new_title
)
{
memcpy
(
new_title
,
title
,
len
+
sizeof
(
WCHAR
)
);
memcpy
(
new_title
,
title
,
len
);
new_title
[
len
/
sizeof
(
WCHAR
)]
=
0
;
if
(
console
->
title
)
free
(
console
->
title
);
console
->
title
=
new_title
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment