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
35f0965c
Commit
35f0965c
authored
May 12, 2006
by
Mike McCormack
Committed by
Alexandre Julliard
May 15, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wininet: Check for null parameters in FtpSetCurrentDirectoryW.
parent
5fb6e0ef
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
ftp.c
dlls/wininet/ftp.c
+7
-1
No files found.
dlls/wininet/ftp.c
View file @
35f0965c
...
...
@@ -339,10 +339,16 @@ BOOL WINAPI FtpSetCurrentDirectoryA(HINTERNET hConnect, LPCSTR lpszDirectory)
*/
BOOL
WINAPI
FtpSetCurrentDirectoryW
(
HINTERNET
hConnect
,
LPCWSTR
lpszDirectory
)
{
LPWININETFTPSESSIONW
lpwfs
;
LPWININETFTPSESSIONW
lpwfs
=
NULL
;
LPWININETAPPINFOW
hIC
=
NULL
;
BOOL
r
=
FALSE
;
if
(
!
lpszDirectory
)
{
SetLastError
(
ERROR_INVALID_PARAMETER
);
goto
lend
;
}
lpwfs
=
(
LPWININETFTPSESSIONW
)
WININET_GetObject
(
hConnect
);
if
(
NULL
==
lpwfs
||
WH_HFTPSESSION
!=
lpwfs
->
hdr
.
htype
)
{
...
...
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