aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf
diff options
context:
space:
mode:
authorAleksei Gimbitskii <[email protected]>2019-04-23 15:04:09 +0300
committerZhenyu Wang <[email protected]>2019-04-25 15:34:00 +0800
commitd9420241d09bac6ba930d95963bd237ec9629db6 (patch)
treeeab456a2cfa63c597b35f855f875603a8b1cee80 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf
parent0cf8f58d0a340a2ac744f6e0e3402a89780ecf8b (diff)
drm/i915/gvt: Do not copy the uninitialized pointer from fb_info
In the code the memcpy() function copied uninitialized pointer in fb_info to dmabuf_obj->info. Later the pointer in dmabuf_obj->info will be initialized. To make the code aligned with requirements of the klocwork static code analyzer, the uninitialized pointer should be initialized before memcpy(). v2: - Initialize fb_info.obj in vgpu_get_plane_info(). (Colin Xu) This patch fixed the critical issue #632 reported by klockwork. Signed-off-by: Aleksei Gimbitskii <[email protected]> Cc: Zhenyu Wang <[email protected]> Cc: Zhi Wang <[email protected]> Cc: Colin Xu <[email protected]> Reviewed-by: Colin Xu <[email protected]> Signed-off-by: Zhenyu Wang <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf')
0 files changed, 0 insertions, 0 deletions