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

Re: (ITS#6918) #include statement unsafe



quanah@zimbra.com wrote:
> Full_Name: Quanah Gibson-Mount
> Version: 2.4.23
> OS: Linux 2.6
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (75.111.45.108)
>
>
> An include statement in slapd.conf with no following text will overwrite
> slapd.exe as a zero sized binary when it occurs on a windows box.

Don't do that.

> line 8 (include)
> slapd.conf: line 8: keyword<include>  missing<file>  argument
> slapd destroy: freeing system resources.
> slapd stopped.
> connections_destroy: nothing to destroy.
>
>
>
> After this  windows does not recognize slapd.exe as a normal windows app..
> It has become 0 size

Nothing in the OpenLDAP code issues a truncate operation of any sort. Nor 
would it, in the midst of a config statement that was rejected. If you're 
seeing odd behavior here, it's either a C library bug or a Windows OS bug. 
Closing this ITS.

-- 
   -- Howard Chu
   CTO, Symas Corp.           http://www.symas.com
   Director, Highland Sun     http://highlandsun.com/hyc/
   Chief Architect, OpenLDAP  http://www.openldap.org/project/