libXRes: Changes to 'master'

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Wed Mar 31 04:12:26 UTC 2021


 include/X11/extensions/XRes.h |    1 +
 src/XRes.c                    |    1 +
 2 files changed, 2 insertions(+)

New commits:
commit 53581bba3ee20671e6e5ab7c743bfbf6ffbe6974
Author: Keith Packard <keithp at keithp.com>
Date:   Tue Mar 30 21:05:48 2021 -0700

    Note ABI of XResQueryClientIds
    
    XResQueryClientIds is now documented to return an array of 32-bit
    values, not an array of longs. The previous implementation allocated
    space for 32-bit values but read longs into that, overflowing the
    array. Applications using this were expecting 32-bit values.
    
    This "worked" on little endian 64-bit systems because only one value
    was typically provided and the low 32-bits got stuck in the right
    place, although the allocation was overrun at the end. That might
    cause trouble if the allocator is checking carefully.
    
    Signed-off-by: Keith Packard <keithp at keithp.com>



More information about the xorg-commit mailing list