[PATCH] xrandr: calloc XRRModeInfo's passed to libXrandr.

Aaron Plattner aplattner at nvidia.com
Mon May 6 12:46:55 PDT 2013


On 05/02/2013 06:16 PM, Alan Coopersmith wrote:
> On 05/ 2/13 01:20 AM, Andy Ritger wrote:
>>
>> The "--newmode" commandline option initializes an XRRModeInfo and passes
>> it into XRRCreateMode().  calloc(3) it to avoid uninitialized fields.
>> For consistency, calloc(3) all the places where umode_t's (the wrapper
>> structure for XRRModeInfo) are allocated.
>>
>> Signed-off-by: Andy Ritger <aritger at nvidia.com>
>> Tested-by: Nikhil Mahale <nmahale at nvidia.com>
>
> Reviewed-by: Alan Coopersmith <alan.coopersmith at oracle.com>

Pushed to ssh://git.freedesktop.org/git/xorg/app/xrandr
    eb17ad8..ace5e2b  master -> master

-- 
Aaron


More information about the xorg-devel mailing list