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

Stefan (metze) Metzmacher metze at samba.org
Wed Jul 24 02:55:23 MDT 2013


Am 24.07.2013 08:47, schrieb Andreas Schneider:
> On Wednesday 24 July 2013 10:31:19 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! Can you please open a bug and backport it?

Thanks Andrew, I was looking at that for a few weeks now
and couldn't find the reason...

https://bugzilla.samba.org/show_bug.cgi?id=10042

And here's an additional fix that's needed.

metze
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tmp.diff
Type: text/x-diff
Size: 1510 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20130724/357c3919/attachment.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 261 bytes
Desc: OpenPGP digital signature
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20130724/357c3919/attachment.pgp>


More information about the samba-technical mailing list