[PATCH] rootless: fix uninitialized private key assert in non-rootless modes on cygwin

Keith Packard keithp at keithp.com
Mon Aug 9 21:33:08 PDT 2010


On Sat,  7 Aug 2010 14:32:26 +0100, Jon TURNEY <jon.turney at dronecode.org.uk> wrote:

> +    if (!rootlessWindowPrivateKeyRec.initialized)
> +        return FALSE;
> +

Please use the function 'dixPrivateKeyRegistered' instead of looking
inside the structure.

-- 
keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20100809/bb6a6875/attachment.pgp>


More information about the xorg-devel mailing list