Skip to content
Snippets Groups Projects
Commit 12b09f77 authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

Import textbuf buf fix

parent 0b9c818a
No related branches found
No related tags found
No related merge requests found
......@@ -130,6 +130,12 @@ ldbm_back_exop_passwd(
rc = ldbm_modify_internal( be,
conn, op, op->o_ndn, &ml, e, text, textbuf, textlen );
/* FIXME: ldbm_modify_internal may set *tex = textbuf,
* which is BAD */
if ( *text == textbuf ) {
*text = NULL;
}
if( rc ) {
/* cannot return textbuf */
*text = "entry modify failed";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment