[op5-users] [PATCH] Bad structure length passed in ipc.c bind()/connect() calls?
Sean Millichamp
sean at bruenor.org
Thu Oct 29 16:54:57 CET 2009
My understanding of the bind() and connect() calls has always been that
the third parameter (addrlen) expects the size of the specific type of
sockaddr structure used.
Currently the value "slen" is passed, which is some value which ends up
being less than the full size of saun (the struct sockaddr_un
structure).
Attached is a patch to pass sizeof(saun) instead of slen.
Sean
-------------- next part --------------
A non-text attachment was scrubbed...
Name: merlin-ipc-connectbind.patch
Type: text/x-patch
Size: 690 bytes
Desc: not available
Url : http://lists.op5.com/pipermail/op5-users/attachments/20091029/740b2c5d/attachment.bin
More information about the op5-users
mailing list