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

Re: (ITS#4503) lutil_atou*() functions misuse strtoul() API

ando@sys-net.it writes:
> This has now been fixed in HEAD; I need to check if other occurrences
> of direct calls to strtoul() need to be fixed in the code.

Take care not to break things like 'slapd -d -1'.

And you may need to also check that you don't reject output from
code which does sprintf(%ld, <unsigned long>).  If I remember correctly,
OpenLDAP isn't too consistent about signedness vs. formats.