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
798f158a
Commit
798f158a
authored
Apr 24, 2024
by
Paul Gofman
Committed by
Alexandre Julliard
Apr 25, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cryptnet: Do not use InternetCombineUrlW() in build_request_url().
parent
7300b40b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
cryptnet_main.c
dlls/cryptnet/cryptnet_main.c
+4
-3
No files found.
dlls/cryptnet/cryptnet_main.c
View file @
798f158a
...
@@ -1869,15 +1869,16 @@ static WCHAR *build_request_url(const WCHAR *base_url, const BYTE *data, DWORD d
...
@@ -1869,15 +1869,16 @@ static WCHAR *build_request_url(const WCHAR *base_url, const BYTE *data, DWORD d
DWORD
len
=
0
;
DWORD
len
=
0
;
if
(
!
(
path
=
build_request_path
(
data
,
data_size
)))
return
NULL
;
if
(
!
(
path
=
build_request_path
(
data
,
data_size
)))
return
NULL
;
len
=
(
wcslen
(
base_url
)
+
wcslen
(
path
)
+
1
)
*
sizeof
(
WCHAR
);
InternetCombineUrlW
(
base_url
,
path
,
NULL
,
&
len
,
0
);
if
(
!
(
ret
=
malloc
(
len
*
sizeof
(
WCHAR
))))
if
(
!
(
ret
=
malloc
(
len
*
sizeof
(
WCHAR
))))
{
{
free
(
path
);
free
(
path
);
return
NULL
;
return
NULL
;
}
}
InternetCombineUrlW
(
base_url
,
path
,
ret
,
&
len
,
0
);
wcscpy
(
ret
,
base_url
);
wcscat
(
ret
,
path
);
free
(
path
);
free
(
path
);
TRACE
(
"-> %s.
\n
"
,
debugstr_w
(
ret
));
return
ret
;
return
ret
;
}
}
...
...
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