mirror of
https://github.com/samba-team/samba.git
synced 2024-12-25 23:21:54 +03:00
registry: use normalize_reg_path() in regdb_fetch_keys()
instead of handcrafting normalization.
Michael
(This used to be commit 1e4d2310d0
)
This commit is contained in:
parent
caba2d3a64
commit
dba75c0831
@ -739,11 +739,10 @@ int regdb_fetch_keys(const char *key, REGSUBKEY_CTR *ctr)
|
||||
}
|
||||
|
||||
/* convert to key format */
|
||||
path = talloc_string_sub(frame, path, "\\", "/");
|
||||
path = normalize_reg_path(frame, path);
|
||||
if (!path) {
|
||||
goto fail;
|
||||
}
|
||||
strupper_m(path);
|
||||
|
||||
ctr->seqnum = regdb_get_seqnum();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user