[SSSD] [PATCH] Two sssd_nss patches

Stephen Gallagher sgallagh at redhat.com
Tue May 15 12:24:35 UTC 2012


On Mon, 2012-05-14 at 15:48 -0400, Stephen Gallagher wrote:
> On Mon, 2012-05-14 at 16:05 +0200, Jakub Hrozek wrote:
> > I found two sssd_nss bugs pretty much by accident.
> > 
> > [PATCH 1/2] NSS: keep a pointer to body after body is reallocated
> > When a memory is reallocated with talloc_realloc, the original pointer
> > might be relocated elsewhere. The "fullname" pointer used to point to
> > the original location before realloc which led to use-after-free issues.
> > 
> > [PATCH 2/2] Use sized_string correctly in FQDN domains
> > We were using the structure itself instead of the string pointer, which
> > led to crashes when the domain was fully qualified.
> 
> Ack to both.

Pushed to master.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20120515/e63915ef/attachment.sig>


More information about the sssd-devel mailing list