[Date Prev][Date Next]
Re: ud find seg fault (ITS#148)
Thanks! A quick fix has been committed to -devel. Will
be integrated into release engineering for 1.2.2.
At 03:55 PM 4/28/99 GMT, email@example.com wrote:
>Full_Name: Wesley Craig
>OS: Solaris 2.6
>Submission from: (NULL) (220.127.116.11)
>Reproduce on Solaris 2.6 with OpenLDAP 1.2.1:
>LDAP UserDirectory 1.2.1-Release (Wed Apr 21 13:15:23 EDT 1999)
> Enter a command. If you need help, type 'h' or '?' and hit RETURN.
> Locate whose entry?
>Segmentation Fault (core dumped)
>Fix is in clients/ud/main.c, line 230. printf refers to "cp" which points
>to second argument is there was one. When there's not, cp is NULL, causing
>printf's to core. My fix, check for NULL, give message "Could not complete
>A better error message would get what the user typed at the "Locate whose
>prompt. This is hard, since it's not local to do_command().