[Date Prev][Date Next]
Re: (ITS#4908) bug ldapsearch.c
> The bug is still present. It is a consequence of naively assuming that
> argv is NULL terminated, which is not required to be, AFAIK.
Yes it is. The C standard's "Program Startup" section requires
argv[argc] == NULL. Though I suppose some systems may break it. And
the standard does allow argc == 0 (and thus argv == NULL), maybe some
OpenLDAP code mishandles that.