[Date Prev][Date Next]
Re: Race condition in ldif2ldbm (ITS#140)
> I think this would do the same job:
> diff -r1.25 ldif2ldbm.c
> > int cmdkids = 1;
> < maxkids = atoi( optarg );
> > cmdkids = atoi( optarg );
> > maxkids = cmdkids;
(Sorry for taking so long to reply to this: I've been looking at other
The above doesn't work. In fact, it makes absolutely no difference to
the operation of ldif2ldbm. Think about what happens: id2entry gets
then cmdkids gets written with the same value it would have on startup,
so ldif2ldbm carries on exactly as before.
Please back out the above 'fix' from the development branch, because it
wasn't tested, and doesn't work.