Commit 6bac272e authored by Ashay Jaiswal's avatar Ashay Jaiswal
Browse files

diag: Fix data corruption.



Diag uses krealloc for allocating memory if number of client exceeds 15 as
krealloc doesn't initialize memory to 0 resulting in corruption of data.
This fix initializes the memory after allocation.

CRs-Fixed: 347675
Change-Id: Ide504a18adc2e1fc282c5543ec77818f346e4015
Signed-off-by: default avatarAshay Jaiswal <ashayj@codeaurora.org>
parent 98f166d4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment