[PATCH 1/2] dri2: Handle calloc() failure

Tiago Vignatti tiago.vignatti at nokia.com
Tue Apr 12 07:44:40 PDT 2011


On 04/12/2011 05:37 PM, ext ville.syrjala at nokia.com wrote:
> From: Ville Syrjälä<ville.syrjala at nokia.com>
>
> Don't access invalid memory if calloc() fails to allocate the buffers
> array.
>
> Signed-off-by: Ville Syrjälä<ville.syrjala at nokia.com>

Reviewed-by: Tiago Vignatti <tiago.vignatti at nokia.com>

     Tiago


More information about the xorg-devel mailing list