Re: ldapd: avoid passing NULL to asprintf(3) when there's no parent dn entry

2018-06-25 Thread Gleydson Soares
On Mon, Jun 25, 2018 at 12:27:23PM +0200, Jeremie Courreges-Anglas wrote: > On Mon, Jun 25 2018, Gleydson Soares wrote: > > avoid passing NULL to asprintf(3) when there's no parent dn entry, > > this happens when adding a new naming context and then putting the first > > rdn in. > > > > Jun 24

Re: ldapd: avoid passing NULL to asprintf(3) when there's no parent dn entry

2018-06-25 Thread Jeremie Courreges-Anglas
On Mon, Jun 25 2018, Gleydson Soares wrote: > avoid passing NULL to asprintf(3) when there's no parent dn entry, > this happens when adding a new naming context and then putting the first > rdn in. > > Jun 24 23:51:23 x250 ldapd: vfprintf %s NULL in "@%.*s,%.*s" > Jun 25 00:13:14 x250 ldapd:

ldapd: avoid passing NULL to asprintf(3) when there's no parent dn entry

2018-06-24 Thread Gleydson Soares
avoid passing NULL to asprintf(3) when there's no parent dn entry, this happens when adding a new naming context and then putting the first rdn in. Jun 24 23:51:23 x250 ldapd: vfprintf %s NULL in "@%.*s,%.*s" Jun 25 00:13:14 x250 ldapd: vfprintf %s NULL in "@%.*s,%.*s" ? ldapd.diff Index: