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
59514c46
Commit
59514c46
authored
Oct 18, 2011
by
Piotr Caban
Committed by
Alexandre Julliard
Oct 18, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcp90: Fix buffer size in basic_string_char_grow.
parent
b0211b5b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
string.c
dlls/msvcp90/string.c
+2
-2
No files found.
dlls/msvcp90/string.c
View file @
59514c46
...
...
@@ -607,7 +607,7 @@ MSVCP_bool __thiscall basic_string_char_grow(
if
(
new_res
/
3
<
this
->
res
/
2
)
new_res
=
this
->
res
+
this
->
res
/
2
;
ptr
=
MSVCP_allocator_char_allocate
(
this
->
allocator
,
new_res
);
ptr
=
MSVCP_allocator_char_allocate
(
this
->
allocator
,
new_res
+
1
);
if
(
!
ptr
)
ptr
=
MSVCP_allocator_char_allocate
(
this
->
allocator
,
new_size
+
1
);
else
...
...
@@ -2271,7 +2271,7 @@ MSVCP_bool __thiscall basic_string_wchar_grow(
if
(
new_res
/
3
<
this
->
res
/
2
)
new_res
=
this
->
res
+
this
->
res
/
2
;
ptr
=
MSVCP_allocator_wchar_allocate
(
this
->
allocator
,
new_res
);
ptr
=
MSVCP_allocator_wchar_allocate
(
this
->
allocator
,
new_res
+
1
);
if
(
!
ptr
)
ptr
=
MSVCP_allocator_wchar_allocate
(
this
->
allocator
,
new_size
+
1
);
else
...
...
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