mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-02-27 10:30:38 +01:00
xlib: Enlarge array for new formats
Fixes a potential overflow in _cairo_xlib_display_get_xrender_format(). Caught by Coverity
This commit is contained in:
parent
b807b7a87a
commit
18bb4f50cf
1 changed files with 1 additions and 1 deletions
|
|
@ -83,7 +83,7 @@ struct _cairo_xlib_display {
|
|||
|
||||
int render_major;
|
||||
int render_minor;
|
||||
XRenderPictFormat *cached_xrender_formats[CAIRO_FORMAT_RGB30 + 1];
|
||||
XRenderPictFormat *cached_xrender_formats[CAIRO_FORMAT_RGBA128F + 1];
|
||||
|
||||
int force_precision;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue