libXrender: Changes to 'master'

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Tue Nov 26 01:59:18 UTC 2024


 src/Xrender.c |    9 +++++++++
 1 file changed, 9 insertions(+)

New commits:
commit 432f2c85f0597f189f80fe80a67f00f7d10c930f
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Thu Nov 21 16:15:37 2024 -0800

    XRenderQueryFormats: add missing allocation failure check
    
    Most allocations in this function were already checked for failures,
    but the recently added set had been missed.
    
    Clears 6 warnings from gcc 14.2 of the form:
    Xrender.c:361:28: warning: dereference of possibly-NULL ‘format’ [CWE-690]
     [-Wanalyzer-possible-null-dereference]
      361 |         if (xri->format[nf].id == format)
          |             ~~~~~~~~~~~~~~~^~~
    
    Fixes: 01e7546 ("Ensure XRenderInfo pointers are appropriately aligned")
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
    Part-of: <https://gitlab.freedesktop.org/xorg/lib/libxrender/-/merge_requests/15>



More information about the xorg-commit mailing list