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
98d336c3
Commit
98d336c3
authored
Apr 19, 2005
by
Troy Rollo
Committed by
Alexandre Julliard
Apr 19, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix SEGV for non-fully-qualified destination paths.
Don't fail ShFileOperationW if FOF_ALLOWUNDO is passed.
parent
3b36eee0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
shlfileop.c
dlls/shell32/shlfileop.c
+4
-2
No files found.
dlls/shell32/shlfileop.c
View file @
98d336c3
...
...
@@ -719,6 +719,8 @@ LPWSTR SHFileStrCpyCatW(LPWSTR pTo, LPCWSTR pFrom, LPCWSTR pCatStr)
lstrcpyW
(
&
pTo
[
i_len
+
1
],
pCatStr
);
}
pToFile
=
StrRChrW
(
pTo
,
NULL
,
'\\'
);
if
(
!
pToFile
)
pToFile
=
pTo
;
/* termination of the new string-group */
pTo
[(
lstrlenW
(
pTo
))
+
1
]
=
'\0'
;
}
...
...
@@ -931,9 +933,9 @@ static int shfileops_check_flags(SHFILEOPSTRUCTW nFileOp)
if
(
OFl
)
{
if
(
OFl
&
(
~
(
FOF_CONFIRMMOUSE
|
FOF_SILENT
|
FOF_RENAMEONCOLLISION
|
FOF_NOCONFIRMMKDIR
|
FOF_NOERRORUI
|
FOF_NOCOPYSECURITYATTRIBS
)))
FOF_NOCONFIRMMKDIR
|
FOF_NOERRORUI
|
FOF_NOCOPYSECURITYATTRIBS
|
FOF_ALLOWUNDO
)))
{
TRAC
E
(
"%s level=%ld lpFileOp->fFlags=0x%x not implemented, Aborted=TRUE, stub
\n
"
,
FIXM
E
(
"%s level=%ld lpFileOp->fFlags=0x%x not implemented, Aborted=TRUE, stub
\n
"
,
debug_shfileops_action
(
FuncSwitch
),
level
,
OFl
);
return
0x403
;
/* 1027, we need an extension to shlfileop */
}
...
...
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