[patch] drm/gma500: double free in psbfb_create()

Alan Cox alan at linux.intel.com
Thu Mar 19 05:20:15 PDT 2015


On Thu, 2015-03-19 at 13:17 +0300, Dan Carpenter wrote:
> The psb_gtt_free_range() frees "backing" so calling it twice is a double
> free bug.  I have fixed this by removing the first call.
> 
> Fixes: 4d8d096e9ae8  ('gma500: introduce the framebuffer support code')
> Signed-off-by: Dan Carpenter <dan.carpenter at oracle.com>

#facepalm

Acked-by: Alan Cox <alan at linux.intel.com>




More information about the dri-devel mailing list