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
f49cb52c
Commit
f49cb52c
authored
Nov 12, 1999
by
Huw D M Davies
Committed by
Alexandre Julliard
Nov 12, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix save_check_tainted to properly scan the tree so that all tainted
branches get saved.
parent
8eec66b2
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
10 deletions
+4
-10
registry.c
misc/registry.c
+4
-10
No files found.
misc/registry.c
View file @
f49cb52c
...
...
@@ -533,7 +533,7 @@ static void split_keypath( LPCWSTR wp, LPWSTR **wpv, int *wpc)
for
(
i
=
1
;
i
<
len
;
i
++
)
if
(
ws
[
i
-
1
]
==
0
)
{
(
*
wpv
)[
j
++
]
=
ws
+
i
;
/*
TRACE(reg, " Subitem %d = %s\n",j-1,debugstr_w((*wpv)[j-1]));
*/
/*
TRACE_(reg) (" Subitem %d = %s\n",j-1,debugstr_w((*wpv)[j-1]));
*/
}
(
*
wpv
)[
j
]
=
NULL
;
...
...
@@ -618,19 +618,13 @@ static void REGISTRY_Init(void) {
*/
static
int
_save_check_tainted
(
LPKEYSTRUCT
lpkey
)
{
int
tainted
;
int
tainted
=
0
;
if
(
!
lpkey
)
return
0
;
if
(
lpkey
->
flags
&
REG_OPTION_TAINTED
)
tainted
=
1
;
else
tainted
=
0
;
while
(
lpkey
)
{
if
(
_save_check_tainted
(
lpkey
->
nextsub
))
{
if
(
_save_check_tainted
(
lpkey
->
nextsub
))
lpkey
->
flags
|=
REG_OPTION_TAINTED
;
if
(
lpkey
->
flags
&
REG_OPTION_TAINTED
)
tainted
=
1
;
}
lpkey
=
lpkey
->
next
;
}
return
tainted
;
...
...
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