Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5240fbec authored by Masti, Narayanraddi's avatar Masti, Narayanraddi Committed by AnjaneeDevi Kapparapu
Browse files

prima: memset the command buffer in GetCommandBuffer routine

Currently command buffer returned by GetCommandBuffer routine is
not memset to zero. If all the fields are not populated, there
could be some stale entries which could result in crash.
This change set fixes the issue by setting command buffer to zero
before returning it to the caller.

Change-Id: I9b9120485ae2eef9d4f4cf04889998c3e2af1d9d
CRs-Fixed: 791618
parent 28b1e655
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment