mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-02-18 18:18:06 -05:00
Apply ITS#148 fix for "ud find seg fault", NULL in printf
This commit is contained in:
parent
6d27bf32d1
commit
b97c4c350d
1 changed files with 5 additions and 2 deletions
|
|
@ -225,9 +225,12 @@ do_commands( void )
|
|||
parse_answer(mp);
|
||||
print_an_entry();
|
||||
ldap_msgfree(mp);
|
||||
}
|
||||
else
|
||||
|
||||
} else if (cp != NULL) {
|
||||
printf(" Could not find \"%s\".\n", cp);
|
||||
} else {
|
||||
printf(" Could not complete find.\n");
|
||||
}
|
||||
}
|
||||
#ifdef UOFM
|
||||
else if (iscom("vedit") && isatty( 1 )) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue