-/* $OpenBSD: validate.c,v 1.12 2019/10/24 12:39:26 tb Exp $ */
+/* $OpenBSD: validate.c,v 1.13 2021/12/20 13:18:29 claudio Exp $ */
/*
* Copyright (c) 2010 Martin Hedenfalk <martin@bzero.se>
objclass = objclass->be_next; /* skip attribute description */
for (a = objclass->be_sub; a != NULL; a = a->be_next) {
if (ober_get_string(a, &s) != 0) {
+ log_debug("invalid ObjectClass encoding");
rc = LDAP_INVALID_SYNTAX;
goto done;
}
*/
for (a = entry->be_sub; a != NULL; a = a->be_next) {
if (ober_scanf_elements(a, "{se{", &s, &vals) != 0) {
+ log_debug("invalid attribute encoding");
rc = LDAP_INVALID_SYNTAX;
goto done;
}