[op5-users] [PATCH] Bad structure length passed in ipc.c bind()/connect() calls?

Russell Jennings russ at geekwhiz.com
Thu Oct 29 17:03:26 CET 2009


Sean,

I am glad to see merlin contributions. While I think merlin has the  
potential for awesomeness, I lack the technical aptitude to contribute  
to the code. (otherwise, i would have fixed performance data long ago)

Thank you for your contributions, I hope others like you end up  
contributing to this project as well. I do not usually get involved in  
open source projects, but merlin is just downright exciting (to me, at  
least).

Thanks,
Russell

On Oct 29, 2009, at 11:54 AM, Sean Millichamp wrote:

> 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
>
> <merlin-ipc- 
> connectbind.patch>_______________________________________________
> op5-users mailing list
> op5-users at lists.op5.com
> http://lists.op5.com/mailman/listinfo/op5-users



More information about the op5-users mailing list