[lkml]   [2019]   [Dec]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH][next] drm/i915: fix uninitialized pointer reads on pointers to and from
Quoting Colin King (2019-12-19 19:09:16)
> From: Colin Ian King <>
> Currently pointers to and from are not initialized and may contain
> garbage values. This will cause uninitialized pointer reads in the
> call to intel_frontbuffer_track and later checks to see if to and from
> are null. Fix this by ensuring to and from are initialized to NULL.
> Addresses-Coverity: ("Uninitialised pointer read)"
> Fixes: da42104f589d ("drm/i915: Hold reference to intel_frontbuffer as we track activity")
> Signed-off-by: Colin Ian King <>

Reviewed-by: Chris Wilson <>

 \ /
  Last update: 2019-12-19 20:43    [W:0.063 / U:4.356 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site