libXdmcp: Changes to 'master'

Alan Coopersmith alanc at kemper.freedesktop.org
Sat Oct 5 21:34:58 PDT 2013


 .gitignore       |    1 
 Array.c          |   79 +++++++++++++++++++++++++----------------------
 Makefile.am      |    2 -
 configure.ac     |   10 ++++-
 test/Array.c     |   92 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
 test/Makefile.am |   13 +++++++
 6 files changed, 156 insertions(+), 41 deletions(-)

New commits:
commit 089081dca4ba3598c6f9bf401c029378943b5854
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Sat May 25 10:18:33 2013 -0700

    Also reject requests to allocate negative sized amounts of memory
    
    Since the API is defined with size as a signed int, deal with it.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>

commit 2da1bcb656febdab9345f1fec31c974fd7b409bc
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Fri May 24 23:19:23 2013 -0700

    Ensure ARRAYofARRAY8 pointers are initialized to NULL
    
    Use calloc for the array of pointers to ensure pointers are cleared out
    so we don't try to free garbage if XdmcpDisposeARRAYofARRAY8 is called
    before the caller sets them to valid pointers.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>

commit 787c4c79be18373f58aeaf2fe543f30fe3af2bd1
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Fri May 24 22:58:41 2013 -0700

    Ensure ARRAY* structs are zero'ed out when oversize values are passed
    
    Previous fix missed a case in which we returned failure, but didn't
    fill in the data pointer & size values.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>

commit 9089ae455f9df222aa85bbbcb4526874c0d97099
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Fri May 24 22:24:55 2013 -0700

    Add unit tests for Array allocation functions
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>



More information about the xorg-commit mailing list