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

Skip to content
Commit 38231618 authored by Manoj Prabhu B's avatar Manoj Prabhu B
Browse files

diag: Sanitize the proc values against NUM_DIAG_MD_DEV



Sanitize the proc values against the maximum number of procs
to prevent possible out of bound issues and initialize the buffer
to prevent accessing uninitialized one.

Change-Id: I3ff65a6c6bab0a7d3967782269058ec017644ac8
Signed-off-by: default avatarManoj Prabhu B <bmanoj@codeaurora.org>
parent c77acc02
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