Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Joe Martin
OpenLDAP
Commits
4b057bc0
Commit
4b057bc0
authored
Jun 24, 2011
by
Howard Chu
Browse files
ITS#6978 bail out on invalid LDIF
parent
7cac5906
Changes
2
Hide whitespace changes
Inline
Side-by-side
CHANGES
View file @
4b057bc0
...
...
@@ -11,6 +11,7 @@ OpenLDAP 2.4.26 Engineering
Fixed libldap ASYNC TLS setup (ITS#6828)
Fixed libldap with missing \n terminations (ITS#6947)
Fixed tools double free (ITS#6946)
Fixed ldapmodify SEGV on invalid LDIF (ITS#6978)
Added slapd extra_attrs database option (ITS#6513)
Fixed slapd asserts (ITS#6932)
Fixed slapd configfile param on windows (ITS#6933)
...
...
clients/tools/ldapmodify.c
View file @
4b057bc0
...
...
@@ -449,7 +449,7 @@ process_ldif_rec( char *rbuf, int linenum )
fprintf
(
stderr
,
_
(
"%s: invalid format (line %d) entry:
\"
%s
\"\n
"
),
prog
,
linenum
+
i
,
dn
==
NULL
?
""
:
dn
);
rc
=
LDAP_PARAM_ERROR
;
break
;
goto
leave
;
}
freeval
[
i
]
=
freev
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment