Peter Harris <[email protected]> writes:

>     _dixInitPrivates(devPrivates, privates, type);
>
> which in turn calls
>
>     memset(addr, '\0', global_keys[type].offset);

Thanks, I missed that. 

> I could easily be convinced that client structures are re-used; I
> haven't checked that path.

I don't think so; AllocNewConnection always calls NextAvailableClient
which always calls dixAllocateObjectWithPrivates. Now I'm mystified as
to how I saw this structure filled with garbage. Even if it were the
server client, which needs fixups during initialization, those paths all
make sure any private space is zeroed.

I think I should have written down what caused a crash that this patch
fixed...

-- 
-keith

Attachment: signature.asc
Description: PGP signature

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: https://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to