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
52aeccf9
Commit
52aeccf9
authored
Aug 28, 2013
by
Piotr Caban
Committed by
Alexandre Julliard
Aug 28, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcp90: Fix string leak in locale__Locimp__Makeloc function.
parent
7de8b5d1
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
8 additions
and
4 deletions
+8
-4
locale.c
dlls/msvcp100/locale.c
+1
-1
msvcp.h
dlls/msvcp100/msvcp.h
+1
-0
locale.c
dlls/msvcp60/locale.c
+1
-1
msvcp.h
dlls/msvcp60/msvcp.h
+1
-0
locale.c
dlls/msvcp71/locale.c
+1
-1
msvcp.h
dlls/msvcp71/msvcp.h
+1
-0
locale.c
dlls/msvcp90/locale.c
+1
-1
msvcp90.h
dlls/msvcp90/msvcp90.h
+1
-0
No files found.
dlls/msvcp100/locale.c
View file @
52aeccf9
...
...
@@ -8460,7 +8460,7 @@ locale__Locimp* __cdecl locale__Locimp__Makeloc(const _Locinfo *locinfo, categor
locale__Locimp__Makeushloc
(
locinfo
,
cat
,
locimp
,
loc
);
locimp
->
catmask
|=
cat
;
_Yarn_char_
copy_ctor
(
&
locimp
->
name
,
&
locinfo
->
newlocname
);
_Yarn_char_
op_assign
(
&
locimp
->
name
,
&
locinfo
->
newlocname
);
return
locimp
;
}
...
...
dlls/msvcp100/msvcp.h
View file @
52aeccf9
...
...
@@ -88,6 +88,7 @@ _Yarn_char* __thiscall _Yarn_char_ctor_cstr(_Yarn_char*, const char*);
_Yarn_char
*
__thiscall
_Yarn_char_copy_ctor
(
_Yarn_char
*
,
const
_Yarn_char
*
);
const
char
*
__thiscall
_Yarn_char_c_str
(
const
_Yarn_char
*
);
void
__thiscall
_Yarn_char_dtor
(
_Yarn_char
*
);
_Yarn_char
*
__thiscall
_Yarn_char_op_assign
(
_Yarn_char
*
,
const
_Yarn_char
*
);
/* class locale::facet */
typedef
struct
{
...
...
dlls/msvcp60/locale.c
View file @
52aeccf9
...
...
@@ -8110,7 +8110,7 @@ static locale__Locimp* locale__Locimp__Makeloc(const _Locinfo *locinfo, category
locale__Locimp__Makeushloc
(
locinfo
,
cat
,
locimp
,
loc
);
locimp
->
catmask
|=
cat
;
basic_string_char_
copy_ctor
(
&
locimp
->
name
,
&
locinfo
->
newlocname
);
basic_string_char_
assign
(
&
locimp
->
name
,
&
locinfo
->
newlocname
);
return
locimp
;
}
...
...
dlls/msvcp60/msvcp.h
View file @
52aeccf9
...
...
@@ -51,6 +51,7 @@ void basic_string_char_clear(basic_string_char*);
basic_string_char
*
__thiscall
basic_string_char_append_ch
(
basic_string_char
*
,
char
);
MSVCP_size_t
__thiscall
basic_string_char_length
(
const
basic_string_char
*
);
basic_string_char
*
__thiscall
basic_string_char_append_len_ch
(
basic_string_char
*
,
MSVCP_size_t
,
char
);
basic_string_char
*
__thiscall
basic_string_char_assign
(
basic_string_char
*
,
const
basic_string_char
*
);
typedef
struct
{
...
...
dlls/msvcp71/locale.c
View file @
52aeccf9
...
...
@@ -8651,7 +8651,7 @@ static locale__Locimp* locale__Locimp__Makeloc(const _Locinfo *locinfo, category
locale__Locimp__Makeushloc
(
locinfo
,
cat
,
locimp
,
loc
);
locimp
->
catmask
|=
cat
;
MSVCP_basic_string_char_
copy_ctor
(
&
locimp
->
name
,
&
locinfo
->
newlocname
);
MSVCP_basic_string_char_
assign
(
&
locimp
->
name
,
&
locinfo
->
newlocname
);
return
locimp
;
}
...
...
dlls/msvcp71/msvcp.h
View file @
52aeccf9
...
...
@@ -55,6 +55,7 @@ const char* __stdcall MSVCP_basic_string_char_c_str(const basic_string_char*);
void
__thiscall
MSVCP_basic_string_char_clear
(
basic_string_char
*
);
basic_string_char
*
__thiscall
MSVCP_basic_string_char_append_ch
(
basic_string_char
*
,
char
);
MSVCP_size_t
__thiscall
MSVCP_basic_string_char_length
(
const
basic_string_char
*
);
basic_string_char
*
__thiscall
MSVCP_basic_string_char_assign
(
basic_string_char
*
,
const
basic_string_char
*
);
#define BUF_SIZE_WCHAR 8
typedef
struct
...
...
dlls/msvcp90/locale.c
View file @
52aeccf9
...
...
@@ -8949,7 +8949,7 @@ locale__Locimp* __cdecl locale__Locimp__Makeloc(const _Locinfo *locinfo, categor
locale__Locimp__Makeushloc
(
locinfo
,
cat
,
locimp
,
loc
);
locimp
->
catmask
|=
cat
;
MSVCP_basic_string_char_
copy_ctor
(
&
locimp
->
name
,
&
locinfo
->
newlocname
);
MSVCP_basic_string_char_
assign
(
&
locimp
->
name
,
&
locinfo
->
newlocname
);
return
locimp
;
}
...
...
dlls/msvcp90/msvcp90.h
View file @
52aeccf9
...
...
@@ -55,6 +55,7 @@ const char* __stdcall MSVCP_basic_string_char_c_str(const basic_string_char*);
void
__thiscall
MSVCP_basic_string_char_clear
(
basic_string_char
*
);
basic_string_char
*
__thiscall
MSVCP_basic_string_char_append_ch
(
basic_string_char
*
,
char
);
MSVCP_size_t
__thiscall
MSVCP_basic_string_char_length
(
const
basic_string_char
*
);
basic_string_char
*
__thiscall
MSVCP_basic_string_char_assign
(
basic_string_char
*
,
const
basic_string_char
*
);
#define BUF_SIZE_WCHAR 8
typedef
struct
...
...
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