]> granicus.if.org Git - sudo/commit
Stash pointer to user group vector in LDAP handle and only reuse
authorTodd C. Miller <Todd.Miller@courtesan.com>
Thu, 20 Jan 2011 21:13:09 +0000 (16:13 -0500)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Thu, 20 Jan 2011 21:13:09 +0000 (16:13 -0500)
commit09240e3a607af830f4d2be15a9674d0ce0c87b5f
tree86fa3bc0b5379f16bcc2bcb6b5617b5758e5e976
parentc9e3bc10788e88687a1006a87d04f445b4d4b766
Stash pointer to user group vector in LDAP handle and only reuse
the query if it has not changed.  We always allocate a new buffer
when we reset the group vector so a simple pointer check is sufficient.

--HG--
branch : 1.7
ldap.c