[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: ucdata files

At 04:29 PM 11/3/00 -0500, Mark Adamson wrote:
>Running the 2.0.7 code, the slapd daemon can core dump in the ucprop code
>in liblunicode if the ucdata config files are missing).  The _ucopenfile()
>function will quietly return a NULL if the file it is looking for is not
>present, by default, in the directory /usr/openldap/share/openldap/ucdata/
>The _ucprop_load() function will then quietly ignore the fact that the
>ctype.dat files was not loaded. This will leave _ucprop_offsets pointing
>to NULL. _ucprop_lookup() will not, however, quietly ignore that NULL
>pointer, it will core dump the server on its first line of code.
>If _ucprop_lookup() can be made to handle the offsets array being
>uninitialized, it should do so. If it cannot handle it, the _ucprop_load()
>function should gracefully shut down the server with a warning message if
>the config file is missing.
>Or am I missing something?  (besides the ctype.dat file)

No, I must have hosed the merge.  2.0.x shouldn't attempt to
load ucdata.  The bug, of course, needs to be fixed for 2.1.