If nSubKeys is not defined, just return. Fix from Tim Tretyak <timothy@umc.com.ua>

This commit is contained in:
Martin Blapp 2002-03-11 09:17:12 +00:00
parent 9a6a862e48
commit cb4a584073
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=55848
40 changed files with 480 additions and 0 deletions

View File

@ -0,0 +1,12 @@
--- ../registry/source/regkey.cxx.orig Mon Mar 11 01:27:56 2002
+++ ../registry/source/regkey.cxx Mon Mar 11 01:28:51 2002
@@ -228,6 +228,9 @@
{
RegError _ret = REG_NO_ERROR;
+ if (!nSubKeys)
+ return REG_NO_ERROR;
+
if (phSubKeys)
{
ORegistry* pReg = NULL;

View File

@ -0,0 +1,12 @@
--- ../registry/source/regkey.cxx.orig Mon Mar 11 01:27:56 2002
+++ ../registry/source/regkey.cxx Mon Mar 11 01:28:51 2002
@@ -228,6 +228,9 @@
{
RegError _ret = REG_NO_ERROR;
+ if (!nSubKeys)
+ return REG_NO_ERROR;
+
if (phSubKeys)
{
ORegistry* pReg = NULL;

View File

@ -0,0 +1,12 @@
--- ../registry/source/regkey.cxx.orig Mon Mar 11 01:27:56 2002
+++ ../registry/source/regkey.cxx Mon Mar 11 01:28:51 2002
@@ -228,6 +228,9 @@
{
RegError _ret = REG_NO_ERROR;
+ if (!nSubKeys)
+ return REG_NO_ERROR;
+
if (phSubKeys)
{
ORegistry* pReg = NULL;

View File

@ -0,0 +1,12 @@
--- ../registry/source/regkey.cxx.orig Mon Mar 11 01:27:56 2002
+++ ../registry/source/regkey.cxx Mon Mar 11 01:28:51 2002
@@ -228,6 +228,9 @@
{
RegError _ret = REG_NO_ERROR;
+ if (!nSubKeys)
+ return REG_NO_ERROR;
+
if (phSubKeys)
{
ORegistry* pReg = NULL;

View File

@ -0,0 +1,12 @@
--- ../registry/source/regkey.cxx.orig Mon Mar 11 01:27:56 2002
+++ ../registry/source/regkey.cxx Mon Mar 11 01:28:51 2002
@@ -228,6 +228,9 @@
{
RegError _ret = REG_NO_ERROR;
+ if (!nSubKeys)
+ return REG_NO_ERROR;
+
if (phSubKeys)
{
ORegistry* pReg = NULL;

View File

@ -0,0 +1,12 @@
--- ../registry/source/regkey.cxx.orig Mon Mar 11 01:27:56 2002
+++ ../registry/source/regkey.cxx Mon Mar 11 01:28:51 2002
@@ -228,6 +228,9 @@
{
RegError _ret = REG_NO_ERROR;
+ if (!nSubKeys)
+ return REG_NO_ERROR;
+
if (phSubKeys)
{
ORegistry* pReg = NULL;

View File

@ -0,0 +1,12 @@
--- ../registry/source/regkey.cxx.orig Mon Mar 11 01:27:56 2002
+++ ../registry/source/regkey.cxx Mon Mar 11 01:28:51 2002
@@ -228,6 +228,9 @@
{
RegError _ret = REG_NO_ERROR;
+ if (!nSubKeys)
+ return REG_NO_ERROR;
+
if (phSubKeys)
{
ORegistry* pReg = NULL;

View File

@ -0,0 +1,12 @@
--- ../registry/source/regkey.cxx.orig Mon Mar 11 01:27:56 2002
+++ ../registry/source/regkey.cxx Mon Mar 11 01:28:51 2002
@@ -228,6 +228,9 @@
{
RegError _ret = REG_NO_ERROR;
+ if (!nSubKeys)
+ return REG_NO_ERROR;
+
if (phSubKeys)
{
ORegistry* pReg = NULL;

View File

@ -0,0 +1,12 @@
--- ../registry/source/regkey.cxx.orig Mon Mar 11 01:27:56 2002
+++ ../registry/source/regkey.cxx Mon Mar 11 01:28:51 2002
@@ -228,6 +228,9 @@
{
RegError _ret = REG_NO_ERROR;
+ if (!nSubKeys)
+ return REG_NO_ERROR;
+
if (phSubKeys)
{
ORegistry* pReg = NULL;

View File

@ -0,0 +1,12 @@
--- ../registry/source/regkey.cxx.orig Mon Mar 11 01:27:56 2002
+++ ../registry/source/regkey.cxx Mon Mar 11 01:28:51 2002
@@ -228,6 +228,9 @@
{
RegError _ret = REG_NO_ERROR;
+ if (!nSubKeys)
+ return REG_NO_ERROR;
+
if (phSubKeys)
{
ORegistry* pReg = NULL;

View File

@ -0,0 +1,12 @@
--- ../registry/source/regkey.cxx.orig Mon Mar 11 01:27:56 2002
+++ ../registry/source/regkey.cxx Mon Mar 11 01:28:51 2002
@@ -228,6 +228,9 @@
{
RegError _ret = REG_NO_ERROR;
+ if (!nSubKeys)
+ return REG_NO_ERROR;
+
if (phSubKeys)
{
ORegistry* pReg = NULL;

View File

@ -0,0 +1,12 @@
--- ../registry/source/regkey.cxx.orig Mon Mar 11 01:27:56 2002
+++ ../registry/source/regkey.cxx Mon Mar 11 01:28:51 2002
@@ -228,6 +228,9 @@
{
RegError _ret = REG_NO_ERROR;
+ if (!nSubKeys)
+ return REG_NO_ERROR;
+
if (phSubKeys)
{
ORegistry* pReg = NULL;

View File

@ -0,0 +1,12 @@
--- ../registry/source/regkey.cxx.orig Mon Mar 11 01:27:56 2002
+++ ../registry/source/regkey.cxx Mon Mar 11 01:28:51 2002
@@ -228,6 +228,9 @@
{
RegError _ret = REG_NO_ERROR;
+ if (!nSubKeys)
+ return REG_NO_ERROR;
+
if (phSubKeys)
{
ORegistry* pReg = NULL;

View File

@ -0,0 +1,12 @@
--- ../registry/source/regkey.cxx.orig Mon Mar 11 01:27:56 2002
+++ ../registry/source/regkey.cxx Mon Mar 11 01:28:51 2002
@@ -228,6 +228,9 @@
{
RegError _ret = REG_NO_ERROR;
+ if (!nSubKeys)
+ return REG_NO_ERROR;
+
if (phSubKeys)
{
ORegistry* pReg = NULL;

View File

@ -0,0 +1,12 @@
--- ../registry/source/regkey.cxx.orig Mon Mar 11 01:27:56 2002
+++ ../registry/source/regkey.cxx Mon Mar 11 01:28:51 2002
@@ -228,6 +228,9 @@
{
RegError _ret = REG_NO_ERROR;
+ if (!nSubKeys)
+ return REG_NO_ERROR;
+
if (phSubKeys)
{
ORegistry* pReg = NULL;

View File

@ -0,0 +1,12 @@
--- ../registry/source/regkey.cxx.orig Mon Mar 11 01:27:56 2002
+++ ../registry/source/regkey.cxx Mon Mar 11 01:28:51 2002
@@ -228,6 +228,9 @@
{
RegError _ret = REG_NO_ERROR;
+ if (!nSubKeys)
+ return REG_NO_ERROR;
+
if (phSubKeys)
{
ORegistry* pReg = NULL;

View File

@ -0,0 +1,12 @@
--- ../registry/source/regkey.cxx.orig Mon Mar 11 01:27:56 2002
+++ ../registry/source/regkey.cxx Mon Mar 11 01:28:51 2002
@@ -228,6 +228,9 @@
{
RegError _ret = REG_NO_ERROR;
+ if (!nSubKeys)
+ return REG_NO_ERROR;
+
if (phSubKeys)
{
ORegistry* pReg = NULL;

View File

@ -0,0 +1,12 @@
--- ../registry/source/regkey.cxx.orig Mon Mar 11 01:27:56 2002
+++ ../registry/source/regkey.cxx Mon Mar 11 01:28:51 2002
@@ -228,6 +228,9 @@
{
RegError _ret = REG_NO_ERROR;
+ if (!nSubKeys)
+ return REG_NO_ERROR;
+
if (phSubKeys)
{
ORegistry* pReg = NULL;

View File

@ -0,0 +1,12 @@
--- ../registry/source/regkey.cxx.orig Mon Mar 11 01:27:56 2002
+++ ../registry/source/regkey.cxx Mon Mar 11 01:28:51 2002
@@ -228,6 +228,9 @@
{
RegError _ret = REG_NO_ERROR;
+ if (!nSubKeys)
+ return REG_NO_ERROR;
+
if (phSubKeys)
{
ORegistry* pReg = NULL;

View File

@ -0,0 +1,12 @@
--- ../registry/source/regkey.cxx.orig Mon Mar 11 01:27:56 2002
+++ ../registry/source/regkey.cxx Mon Mar 11 01:28:51 2002
@@ -228,6 +228,9 @@
{
RegError _ret = REG_NO_ERROR;
+ if (!nSubKeys)
+ return REG_NO_ERROR;
+
if (phSubKeys)
{
ORegistry* pReg = NULL;

View File

@ -0,0 +1,12 @@
--- ../registry/source/regkey.cxx.orig Mon Mar 11 01:27:56 2002
+++ ../registry/source/regkey.cxx Mon Mar 11 01:28:51 2002
@@ -228,6 +228,9 @@
{
RegError _ret = REG_NO_ERROR;
+ if (!nSubKeys)
+ return REG_NO_ERROR;
+
if (phSubKeys)
{
ORegistry* pReg = NULL;

View File

@ -0,0 +1,12 @@
--- ../registry/source/regkey.cxx.orig Mon Mar 11 01:27:56 2002
+++ ../registry/source/regkey.cxx Mon Mar 11 01:28:51 2002
@@ -228,6 +228,9 @@
{
RegError _ret = REG_NO_ERROR;
+ if (!nSubKeys)
+ return REG_NO_ERROR;
+
if (phSubKeys)
{
ORegistry* pReg = NULL;

View File

@ -0,0 +1,12 @@
--- ../registry/source/regkey.cxx.orig Mon Mar 11 01:27:56 2002
+++ ../registry/source/regkey.cxx Mon Mar 11 01:28:51 2002
@@ -228,6 +228,9 @@
{
RegError _ret = REG_NO_ERROR;
+ if (!nSubKeys)
+ return REG_NO_ERROR;
+
if (phSubKeys)
{
ORegistry* pReg = NULL;

View File

@ -0,0 +1,12 @@
--- ../registry/source/regkey.cxx.orig Mon Mar 11 01:27:56 2002
+++ ../registry/source/regkey.cxx Mon Mar 11 01:28:51 2002
@@ -228,6 +228,9 @@
{
RegError _ret = REG_NO_ERROR;
+ if (!nSubKeys)
+ return REG_NO_ERROR;
+
if (phSubKeys)
{
ORegistry* pReg = NULL;

View File

@ -0,0 +1,12 @@
--- ../registry/source/regkey.cxx.orig Mon Mar 11 01:27:56 2002
+++ ../registry/source/regkey.cxx Mon Mar 11 01:28:51 2002
@@ -228,6 +228,9 @@
{
RegError _ret = REG_NO_ERROR;
+ if (!nSubKeys)
+ return REG_NO_ERROR;
+
if (phSubKeys)
{
ORegistry* pReg = NULL;

View File

@ -0,0 +1,12 @@
--- ../registry/source/regkey.cxx.orig Mon Mar 11 01:27:56 2002
+++ ../registry/source/regkey.cxx Mon Mar 11 01:28:51 2002
@@ -228,6 +228,9 @@
{
RegError _ret = REG_NO_ERROR;
+ if (!nSubKeys)
+ return REG_NO_ERROR;
+
if (phSubKeys)
{
ORegistry* pReg = NULL;

View File

@ -0,0 +1,12 @@
--- ../registry/source/regkey.cxx.orig Mon Mar 11 01:27:56 2002
+++ ../registry/source/regkey.cxx Mon Mar 11 01:28:51 2002
@@ -228,6 +228,9 @@
{
RegError _ret = REG_NO_ERROR;
+ if (!nSubKeys)
+ return REG_NO_ERROR;
+
if (phSubKeys)
{
ORegistry* pReg = NULL;

View File

@ -0,0 +1,12 @@
--- ../registry/source/regkey.cxx.orig Mon Mar 11 01:27:56 2002
+++ ../registry/source/regkey.cxx Mon Mar 11 01:28:51 2002
@@ -228,6 +228,9 @@
{
RegError _ret = REG_NO_ERROR;
+ if (!nSubKeys)
+ return REG_NO_ERROR;
+
if (phSubKeys)
{
ORegistry* pReg = NULL;

View File

@ -0,0 +1,12 @@
--- ../registry/source/regkey.cxx.orig Mon Mar 11 01:27:56 2002
+++ ../registry/source/regkey.cxx Mon Mar 11 01:28:51 2002
@@ -228,6 +228,9 @@
{
RegError _ret = REG_NO_ERROR;
+ if (!nSubKeys)
+ return REG_NO_ERROR;
+
if (phSubKeys)
{
ORegistry* pReg = NULL;

View File

@ -0,0 +1,12 @@
--- ../registry/source/regkey.cxx.orig Mon Mar 11 01:27:56 2002
+++ ../registry/source/regkey.cxx Mon Mar 11 01:28:51 2002
@@ -228,6 +228,9 @@
{
RegError _ret = REG_NO_ERROR;
+ if (!nSubKeys)
+ return REG_NO_ERROR;
+
if (phSubKeys)
{
ORegistry* pReg = NULL;

View File

@ -0,0 +1,12 @@
--- ../registry/source/regkey.cxx.orig Mon Mar 11 01:27:56 2002
+++ ../registry/source/regkey.cxx Mon Mar 11 01:28:51 2002
@@ -228,6 +228,9 @@
{
RegError _ret = REG_NO_ERROR;
+ if (!nSubKeys)
+ return REG_NO_ERROR;
+
if (phSubKeys)
{
ORegistry* pReg = NULL;

View File

@ -0,0 +1,12 @@
--- ../registry/source/regkey.cxx.orig Mon Mar 11 01:27:56 2002
+++ ../registry/source/regkey.cxx Mon Mar 11 01:28:51 2002
@@ -228,6 +228,9 @@
{
RegError _ret = REG_NO_ERROR;
+ if (!nSubKeys)
+ return REG_NO_ERROR;
+
if (phSubKeys)
{
ORegistry* pReg = NULL;

View File

@ -0,0 +1,12 @@
--- ../registry/source/regkey.cxx.orig Mon Mar 11 01:27:56 2002
+++ ../registry/source/regkey.cxx Mon Mar 11 01:28:51 2002
@@ -228,6 +228,9 @@
{
RegError _ret = REG_NO_ERROR;
+ if (!nSubKeys)
+ return REG_NO_ERROR;
+
if (phSubKeys)
{
ORegistry* pReg = NULL;

View File

@ -0,0 +1,12 @@
--- ../registry/source/regkey.cxx.orig Mon Mar 11 01:27:56 2002
+++ ../registry/source/regkey.cxx Mon Mar 11 01:28:51 2002
@@ -228,6 +228,9 @@
{
RegError _ret = REG_NO_ERROR;
+ if (!nSubKeys)
+ return REG_NO_ERROR;
+
if (phSubKeys)
{
ORegistry* pReg = NULL;

View File

@ -0,0 +1,12 @@
--- ../registry/source/regkey.cxx.orig Mon Mar 11 01:27:56 2002
+++ ../registry/source/regkey.cxx Mon Mar 11 01:28:51 2002
@@ -228,6 +228,9 @@
{
RegError _ret = REG_NO_ERROR;
+ if (!nSubKeys)
+ return REG_NO_ERROR;
+
if (phSubKeys)
{
ORegistry* pReg = NULL;

View File

@ -0,0 +1,12 @@
--- ../registry/source/regkey.cxx.orig Mon Mar 11 01:27:56 2002
+++ ../registry/source/regkey.cxx Mon Mar 11 01:28:51 2002
@@ -228,6 +228,9 @@
{
RegError _ret = REG_NO_ERROR;
+ if (!nSubKeys)
+ return REG_NO_ERROR;
+
if (phSubKeys)
{
ORegistry* pReg = NULL;

View File

@ -0,0 +1,12 @@
--- ../registry/source/regkey.cxx.orig Mon Mar 11 01:27:56 2002
+++ ../registry/source/regkey.cxx Mon Mar 11 01:28:51 2002
@@ -228,6 +228,9 @@
{
RegError _ret = REG_NO_ERROR;
+ if (!nSubKeys)
+ return REG_NO_ERROR;
+
if (phSubKeys)
{
ORegistry* pReg = NULL;

View File

@ -0,0 +1,12 @@
--- ../registry/source/regkey.cxx.orig Mon Mar 11 01:27:56 2002
+++ ../registry/source/regkey.cxx Mon Mar 11 01:28:51 2002
@@ -228,6 +228,9 @@
{
RegError _ret = REG_NO_ERROR;
+ if (!nSubKeys)
+ return REG_NO_ERROR;
+
if (phSubKeys)
{
ORegistry* pReg = NULL;

View File

@ -0,0 +1,12 @@
--- ../registry/source/regkey.cxx.orig Mon Mar 11 01:27:56 2002
+++ ../registry/source/regkey.cxx Mon Mar 11 01:28:51 2002
@@ -228,6 +228,9 @@
{
RegError _ret = REG_NO_ERROR;
+ if (!nSubKeys)
+ return REG_NO_ERROR;
+
if (phSubKeys)
{
ORegistry* pReg = NULL;

View File

@ -0,0 +1,12 @@
--- ../registry/source/regkey.cxx.orig Mon Mar 11 01:27:56 2002
+++ ../registry/source/regkey.cxx Mon Mar 11 01:28:51 2002
@@ -228,6 +228,9 @@
{
RegError _ret = REG_NO_ERROR;
+ if (!nSubKeys)
+ return REG_NO_ERROR;
+
if (phSubKeys)
{
ORegistry* pReg = NULL;