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

Commit 19b6c71c authored by Mohit Aggarwal's avatar Mohit Aggarwal
Browse files

diag: Fix possible buffer overflow



Currently, while updating the real time vote
there is a possibility that index will go beyond
the array size which will lead to buffer overflow.
This patch rectifies the index checking to avoid
possible buffer overflow.

Change-Id: I71fa3698eacdcb2933dc388ca8571bb6f952becc
Signed-off-by: default avatarMohit Aggarwal <maggarwa@codeaurora.org>
parent c808da70
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