[PATCH] s4-lib/socket: Allocate a the larger sockaddr_un and not just a sockaddr_in in unixdom_get_peer_addr()

Jeremy Allison jra at samba.org
Tue Jul 23 16:35:42 MDT 2013


On Wed, Jul 24, 2013 at 10:31:19AM +1200, Andrew Bartlett wrote:
> On Mon, 2013-07-22 at 21:22 -0700, Richard Sharpe wrote:
> > Hmmm,
> > 
> > Does anyone know what caused this? The failure seems to be in the
> > source4 code but my change was in source3.
> 
> This did need to be looked into.  
> 
> The attached patch should fix it.  Please review/push.

Great catch Andrew ! Well done !

Reviewed & pushed.

Jeremy.


More information about the samba-technical mailing list