[PATCH:libXdmcp 3/4] Ensure ARRAYofARRAY8 pointers are initialized to NULL
Alan Coopersmith
alan.coopersmith at oracle.com
Mon Sep 30 08:24:05 PDT 2013
On 09/30/13 07:07 AM, Mouse wrote:
>>> [...] Has X.org given up on portability to systems where all-bits-0
>>> is not a nil pointer? [...]
>> Yes. [...lots of other such cases...]
>
>> Do you know of any such systems X was ever ported to?
>
> No - not that I've gone looking, mind you. But that's hardly
> surprising; X making such assumptions makes the porting effort a lot
> higher in such cases.
Then hopefully the failure of test case I added in this patch (asserting that
the pointers == NULL) would help someone making such a port notice the problem
much more quickly than wondering why their server is failing because a random
structure containing a pointer was calloc'ed.
--
-Alan Coopersmith- alan.coopersmith at oracle.com
Oracle Solaris Engineering - http://blogs.oracle.com/alanc
More information about the xorg-devel
mailing list