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
b967fde0
Commit
b967fde0
authored
Dec 03, 2009
by
Juan Lang
Committed by
Alexandre Julliard
Dec 04, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wininet: Correct length of data passed to callback when resolving a name.
parent
ec769d2d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
ftp.c
dlls/wininet/ftp.c
+1
-1
http.c
dlls/wininet/http.c
+1
-1
No files found.
dlls/wininet/ftp.c
View file @
b967fde0
...
...
@@ -2535,7 +2535,7 @@ HINTERNET FTP_Connect(appinfo_t *hIC, LPCWSTR lpszServerName,
}
SendAsyncCallback
(
&
hIC
->
hdr
,
dwContext
,
INTERNET_STATUS_RESOLVING_NAME
,
(
LPWSTR
)
lpszServerName
,
strlenW
(
lpszServerName
));
(
LPWSTR
)
lpszServerName
,
(
strlenW
(
lpszServerName
)
+
1
)
*
sizeof
(
WCHAR
));
sock_namelen
=
sizeof
(
socketAddr
);
if
(
!
GetAddress
(
lpszServerName
,
lpwfs
->
serverport
,
(
struct
sockaddr
*
)
&
socketAddr
,
&
sock_namelen
))
...
...
dlls/wininet/http.c
View file @
b967fde0
...
...
@@ -1389,7 +1389,7 @@ static DWORD HTTP_ResolveName(http_request_t *lpwhr)
INTERNET_SendCallback
(
&
lpwhr
->
hdr
,
lpwhr
->
hdr
.
dwContext
,
INTERNET_STATUS_RESOLVING_NAME
,
lpwhs
->
lpszServerName
,
strlenW
(
lpwhs
->
lpszServerName
)
+
1
);
(
strlenW
(
lpwhs
->
lpszServerName
)
+
1
)
*
sizeof
(
WCHAR
)
);
lpwhs
->
sa_len
=
sizeof
(
lpwhs
->
socketAddress
);
if
(
!
GetAddress
(
lpwhs
->
lpszServerName
,
lpwhs
->
nServerPort
,
...
...
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