xf86-video-xgi: Changes to 'master'

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Fri Jul 26 01:09:15 UTC 2024


 src/vb_struct.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 6e5981dafab4b7ada22aaa3baad401f70f71516a
Author: Enrico Weigelt, metux IT consult <info at metux.net>
Date:   Thu Jun 6 11:15:35 2024 +0200

    fix too small array in XGI_CRT1TableStruct
    
    > ../../src/init.c:553:13: warning: array index 16 is past the end of the array (which contains 15 elements) [-Warray-bounds]
    >      temp = XGI_Pr->XGINEWUB_CRT1Table[index].CR[16] & 0xE0;
    >             ^                                    ~~
    > ../../src/vb_struct.h:377:3: note: array 'CR' declared here
    >   UCHAR CR[15];
    >   ^
    > ../../src/init.c:556:15: warning: array index 16 is past the end of the array (which contains 15 elements) [-Warray-bounds]
    >      temp = ((XGI_Pr->XGINEWUB_CRT1Table[index].CR[16]) & 0x01) << 5;
    >               ^                                    ~~
    > ../../src/vb_struct.h:377:3: note: array 'CR' declared here
    >   UCHAR CR[15];
    >   ^
    
    Signed-off-by: Enrico Weigelt, metux IT consult <info at metux.net>
    Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-xgi/-/merge_requests/9>



More information about the xorg-commit mailing list