]> git.sur5r.net Git - openldap/commitdiff
Fix missing error return (coverity)
authorHoward Chu <hyc@openldap.org>
Wed, 14 Jan 2015 10:37:13 +0000 (10:37 +0000)
committerQuanah Gibson-Mount <quanah@openldap.org>
Mon, 19 Jan 2015 19:45:43 +0000 (13:45 -0600)
servers/slapd/schema_check.c

index 9bfda275477c8ca820b9ca9764296fd1257a9198..c5d63673c46b06f3738eef86456caacced28bd72 100644 (file)
@@ -815,6 +815,7 @@ entry_naming_check(
                                "value of naming attribute '%s' in unsupported BER form",
                                ava->la_attr.bv_val );
                        rc = LDAP_NAMING_VIOLATION;
+                       break;
                }
 
                rc = slap_bv2ad( &ava->la_attr, &desc, &errtext );