diff options
author | Endi S. Dewata <edewata@redhat.com> | 2010-07-06 19:18:19 -0500 |
---|---|---|
committer | Noriko Hosoi <nhosoi@redhat.com> | 2010-08-23 11:07:31 -0700 |
commit | 9020d0a1ba5766ae40d0aefe8b4b46e0e6903ee6 (patch) | |
tree | fd5664e81d2f2c375a36d1d588ac6a176612b077 /include | |
parent | 2ff2c9da762d67628cf25a1ceda3b1dbb9218776 (diff) | |
download | ds-9020d0a1ba5766ae40d0aefe8b4b46e0e6903ee6.tar.gz ds-9020d0a1ba5766ae40d0aefe8b4b46e0e6903ee6.tar.xz ds-9020d0a1ba5766ae40d0aefe8b4b46e0e6903ee6.zip |
Bug 610119 - fix coverify Defect Type: Null pointer dereferences issues 12167 - 12199
https://bugzilla.redhat.com/show_bug.cgi?id=610119
Resolves: bug 610119
Bug description: Fix coverify Defect Type: Null pointer dereferences issues 12167 - 12199
Fix description: Catch possible NULL pointer in LASDnsBuild().
Diffstat (limited to 'include')
-rw-r--r-- | include/libaccess/aclerror.h | 1 | ||||
-rw-r--r-- | include/libaccess/dbtlibaccess.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/include/libaccess/aclerror.h b/include/libaccess/aclerror.h index add1d000..b8214b37 100644 --- a/include/libaccess/aclerror.h +++ b/include/libaccess/aclerror.h @@ -237,6 +237,7 @@ NSPR_END_EXTERN_C #define ACLERR4740 4740 /* Cannot add token to hash */ #define ACLERR4750 4750 /* Cannot add token to hash */ #define ACLERR4760 4760 /* Cannot add token to hash */ +#define ACLERR4770 4770 /* Invalid attribute pattern */ /* LASDnsEval */ #define ACLERR4800 4800 /* Wrong attribute name */ diff --git a/include/libaccess/dbtlibaccess.h b/include/libaccess/dbtlibaccess.h index 1bc39824..1d78a9bd 100644 --- a/include/libaccess/dbtlibaccess.h +++ b/include/libaccess/dbtlibaccess.h @@ -195,4 +195,5 @@ BEGIN_STR(libaccess) ResDef( DBT_AclUserExistsOutOfMemory, 144, "acl_user_exists: out of memory") ResDef( DBT_AclUserExistsNot, 145, "acl_user_exists: user doesn't exist anymore") ResDef( DBT_AclUserPlistError, 146, "acl_user_exists: plist error") + ResDef( DBT_lasdnsbuildInvalidAttributePattern_, 147, "LASDnsBuild invalid attribute pattern\n" ) END_STR(libaccess) |