diff options
Diffstat (limited to 'source3/registry')
-rw-r--r-- | source3/registry/reg_backend_db.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/source3/registry/reg_backend_db.c b/source3/registry/reg_backend_db.c index 0c906189bc..bfb09f33d5 100644 --- a/source3/registry/reg_backend_db.c +++ b/source3/registry/reg_backend_db.c @@ -1740,7 +1740,12 @@ static WERROR regdb_get_secdesc(TALLOC_CTX *mem_ctx, const char *key, err = WERR_NOMEM; goto done; } - normalize_dbkey(tdbkey); + + tdbkey = normalize_reg_path(tmp_ctx, tdbkey); + if (tdbkey == NULL) { + err = WERR_NOMEM; + goto done; + } data = dbwrap_fetch_bystring(regdb, tmp_ctx, tdbkey); if (data.dptr == NULL) { |