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
b653679e
Commit
b653679e
authored
Mar 13, 2009
by
Roman Mindalev
Committed by
Alexandre Julliard
Mar 25, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Check for arch and name fields in assembly_identity structure.
parent
13f19887
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
actctx.c
dlls/ntdll/actctx.c
+6
-4
No files found.
dlls/ntdll/actctx.c
View file @
b653679e
...
@@ -496,17 +496,19 @@ static WCHAR *build_assembly_dir(struct assembly_identity* ai)
...
@@ -496,17 +496,19 @@ static WCHAR *build_assembly_dir(struct assembly_identity* ai)
static
const
WCHAR
noneW
[]
=
{
'n'
,
'o'
,
'n'
,
'e'
,
0
};
static
const
WCHAR
noneW
[]
=
{
'n'
,
'o'
,
'n'
,
'e'
,
0
};
static
const
WCHAR
mskeyW
[]
=
{
'd'
,
'e'
,
'a'
,
'd'
,
'b'
,
'e'
,
'e'
,
'f'
,
0
};
static
const
WCHAR
mskeyW
[]
=
{
'd'
,
'e'
,
'a'
,
'd'
,
'b'
,
'e'
,
'e'
,
'f'
,
0
};
const
WCHAR
*
arch
=
ai
->
arch
?
ai
->
arch
:
noneW
;
const
WCHAR
*
key
=
ai
->
public_key
?
ai
->
public_key
:
noneW
;
const
WCHAR
*
key
=
ai
->
public_key
?
ai
->
public_key
:
noneW
;
const
WCHAR
*
lang
=
ai
->
language
?
ai
->
language
:
noneW
;
const
WCHAR
*
lang
=
ai
->
language
?
ai
->
language
:
noneW
;
SIZE_T
size
=
(
strlenW
(
ai
->
arch
)
+
1
+
strlenW
(
ai
->
name
)
+
1
+
strlenW
(
key
)
+
24
+
1
+
const
WCHAR
*
name
=
ai
->
name
?
ai
->
name
:
noneW
;
strlenW
(
lang
)
+
1
)
*
sizeof
(
WCHAR
)
+
sizeof
(
mskeyW
);
SIZE_T
size
=
(
strlenW
(
arch
)
+
1
+
strlenW
(
name
)
+
1
+
strlenW
(
key
)
+
24
+
1
+
strlenW
(
lang
)
+
1
)
*
sizeof
(
WCHAR
)
+
sizeof
(
mskeyW
);
WCHAR
*
ret
;
WCHAR
*
ret
;
if
(
!
(
ret
=
RtlAllocateHeap
(
GetProcessHeap
(),
0
,
size
)))
return
NULL
;
if
(
!
(
ret
=
RtlAllocateHeap
(
GetProcessHeap
(),
0
,
size
)))
return
NULL
;
strcpyW
(
ret
,
a
i
->
a
rch
);
strcpyW
(
ret
,
arch
);
strcatW
(
ret
,
undW
);
strcatW
(
ret
,
undW
);
strcatW
(
ret
,
ai
->
name
);
strcatW
(
ret
,
name
);
strcatW
(
ret
,
undW
);
strcatW
(
ret
,
undW
);
strcatW
(
ret
,
key
);
strcatW
(
ret
,
key
);
strcatW
(
ret
,
undW
);
strcatW
(
ret
,
undW
);
...
...
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