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

Sean Millichamp sean at bruenor.org
Thu Oct 29 17:29:22 CET 2009


On Thu, 2009-10-29 at 17:18 +0100, Andreas Ericsson wrote:

> sockaddr_un is a bit special in that its full size is determined by
> the length of the path to the unix domain socket, plus the size of
> all the common sockaddr_* members.

> The current code works correctly as-is, so I'll drop this patch.
> Thanks anyway though.

Ah, that makes sense.  Thanks for the explanation.  I've just been
working on some other bug hunting and one fix I applied results in an
segfault in an apparently unrelated area of code.  Action-at-a-distance
C bugs are often memory/bounds related so I was just looking for
anything that looks out of place from that standpoint.

Thanks,
Sean




More information about the op5-users mailing list