lists.arthurdejong.org
RSS feed

Re: [PATCH] warnings cleanup: comparison of static array to null pointer

[Date Prev][Date Next] [Thread Prev][Thread Next]

Re: [PATCH] warnings cleanup: comparison of static array to null pointer



On Wed, 2015-03-11 at 10:59 -0700, Patrick McLean wrote:
> There are several places where a static length array in a struct is
> compared to a null pointer. These comparisons will always be false,
> since an array in a struct is not actually a pointer, so they can be
> removed.

Thanks for the patch. I think the comparisons came from when the code
used cfg->binddb and cfg->bindpw.

I'll look into the string formatting issue later. There are a few fixes
in Git that are not in the latest release.

Thanks,

-- 
-- arthur - arthur@arthurdejong.org - http://arthurdejong.org/ --
-- 
To unsubscribe send an email to
nss-pam-ldapd-users-unsubscribe@lists.arthurdejong.org or see
http://lists.arthurdejong.org/nss-pam-ldapd-users/