Re: [PATCH] Fix crash when retrieving large networks entries
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
Re: [PATCH] Fix crash when retrieving large networks entries
- From: Arthur de Jong <arthur [at] arthurdejong.org>
- To: nss-pam-ldapd-users [at] lists.arthurdejong.org
- Subject: Re: [PATCH] Fix crash when retrieving large networks entries
- Date: Sun, 02 Mar 2014 22:48:55 +0100
On Fri, 2014-02-28 at 20:02 +0100, Lukas Slebodnik wrote:
> To reproduce the crash in the "networks" code path, you will need to
> add new entry "dn: cn=bignet,cn=networks,$SUFFIX" with many(100) cn
> attributes to ldap server and run "getent -s ldap networks".
>
> Crash is reproducible also with 0.8 branch, but attached patches
> cannot be aplied on older branch due to different formatting of
> macros, but I can send version for 0.8 branch as well.
Thanks for reporting and fixing this. The bug was introduced in r548
(Git commit afd5d9b) an has been present since release 0.6.
Your patch has been merged and also fixes in the 0.8 and 0.7 branches.
I'll have a look at your second patch to change h_errnop return value
but I'll have to see if this has portability consequences (these APIs
aren't very well documented).
Thanks again!
--
-- 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/