[PATCH xserver 3/3] xfree86: Hook up colormaps and RandR 1.2 gamma code v5

Keith Packard keithp at keithp.com
Tue Jul 26 15:55:49 UTC 2016


Michel Dänzer <michel at daenzer.net> writes:

> +    if (randrp->palette_size != palette_size) {
> +        randrp->palette = reallocarray(randrp->palette, palette_size,
> +                                       sizeof(colors[0]));

Need error checking here.

Wow. Otherwise, this patch looks great to me. Thanks for fixing a
long-standing limitation in the server.

-- 
-keith
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 810 bytes
Desc: not available
URL: <https://lists.x.org/archives/xorg-devel/attachments/20160726/dbe227af/attachment.sig>


More information about the xorg-devel mailing list